CSS gradients, WebP, and Declarative UI
By Ruarí Ødegaardruario. Tuesday, March 15, 2011 9:54:17 AM
We decided to throw you a "fastball" and give you another snapshot with some really cool new Core features, including native WebP support (win!) and linear CSS gradients support (epic win!).
We also thought we would give you a little more information with regards to an obscure looking 'fix' included a couple of blog posts back mentioning Declarative UI. Declarative UI represents the future of dialogs and other native UI in Opera. Those of you who regularly sniff around in the contents of the Opera packages might know that our dialogs have been generated via a file called dialog.ini, which contains positions, sizes and other properties for many of the UI controls appearing in Opera. This is part of Opera's UI toolkit, Quick, and allows us to make dialogs appear similar across different platforms.
However, the format also has its limitations. Because it relies on absolute pixel values for the layout of the controls, it's easy to make mistakes when changing it. In addition, it's hard to adapt to different string sizes for different languages, changes in layout for a specific platform to get closer to platform guidelines, and dialogs with variable contents.
Because of these and other reasons that you'll hear more about in the future we’re moving towards a new format, written in YAML. The first dialog that you'll see that uses this format is the label properties dialog in Opera Mail (activated by right-clicking a label and selecting properties). If you use Opera Mail, please take a look at this dialog and report any problems you might have. And if you feel like taking a look under the hood, check out the dialogs.yaml file in your Opera package.
Known issues
WARNING: This is a development snapshot: It contains the latest changes, but may also have severe known issues, including crashes, and data loss situations. In fact, it may not work at all.
Download
We also thought we would give you a little more information with regards to an obscure looking 'fix' included a couple of blog posts back mentioning Declarative UI. Declarative UI represents the future of dialogs and other native UI in Opera. Those of you who regularly sniff around in the contents of the Opera packages might know that our dialogs have been generated via a file called dialog.ini, which contains positions, sizes and other properties for many of the UI controls appearing in Opera. This is part of Opera's UI toolkit, Quick, and allows us to make dialogs appear similar across different platforms.
However, the format also has its limitations. Because it relies on absolute pixel values for the layout of the controls, it's easy to make mistakes when changing it. In addition, it's hard to adapt to different string sizes for different languages, changes in layout for a specific platform to get closer to platform guidelines, and dialogs with variable contents.
Because of these and other reasons that you'll hear more about in the future we’re moving towards a new format, written in YAML. The first dialog that you'll see that uses this format is the label properties dialog in Opera Mail (activated by right-clicking a label and selecting properties). If you use Opera Mail, please take a look at this dialog and report any problems you might have. And if you feel like taking a look under the hood, check out the dialogs.yaml file in your Opera package.
Known issues
- If you have lots of labels, the dialog will appear with a vertical scrollbar to scroll the content
- Link not working on the Mac (Link is disabled for Speed Dial on the other platforms)
WARNING: This is a development snapshot: It contains the latest changes, but may also have severe known issues, including crashes, and data loss situations. In fact, it may not work at all.
Download
Changelog
Core
- CORE-1 (Missing support for SOCKS proxy): Still needs a UI but can be configured by opera:config#Proxy for now
- CORE-25395 (Partial CSS gradients support): Using the Opera -o- vendor prefix, Opera Presto supports: -o-linear-gradient() and -o-repeating-linear-gradient(), <gradient> is only supported in background and background-image, <gradient> is not supported in list-style-image and border-image
- CORE-32400 (Added native WebP support)
- CORE-36305 (Updates to Strings and translations)
- CORE-33382 (UserJS code not run in extensions if page does not include a script tag)
- CORE-34929 (Links in extension pages that try to open extension-internal urls in new windows don't work)
- CORE-35064 (The extension background process should be able to be reloaded correctly and without crashing)
- CORE-35180 (Crash on bottom aligned inline-block with unclosed, child paragraph)
- CORE-35209 (Extension pages should be allowed to navigate to other extension-internal pages via the location object)
- CORE-35248 (Extension-related windows with scriptless documents aren't closed when the extension is disabled)
- CORE-35350 (Widget Interface should be exposed on the user JS side of extensions)
- CORE-35492 (urlload/urlfinished events received in wrong order)
- CORE-35746 (Console object in Web Workers doesn't log anything to the error console)
- CORE-35898 (Tab urls exposed from extensions don't include the url's fragment identifier)
- CORE-36114 (Caret placement at line ends broken in contentEditable <pre> tags (wrapped lines case - causes problems in M2))
- CORE-36131 (Zooming in/out print preview for mail crashes Opera)
- CORE-36237 (The background process shouldn't be allowed to navigate away from the extension's index.html)
- Crash fixes
Desktop
- DSK-330050 (Crash on startup when dialogs appear before the main window): Further fix
- DSK-330700 (Don't use the logo finder if a Speed Dial has a reload frequency set)
- DSK-330722 (Reload the page to view plug-in content toolbar shown despite Flash being previously installed)
- DSK-330746 (Default searches are not preserved after upgrade)
- DSK-330771 (View-mode="minimized" for Speed Dial doesn't trigger 260x195 viewport)
- DSK-330802 (Find a better default level for ThumbnailLogoPadding)
- DSK-330852 (Speed Dial animations cause leak)
- DSK-330876 (Crash when sorting a mail view and then switching between mail views)




1 2 3 4 Next »
NicoHellbillyDeluxe # Tuesday, March 15, 2011 10:13:06 AM
Small typo: "Because of these and other reasons that you'll here more about in the future" -> must be "hear"
cousin333 # Tuesday, March 15, 2011 10:13:16 AM
Nice new features. WebP support in beta was expected after the Opera press release of SxSW.
lunatic001 # Tuesday, March 15, 2011 10:18:57 AM
Ruarí Ødegaardruario # Tuesday, March 15, 2011 10:19:20 AM
Originally posted by HellbillyDeluxe:
Yup, that was actually pointed out to me by a colleague before I made this snapshot live. Hmm ... I guess I forgot to update it.ouzowtfouzoWTF # Tuesday, March 15, 2011 10:20:59 AM
Robert MeijersRobert90 # Tuesday, March 15, 2011 10:22:16 AM
Does this mean the Known issues from the previous snapshot(s) are carried over? (most likely, because they aren't listed as fixed)
Ruarí Ødegaardruario # Tuesday, March 15, 2011 10:23:50 AM
Originally posted by Robert90:
No, not all of them but we are not maintaining a public list of all outstanding known issues.Malgalad # Tuesday, March 15, 2011 10:25:52 AM
Win7 x64.
adamthirnis # Tuesday, March 15, 2011 10:27:41 AM
Mod0528 # Tuesday, March 15, 2011 10:28:16 AM
Mascotmascot # Tuesday, March 15, 2011 10:39:17 AM
Ruarí Ødegaardruario # Tuesday, March 15, 2011 10:40:46 AM
Originally posted by adamthirnis:
use zoomSiddhartha # Tuesday, March 15, 2011 10:45:52 AM
ouzowtfouzoWTF # Tuesday, March 15, 2011 10:46:26 AM
(posted from Firefox now :/)
w7x64sp1
QuHno # Tuesday, March 15, 2011 10:48:06 AM
What? CORE1 is gone?
(going to set up a socks proxy)
BTW: What
kanstisama # Tuesday, March 15, 2011 10:49:02 AM
michaelmilliVanilli # Tuesday, March 15, 2011 10:49:41 AM
reverted back to 2040 and everything is fine.
pursanovd # Tuesday, March 15, 2011 10:50:40 AM
Good work Desktop Team!
Daniel HendrycksDanielHendrycks # Tuesday, March 15, 2011 10:50:49 AM
Loving the features and hoping for greater stability.
UtkarshUtkarsh1 # Tuesday, March 15, 2011 10:52:12 AM
I cannot connect to the Internet in this build. I connect via my University's proxy server with Authentication enabled. Whenever I try to browser Internet, Opera doesn't ask for authentication and just keeps displaying "Connecting to Server" and does nothing.
Please FIX this problem. I've tried clearing cache but the above mentioned problem remains in this build.
I've reverted back to the older Snapshot build now which works perfectly.
Long time Opera user here.
aiky # Tuesday, March 15, 2011 10:52:39 AM
Daniel HendrycksDanielHendrycks # Tuesday, March 15, 2011 10:58:13 AM
Originally posted by ouzowtf:
Reconfirmed. Win7 x64
Originally posted by desktopteam:
fresco # Tuesday, March 15, 2011 10:58:27 AM
The label properties dialog could use a minimum height. It has a minimum width that is pretty high though.
frogstomp # Tuesday, March 15, 2011 11:00:10 AM
http://desandro.com/articles/opera-logo-css/
Bill PBill_P # Tuesday, March 15, 2011 11:03:04 AM
update: Woa! they're in by bookmarks, that's why they're in the bar
A.shunshunyi # Tuesday, March 15, 2011 11:04:00 AM
Ruarí Ødegaardruario # Tuesday, March 15, 2011 11:04:19 AM
Originally posted by frogstomp:
That page is using vendor prefixes -moz- and -webkit-. Ours is -o- (see also the changelog entry above).If you change the -moz- prefixes in opera-logo-css.css to -o- it should work.
kersurk # Tuesday, March 15, 2011 11:06:43 AM
XenoAntaresXAntares # Tuesday, March 15, 2011 11:07:34 AM
porneL # Tuesday, March 15, 2011 11:10:53 AM
However, by the glitchy rendering and odd keyboard navigation behavior I presume you're still faking your own Cocoa controls instead of just using the real ones… Is it really too hard to convert your declarative UI to a "nib"?
Look of labels window is totally wrong — it mimicks Aqua buttons and dropdowns (which have wrong line height, BTW), but OS X has its own "textured"-style UI for building filtering rules (NSPredicateEditor), like Finder, Mail and everything with Smart Folders has.
Bill PBill_P # Tuesday, March 15, 2011 11:12:01 AM
MaximSailorMax # Tuesday, March 15, 2011 11:13:44 AM
https://addons.opera.com/addons/extensions/details/translator/
confirm?
ChrisSlamdex # Tuesday, March 15, 2011 11:23:54 AM
Originally posted by porneL:
Opera is a cross platform browser, yes?ClashCityRockerclashcityrocker # Tuesday, March 15, 2011 11:29:26 AM
Not 11.10 Alpha....
Ruarí Ødegaardruario # Tuesday, March 15, 2011 11:31:39 AM
Originally posted by clashcityrocker:
I wouldn't draw too much into that. This is still just a snapshot.Kamaleshkamalesh # Tuesday, March 15, 2011 11:32:37 AM
(OSX v10.6.6)
dracodraconair # Tuesday, March 15, 2011 11:34:36 AM
And still, fade in - fade out "Please keep comments" still use 100% one CPU core.
cascarudex # Tuesday, March 15, 2011 11:39:56 AM
Originally posted by ruario:
mrd # Tuesday, March 15, 2011 11:44:46 AM
I then disabled Opera Link, and re-enabled it to check 1. which account it was syncing to and 2. to see if the speed dial was being synced now.
I then opened a new tab and it crashed. Submitted one of the auto generated crashreports for it.
Also when I re-opened Opera after that, and attempted to come to *this* page, the page did not load; showing a blank page no matter how often I attempted a reload. Until I closed the tab and came back into the page using my speed dial for the DTT and clicking the link into this blog. Peculiar
mrd # Tuesday, March 15, 2011 11:47:05 AM
(though I still think we lose something with not having the full snapshot which shows you more of the page, at least showing roughly the first article but meh)
Martin RauscherHades32 # Tuesday, March 15, 2011 11:47:18 AM
porneL # Tuesday, March 15, 2011 11:55:03 AM
Originally posted by Slamdex:
IMHO it should be using the best UI possible on each platform, instead of portable UI that doesn't quite fit any of them (or doesn't fit any except reference one).
Portability ruins UIs. What is considered good UI design from Windows perspective looks lame on OS X and vice-versa.
And on top of that I just don't see why Opera's UI toolkit can't use Cocoa controls for the simple things like buttons, text boxes and dropdowns. Opera's fake-Aqua buttons aren't ported to other platforms, so why not replace bad-non-portable with good-non-portable?
Howking HeyingHowking # Tuesday, March 15, 2011 11:57:21 AM
http://www.youtube.com/watch?v=t023zGWGdbA
embed YouTube work
zoquete # Tuesday, March 15, 2011 11:57:39 AM
Make it the same way as "cofigure".
I have big problems with native skins: black addressbar background, redraw issues .... Could you test it? Did you make changes to skins?
kapsi # Tuesday, March 15, 2011 11:59:41 AM
Alexey KulakovAwkward # Tuesday, March 15, 2011 12:02:18 PM
Alexey KulakovAwkward # Tuesday, March 15, 2011 12:03:53 PM
Originally posted by zoquete:
The same. Windows native skin problem.
Rijk # Tuesday, March 15, 2011 12:09:59 PM
Originally posted by Howking:
Works fine here. Please add some details about your system, and see if installed extensions interfere etc.Rijk # Tuesday, March 15, 2011 12:13:33 PM
Originally posted by porneL:
Not feasible, that simply would mean no more Opera for Mac. I'm not a programmer so I will not comment on how 'easy' it is to use the native widgets.More useful would be specific comments about UI elements that could be done better, like the initial comment here about dropdown selectors for building filtering rules.
ChrisSlamdex # Tuesday, March 15, 2011 12:14:47 PM
Originally posted by porneL:
That's a tradeoff, now isn't it? Spend too much time on native UIs for tiny platforms, and you start losing money. You can't spend all your time rewriting the UI from scratch for every single platform.Originally posted by kapsi:
Beta, actually.