Ask David Storey anything about Opera Dragonfly
By Espen André ØverdahlEspenAO. Wednesday, May 11, 2011 11:04:02 AM
Opera Tech Break is a series of interviews with Opera employees about browser and industry news.
Our next Tech Break episode will be all about the final release of Opera Dragonfly. To answer your questions, we have Mr. Chief Web Opener himself: David Storey.
Opera Dragonfly is a fully-featured debugging tool. It contains all the tools any developer needs to make it easier to develop web sites and applications. Opera Dragonfly 1.0 is included by default with the Opera browser. Launch Opera Dragonfly with Ctrl + Shift + I on Windows and Linux, or ⌘ + ⌥ + I on Mac.


Martin KadlecBS-Harou # Wednesday, May 11, 2011 11:14:01 AM
21: "What do you miss most in other dev. tools (like web inspector, firebug,etc..) what Opera Dragonfly has?"
MyOpera team, please fix this!fearphage # Wednesday, May 11, 2011 11:28:11 AM
Paweł Pawlakpafflick # Wednesday, May 11, 2011 11:32:28 AM
Originally posted by Mind-Influx:
I don't think so, Opera should have a built-in ftp client with possibility to edit & upload files to edit pages and save the changes, but it have nothing to do with the Dragonfly...
Mustafa OğuzinBusteR # Wednesday, May 11, 2011 11:33:54 AM
Tamil # Wednesday, May 11, 2011 11:36:55 AM
Michael Smithsimon-saint # Wednesday, May 11, 2011 11:38:02 AM
What I really miss in Dragonfly, what is - by my personal opinion - better in Firebug, is the possibility to copy a complete style behavior block (so I can paste it into my CSS).
Another nice feature is the highlighting what Firebug gives you, when you misspelled the behavior rule name or use a inappropriate value. Right now, Dragonfly will just kill and remove the whole block (perhaps with all made changes... #*$%).
One last idea: When I use Dragonfly and click back on the site, I'll sorta stay within Dragonfly - I can't operate the site, until I shut down Dragonfly. Maybe that's just me though...
But, overall I have to admit, that I very rarely used Dragonfly. Firebug was more convenient first, so I kept it.
Hopefully the new versions become more comfortable and I can stick with Opera for all business... :-)
Daniel HendrycksDanielHendrycks # Wednesday, May 11, 2011 11:41:29 AM
vegatripy # Wednesday, May 11, 2011 11:44:55 AM
Aleksandar Lekovalekov # Wednesday, May 11, 2011 11:45:21 AM
ouzowtfouzoWTF # Wednesday, May 11, 2011 11:45:56 AM
jamygolden # Wednesday, May 11, 2011 11:48:46 AM
Tamil # Wednesday, May 11, 2011 11:50:57 AM
Originally posted by vegatripy:
http://my.opera.com/dstorey/blog/opera-dragonflyPengePenge4 # Wednesday, May 11, 2011 12:00:47 PM
Originally posted by pafflick:
Documents-> right side -> Layout tab
Originally posted by jamygolden:
Info Panel
Shirish Kamathhellboy4ever # Wednesday, May 11, 2011 12:05:40 PM
Can we also have an easy way to supply a specific User Agent string to a website through Dragonfly and reload the page with any conditional/browser specific code the server might throw?
Also, a preview of how the page would look in a smaller screen (portable device/mobile browser) would be mighty helpful!
Thanks for the brilliant work you guys have put in so far!
Leoleo42 # Wednesday, May 11, 2011 12:16:11 PM
This, and this alone stays me away from using Dragonfly...
Everything else is great! Dragonfly has nice innovations ! But having a debugger that's not attached to the current tab display really doesn't make it...
Nastassja BengtssonAvantasia # Wednesday, May 11, 2011 12:39:30 PM
Do you actually believe that Dragonfly can compete and not surrender a position?
Raphaelleflowermountain # Wednesday, May 11, 2011 12:45:08 PM
The one thing I miss is simply the line number in the CSS file in the "Styles" tab, the way Firebug does it.
Kamen Naydenovpau4o # Wednesday, May 11, 2011 12:56:08 PM
Originally posted by flowermountain:
Line numbers will be great for next version.
Thank you for great job so far.
Swapnil RustagiSwapnil99pro # Wednesday, May 11, 2011 1:29:30 PM
Firebug development started in early 2006. Firebug currently stands at version 1.7. Versions 1.1 to 1.7 contain features requested in user feedback.
Opera dragonfly development started in mid-2008. Opera dragonfly currently stands at version 1.0. It's just the starting and version 1.0 is to collect user feedback and give some basic development tools. Later versions should respond to user feedback and implement features.
FavDjiXas # Wednesday, May 11, 2011 1:35:03 PM
MyOpera team, please fix this!fearphage # Wednesday, May 11, 2011 1:46:34 PM
Originally posted by ouzoWTF:
+1Originally posted by hellboy4ever:
+1marcioAlmada # Wednesday, May 11, 2011 4:29:58 PM
Is it possible to develop plugins for DragonFly?
Necroman # Wednesday, May 11, 2011 8:23:18 PM
It is happening to me sometimes, that something crazy happens on my site and I need to debug it, bud when I reload the page, it's lost... so that's why I would like to have reload-free JavaScript debugging
xeon0541 # Thursday, May 12, 2011 7:21:57 AM
2) add a filter function in drop down menu at javascript panel that allows filtering out unnecessary javascript files e.g. extension's js, jquery ect.
Paweł Pawlakpafflick # Thursday, May 12, 2011 8:20:52 AM
Originally posted by Penge4:
You clearly don't understand what I mean. I was talking about Google Chrome.
MyOpera team, please fix this!fearphage # Thursday, May 12, 2011 9:47:48 AM
Erik HauboldAltarius # Thursday, May 12, 2011 11:11:46 AM
Originally posted by pafflick:
no, he just said you, where you find for what you asked ("Is there a possibility to view dimensions of a specific element, like in the Google Chrome inspection tool? Sometimes it's very useful.")
Originally posted by hellboy4ever:
you'll find it under network->network options tab (the one on the right there), right at the bottom
Paweł Pawlakpafflick # Thursday, May 12, 2011 12:20:55 PM
Originally posted by Altarius:
No, I wasn't asking where to find the dimensions, because I already know where to find them. Maybe it's because of my bad English,
This is how it looks in Chrome: http://i53.tinypic.com/4fwlqv.png
And Opera: http://i52.tinypic.com/s5vcxg.png
Another question: "Is the right-mouse-button context menu (while editing an element) removed, or just disabled and I don't know how to enable it?"
Shirish Kamathhellboy4ever # Thursday, May 12, 2011 3:41:43 PM
Originally posted by Altarius:
Hi! I know about that
I'm looking for more specific UA options. Such as masking as any browser/any version of any browser out there.
Erik HauboldAltarius # Thursday, May 12, 2011 6:41:58 PM
Originally posted by hellboy4ever:
ah you mean some presets? yeah, i'd like them too
i'd like to know from the team, what big features are going to be in the next version.
David Håsätherhzr # Thursday, May 12, 2011 9:04:50 PM
Originally posted by pafflick:
The dimensions shown in the Chrome screenshot are offsetWidth and offsetHeight. These are available on the Layout tab in Dragonfly. You can see that Web Inspector also reports the height as 0 in the metrics cube.We did, for a brief period during the pre-releases, merge all side panels into one, but a majority of users disliked it.
David Håsätherhzr # Thursday, May 12, 2011 9:10:02 PM
Originally posted by Avantasia:
The main reason is that Firebug is what people are used to.I'm biased (I work on Dragonfly), but I wouldn't say that many features are better implemented in Firebug. Much of it is a matter of taste, and, as I mentioned, what you're used to.
IllusionMH109th # Thursday, May 12, 2011 10:00:09 PM
Originally posted by fearphage:
Try to "Undock into separate window" (top-right corner of DF) and place it how you want.
Originally posted by marcioAlmada:
You can read this Documentation Appendix C: Development
Originally posted by Avantasia:
IMO, if I use Opera to browse web I don't want switch to FF/Firebug(it's loading too long on my PC) every time when I want to look something. There are all features that I use in DF, so I don't need FB and I think that I'm not alone with this view
Cutting Spoonhellspork # Friday, May 13, 2011 1:22:26 AM
Kazuhito Kidachikazuhito # Friday, May 13, 2011 5:07:02 AM
margin:0
style panel shows like this:
margin-bottom:0px;
margin-left:0px;
margin-right:0px;
margin-top:0px;
Is there any way to confirm original declaration in the style panel?
Necroman # Friday, May 13, 2011 6:51:18 AM
margin-left:0px;
margin-right:0px;
margin-top:0px;
Paweł Pawlakpafflick # Friday, May 13, 2011 1:02:43 PM
Originally posted by hzr:
They disliked it, because it wasn't a good idea. And it's not a solution which I was asking for...
BTW. It's good that Dragonfly, which was the slowest inspection tool, now become the fastest one...
Kazuhito Kidachikazuhito # Friday, May 13, 2011 9:53:15 PM
Originally posted by Necroman:
Yes, I do know that, but I just want to see "original" shorthand declaration in the style panel.
Tiago Wakabayashiozoratsubasa # Saturday, May 14, 2011 1:12:48 AM
I am a normal user, only use it for get some pics which with the "save image..." I don't get. In "resource" tab, I take a little time to get what I want, but I think it would be easier if something like the Chrome "Dragonfly" format, which organizes the images in other files in folders, at least become it a panel
Julianjjsl6 # Sunday, May 15, 2011 5:06:21 PM
MyOpera team, please fix this!fearphage # Sunday, May 15, 2011 7:29:44 PM
Farflungfarflung # Tuesday, May 17, 2011 12:45:39 PM
comments,it somehow brought me back to my original Q.
HenryAOTEAROAnz # Monday, May 23, 2011 3:40:09 PM
mogmios # Friday, May 27, 2011 12:02:33 AM
Something that I often feel is missing from Firebug is a better explanation on what factors are influencing an element. The other day I spent forever digging through HTML and CSS trying to figure out why an element had moved down and finally saw that I'd somehow made a paragraph tag in the code when I'd deleted out a large chunk.
PeiRiesling # Friday, May 27, 2011 1:31:21 PM
Opera Tech Break: Opera Dragonfly Eats Bugs
http://my.opera.com/chooseopera/blog/2011/05/27/everything-you-wanted-to-know-about-opera-dragonfly
MyOpera team, please fix this!fearphage # Friday, July 1, 2011 3:34:33 PM
PeiRiesling # Thursday, July 14, 2011 11:01:28 AM
Originally posted by fearphage:
I don't think David said that in the video, however if you have some feedback, try Dragonfly blog: http://my.opera.com/dragonfly/blog/ or ODIN blog: http://my.opera.com/ODIN/blog/
David Storeydstorey # Sunday, August 7, 2011 10:26:34 PM
For me personally, it would probably be the folding of individual properties to shorthands in the CSS Inspector. Showing invalid rules there would also be nice. On the tools level, a profiler is the main tool we lack right now, but work is already underway on that.
* "What do you miss most in other dev. tools (like web inspector, firebug,etc..) what Opera Dragonfly has?"
The way the side panels are organised (in one panel with expanders) in Web Inspector frustrates me. I also sorely miss the searching and filtering support that Opera Dragonfly has. It is so convenient when you're used to using it. Especially with Opera 1.1, I think we have by far the best support for finding what you're looking for. Another thing would be the built in colour tools. When developing on mobile, the remote debugging feature is invaluable.
*are there plans javascript profiling and integration with Google Page Speed and/or YSlow?
Yes, we're currently building support in Scope for profiling.
* are there plans for an always-on mode (no need to refresh to get any information) for DF?
No concrete plans yet, but we want to solve the reload issue eventually.
* has any DF code in 1.0 come from non-employees currently?
Yes. There has been some checkins that have passed code review and been included.
* Any plans to move or at least duplicate/syndicate bitbucket to github to get more exposure and community contributions?
No concrete plans yet, but we are open to it.
* any plans to make DF more easily extensible? By that I mean, will we see DF extensions or something similar one day?
We've discussed it, and it is something we want to do, but it isn't on the immediate roadmap. There are a few things we want to do first like adding the profiler and polish up the features we currently have.
* Is there a possibility to view dimensions of a specific element, like in the Google Chrome inspection tool? Sometimes it's very useful.
You can find this in the Layout tab of the Documents panel.
* Is there any specific things in the next releases? Will Dragonfly support plugins (Firebug extensions) or macro/scripting to automate some actions.
You can follow updates to the never version on the Opera Dragonfly blog: http://my.opera.com/dragonfly/ . Its a bit too early to talk about Opera Dragonfly 1.2 right now, but the profiler will be the most notable new addition.
* When I use Dragonfly and click back on the site, I'll sorta stay within Dragonfly - I can't operate the site, until I shut down Dragonfly. Maybe that's just me though...
There is a button with an arrow icon in the Documents panel toolbar. If you disable this the element selection is disabled.
* What was the largest speed optimisation made, in Dragonfly?
Most likely, it was to optimise the use of selectors. Using a bad selector can have a drastic impact on performance. Using classes for example speeds things up by an order of magnitude.
* What tools, if any, did you use to measure the time it took Opera to render or parse a file used in Dragonfly?
We made some performance tests such as http://scope.bitbucket.org/tests/selector-pattern-matching-performance/index.html and http://scope.bitbucket.org/tests/js-highlight-performance/index.html for testing performance.
* Is it one of your intentions for Dragonfly to be Opera's Page source viewer?
The first stage would be making Opera Dragonfly good enough to replace the source viewer. When we support everything that does, like editing the source and reloading from cache, then we can weight it up. The error log is probably the first place to think about replacing the native version, as Opera Dragonfly is probably better than the built in version. It just needs access to errors before Opera Dragonfly was open, which will come in Opera 12. It is already implemented on the Opera Dragonfly side. There has been no decision if this will happen however.
* Why did you named it "dragonfly"? what's the point? ;P
We liked the name. It sounded good, they're beautiful creatures that are popular in a number of countries, and they're powerful predators that feast on some of the worlds most deadly bugs such as mosquitos.
* Is it possible to see the total page size? I would imagine it would be in under the Resources tab but I can't seem to find it anywhere.
It can be found when hovering the first resource in the Network inspector. Expect a better Network Inspector in a future version however. We still have a bunch of work to go.
* Can we have Dragonfly open just in one tab (the one being inspected), without showing up in the other tabs?
We need multi-client support in the Scope protocol for this. It is quite complex to fix. IT is on our list though.
* Can we also have an easy way to supply a specific User Agent string to a website through Dragonfly and reload the page with any conditional/browser specific code the server might throw?
You can do this in the Network Options of the Network panel. You can choose from a preset or supply your own.
* Also, a preview of how the page would look in a smaller screen (portable device/mobile browser) would be mighty helpful!
For things like media queries you can resize the screen smaller, but for the most accurate results it is best to test in the real thing. Using the Opera Mobile emulator (really a port of Opera Mobile to desktop OS') is the closest you're going to get without using the actual device. You can use Opera Dragonfly to remotely debug Opera Mobile or the emulator. See http://www.opera.com/developer/tools/mobile/
* The one thing I miss is simply the line number in the CSS file in the "Styles" tab, the way Firebug does it.
This is now supported in Opera Dragonfly 1.1, which is coming out soon.
* But will it blend?
Software is too soft to blend, sorry.
* How about an FTP solution for opera DrangonFly?
This isn't something we've thought about.
* Any plans for a vertical layout? (See Widerbug)
Yes. The Opera Dragonfly code is more or less ready for being used in a vertical layout. It just needs some design tweaks to optimise it and make it look good. It needs support from desktop however to make Dragonfly work in a panel or sidebar. We've discussed this internally.
* Does the Dragonfly roadmap include more import/export tools?
We've discussed this yes, such as HAR for example. There are a few things we need to get done first though.
* Is there any way to confirm original declaration in the style panel?
It shows the CSS after it has been parsed by Opera. We plan to collapse the rules to shorthands, probably with an initial implementation in Opera Dragonfly 1.2. You can see the original rules in the Resource Inspector.
* Is there a way to keep the screenshots Dragonfly takes? I'd like a history of the screenshots I've used and the ability to manually save them.
Not yet. That would require FileWriter, which Opera doesn't support yet. The screenshot is for use with the colour picker rather than an actual screenshot tool. We've discussed enhancing it to support the thigs you'd want with a good screen shot tool though.
maxart # Tuesday, August 9, 2011 9:40:18 AM
Or maybe offering some sort of whitelist inside persistent storage (so that it is possible to "Clear All", except those in the said whitelist)?