First preview of Opera Dragonfly 1.1

Since Opera Dragonfly 1.0 was released we have been hard at work preparing the first point release. We are hoping to deliver this before the Oslo summer vacation period. The first fruits of this labour are available on the experimental path. If you are using Opera Next you will automatically get this version. If you are using the stable Opera version you will have to switch to this version manually. I recommend that you use a recent Opera 11.50 build to be able to test out the new features.

New features and improvements

It doesn’t seem like a long time since the previous release, but we’ve already packed in a number of improvements that we hope you will enjoy. These are work in progress so they may be unstyled, buggy, or not work at all. As we are releasing these features to allow you to experiment, we may change how these features work depending on feedback and how they feel to use in practice.

Upgraded search capabilities

We had an initial implementation of advanced multi-file search in Opera Dragonfly 1.0. We have replaced this with a much more powerful search feature for both DOM and JavaScript in Opera Dragonfly 1.1. The search feature has now moved to its own sidebar panel, and includes a number of advanced options. The styling is not complete yet, so although the next and previous buttons do work, they will be displayed rather strangely.

DOM search

The DOM search now searches all nodes, even if they are collapsed in the DOM view. This was requested by a large number of users, so we expect to see some dancing in the streets. We have also provided the functionality to allow you to search using either plain text (as in the previous version), regular expressions, CSS selectors, or XPath expressions. You can also ignore case when searching. The results will be shown in the side panel. Hovering over the results will highlight it in the page if visible, and clicking on it will take you to the element in the DOM view.

JavaScript search

JavaScript search is similar to DOM, except allows for searching via regular expressions or ignoring case. It is also possible to search in all files as in the previous advanced search. Every line will be shown in the side panel that has a hit that matches the search query, along with its line number. Cycling through the results will highlight the match in that line. When clicking on a search result it will scroll the source view to display the match, switching JavaScript files if needed. The match will be highlighted in the source file until you scroll the view.

Pseudo elements and classes

One limitation of Opera Dragonfly’s DOM inspector is that pseudo elements and some pseudo classes can not be displayed in the DOM or style inspector. This has now been fixed in 1.1.

Pseudo classes

Previously pseudo classes only showed in the style inspector if it matched when selecting the element. For example :hover would only show if you hovered the element when clicking in the page. It would not show if you clicked on the same element in the DOM view (and thus the element was not hovered). Now there is a drop down button in the styles section (currently without icon – this will be fixed for final) where you can enable which pseudo classes you want to see. If the option is enabled you will see the style rules that use that pseudo class. These can be disabled to avoid cluttering the view. The ::selection pseudo element can also be found in this menu, as it is somewhat special, as it can wrap many (partial) elements.

Pseudo elements

Pseudo elements could not be seen at all previously. Styles such as before and after, or first-letter were not visible at all, meaning debugging was a pain. Now the pseudo element will be displayed in the DOM and the matching rules will show in the style inspector when the pseudo element is selected. This is a really nice feature that I’ve wanted for quite a while, so I’m excited it is now included. As an example, try selected the drop cap in the second column of my Web Fonts Newspaper example. You should see something like the following:

Upgraded Web Storage and Widget Preferences panels

Opera Dragonfly 1.0 used two different styles for the Storage Inspector. The cookie inspector used the new layout and Web Storage used the older style. Now Web Storage and Widget Preferences have been fully modernised to be consistent with the cookie inspector. Try going to Remy Sharp’s Web Storage demo and give it a spin.

Restyled Error Log and Console

The Error Log has been given a facelift to optimise the layout. Each entry is tidier and takes up less space than the old version. The Console has been improved to avoid showing console.log messages twice, and to give visual emphasis to warn, info and error. The line numbers are also now shown in a more consistent manor with the rest of the application.

Bug, bugs and more bugs

We fixed the most critical P1 bugs for Opera Dragonfly, but there are always more to fix. We’ve prioritised the most important bugs and are in the process of working our way through them. A large number have already been squashed, and we have more in progress. Opera Dragonfly 1.1 should be more stable, leaner, and faster than the previous version. We’ve been hard at work testing and optimising the selectors used in Opera Dragonfly to improve the performance as much as possible. Just one stray slow selector in an app like Opera Dragonfly can have drastic effects on performance and responsiveness.

Change log

All the bug fixes and feature commits can be found in the commit log.

More to come

As well as more bug fixes, we will announce new features as they are ready. One such feature that will likely make it will be CSS line numbers for rules in the Style Inspector. That has just landed in Opera Presto and the Opera Dragonfly side should make it in time for the next release. This has probably been the most requested feature since Opera Dragonfly 1.0 was released.

I hope you enjoy playing with this release, and I’ll let you know when we have our next update on experimental.

Opera Dragonfly 1.0 emerges from its exuviaeFurther progress on Opera Dragonfly 1.1

Comments

Krio LythKriolyth Tuesday, June 14, 2011 8:42:33 PM

Sweet! yes
Don't forget to clean the app cache in "Preferences -> Advanced -> Storage" to get the updated version.

Daniel HendrycksDanielHendrycks Tuesday, June 14, 2011 8:47:33 PM

up

IllusionMH109th Tuesday, June 14, 2011 10:37:10 PM

Very nice changes!yes

But there are few problems:
1) if element with pseudo elements is empty - there is no way to see them.
Because <d1v id="box"></d1v> collapse to <d1v id="box"/>

One space can solve this problem smile
BTW it is possible to move pseudo elements to styles panel?

2) Some problems with styles with buttons in search field (in search tab) and filter field in Settings -> Keyboard shortcuts

P.S. Maybe somebody can help.
All color properties in styles are shown like rgb(RR,GG,BB) but not like #RRGGBB(e.g. background-color: rgb(17, 17, 17)wink
How to fix this?

d4rkn1ght Tuesday, June 14, 2011 11:30:32 PM

up

nahtanoj999 Wednesday, June 15, 2011 1:49:55 AM

New request: Turning on a pseudo-class can cause a rule to apply to the same element twice, such as setting the same color for 'a' and 'a:active'. Could it be made to only show that rule once?

Martin RauscherHades32 Wednesday, June 15, 2011 8:57:37 AM

I can't seem to get it. Deleted the web storage, set BOTH developer tools urls to https://dragonfly.opera.com/app/stp-1/experimental/ but when I go to "about" it still shows 1.0.

Maybe it's because it uses the German version?

Edit: Nope, also using https://dragonfly.opera.com/app/experimental/client-en.xml didn't help.

Edit2: Ah, ok, it IS working, it justs shows the old version number bigsmile

GreLI Wednesday, June 15, 2011 9:18:13 AM

Yesterday I found that you can view related CSS file by clicking its name near corresponding rule, but it is opened at start of file, and there is no way to search what you need, only by self.

David Storeydstorey Wednesday, June 15, 2011 10:50:14 AM

GreLI:This requires support for getting the line number through scope. We expect to get this in 11.50 before it is released.

David Storeydstorey Wednesday, June 15, 2011 10:51:13 AM

Originally posted by 109th:

2) Some problems with styles with buttons in search field (in search tab) and filter field in Settings -> Keyboard shortcuts


These are known issues. The styling is not complete yet.

ПавелGemorroj Wednesday, June 15, 2011 12:54:51 PM

Are there any plans in the near future refinement of network inspector?
Currently, because of it, anyway, I can not give up firebug.

IllusionMH109th Wednesday, June 15, 2011 1:03:04 PM

David, what about displayed color type (#hex,rgb,rgba)?
In older Opera versions(11.11, 11.01) color displays as #hex, but in 11.50 it is rgb.
As I see on screenshot in article above and in clean 11.50 on other PC - rgb is default.
It is possible to return default #hex display?

David Håsätherhzr Wednesday, June 15, 2011 1:12:24 PM

Originally posted by Gemorroj:

Are there any plans in the near future refinement of network inspector?

Yes, some parts will be refined (but not for this release). Is there anything specific you're referring to?

MyOpera team, please fix this!fearphage Wednesday, June 15, 2011 2:46:43 PM

Originally posted by GreLI:

Yesterday I found that you can view related CSS file by clicking its name near corresponding rule, but it is opened at start of file, and there is no way to search what you need, only by self.

I filed a similar issue relating to js errors in the error console (issue #84)

Glad to see things steadily progressing.

Are you working on adding more useful context menu functionality? I'd like to see "open in new tab" for resources.

David Storeydstorey Wednesday, June 15, 2011 4:34:10 PM

Originally posted by fearphage:

Are you working on adding more useful context menu functionality? I'd like to see "open in new tab" for resources.


We are open to suggestions. IF you've not filed one already, can you fill a feature request about the options you'd find useful?

BTW, how is the search by XPath and CSS working for you? I know it is something you've wanted for a while.

JanGen Wednesday, June 15, 2011 5:13:48 PM

Originally posted by dstorey:

We are open to suggestions.



What about:

- better tracking of ajax/XHR data, seperate tab in resources/network, and without need to enable track content (or enable it by default for XHR)

- support for DOM mutations
http://dev.opera.com/forums/topic/925011

Will the search also work for CSS files/rules?

metude Friday, June 17, 2011 12:33:20 PM

I found a nice addon for firebug. This should be add to dragonfly as a utility.
https://addons.mozilla.org/en-US/firefox/addon/pixel-perfect/

ПавелGemorroj Monday, June 20, 2011 10:33:49 AM

Originally posted by hzr:

Yes, some parts will be refined (but not for this release). Is there anything specific you're referring to?


For example, I need to always be the body of the response. And the body of the response could easily see without clicking "Get response body".
To log requests can be cleared.
To log requests to scroll down automatically.
To log requests can not be cleared when you click on the link.
To be able to view the data sent by POST.

IllusionMH109th Tuesday, June 21, 2011 1:24:35 PM

Originally posted by Haavard:

Presto 2.9
* Support in Core for providing the original source line for CSS rules, which will benefit future versions of Dragonfly



Nice smile

Originally posted by Gemorroj:

To log requests can be cleared.
To log requests to scroll down automatically.
To log requests can not be cleared when you click on the link.
To be able to view the data sent by POST.



It will be very useful. Hope these request will be implemented in DF (and third item will be optional)

Write a comment

New comments have been disabled for this post.