Opera 10.53 beta - Skins, Sessions, File dialog, caption buttons

Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

8. May 2010, 14:41:40

Cyker

Posts: 69

Opera 10.53 beta - Skins, Sessions, File dialog, caption buttons

Hey all,

Recently gotten 10.53 and been playing with it; Got a few queries:

1) Skins - 10.53 has totally broken the skin I have been nursing from about Opera 5, so I've decided to remake it from the ground up and drag it kicking and screaming into the 21'st century bigsmile
It's taken me about 5 days and I've gotten it to a semi usable state, but there are many elements and icons which are still missing. Does anyone know of a definitive resource/reference/template for 10.53 which I can use?
I am currently using these two as my main source:
http://dev.opera.com/articles/view/opera-skinning-part-4-skin-ini-element/
http://homepage.hispeed.ch/ttt-o/guide/32full/list-fullvis.html
... Between them they have got most of the important sections, but they are either missing a few more niggly things or are confusing.
At the moment two things I'd like to know are
a) A definitive list of all icon/element things (Hard because most skins have loads of custom sections/icon names which are referenced by the skin (e.g. for cloning) but not by Opera so I don't know which ones are real 'Opera' elements and which are custom ones!)
b) What the heck section controls the title-bar (e.g. the Download manager or Restored windows - They have no titlebar in my skin and I can't figure out what section they're controlled by!)
c) The right-click context menu appears all corrupted (Black or random-freaky-stereogramness) in Linux but fine in Windows with the same skin; Anyone got any suggestions on what might cause this?

2) Sessions - In 10.10 and lower, my sessions saved the position and order of all my windows correctly, but in 10.53 it seems to forget them. The window sizes are correct, but the position is totally off (all squashed up the top of the screen instead of spread around) and the order seems to depend on which window I used last! Has anyone else experienced this?

3) File Dialog - When I click on e.g. Open or Save, I get a dialog box with a field for the filename and filetype but no file browser window! Halp!!

4) Caption buttons - I just got these working on the Windows side, but with the exact same skin in Linux they don't appear, and neither does the menu icon that normally appears to the left of the File menu. Any idea on how I can get these back?
They did appear with 10.10 (Well, after I turned them back on in Prefs->Advanced->Tabs->Additional), but have disappeared in 10.53-Linux. They do appear in 10.53 Windows tho'!!

8. May 2010, 15:38:09

Go here:

http://my.opera.com/desktopteam/blog/

Download the latest version (watch out, flash is dead in it ATM) and see if its different.

What distro/environment do you use?

8. May 2010, 16:24:36

Cyker

Posts: 69

I'll need to kludge up a new ebuild for that one before I can try it.
There is a fix related to sessions so hopefully it'll help with #2, but don't see anything re. #3.

I'm mainly concentrating on trying to fix the UI skin atm... got lots of ugly purple yellow and green bits where unskinned sections are falling back to my 'highlight' colours bigeyes bigsmile


Distro is Gentoo smile

8. May 2010, 19:19:14

Cyker

Posts: 69

Ha, turns out there was one!

Anyway, emerged it into the system, doesn't fix any of the problems.
Couldn't even load my session file into the current beta as it just freezes using up 100% CPU and I have to kill -9 it from a SSH session (It actually locks up the VNC server (!!) and normal kill doesn't work!)


I think 2 and 3 won't get fixed until Opera becomes stable.

As for 1 and 4, advice and suggestions from any skinning experts out there would be most welcome!! worried

8. May 2010, 21:12:13

movax

Posts: 51

2 (sessions) and 3 (file dialogs) works here fine. Opera 10.54 (6333), i386, debian unstable, GTK.

As of 2 (sessions) the only missing this is that Opera forgots that it was in maximized state. But position and size is correctly restored.

8. May 2010, 23:51:14

Cyker

Posts: 69

After about 8 hours of searching and testing I have finally found the answers to 1b and 1c!

HAHA!! TAKE THAT YOU #@£*%$£*$ UNDOCUMENTED ELEMENTS!! IN YOUR BYTES!!!

1b) Turns out the child window dialogs (e.g. restored windows, transfer and history etc. MDI windows) are controlled by a new and totally undocumented element. The only inkling I had of it was a mention of it here (and only here!) http://homepage.hispeed.ch/ttt-o/guide/32full/list-fullalpha.html where it is literally just a mention. Clicking on the hyperlink 404's, but at least I now know what it does!

[Restored Child Window Skin]
Type			= BoxStretch
Tile Center		= backgrounds/restoredmdiwindow.png
StretchBorder		= 3
Padding Top		= 0
Padding Right		= 3
Padding Bottom		= 3
Padding Left		= 3
Margin Top		= -1

[Restored Child Window Chrome Skin]
Type 			= BoxStretch
Tile Center 		= backgrounds/restoredmdiwindowtitle-unselected.png
StretchBorder 		= 5
Padding Left = 5
Padding Right = 5
Padding Top = 5
Padding Bottom = 2
Text Color = #C0C0C0

[Restored Child Window Chrome Skin.attention]
Clone                       = Restored Child Window Chrome Skin
Tile Center 	= backgrounds/restoredmdiwindowtitle-attention.png
Text Color = #000000

[Restored Child Window Chrome Skin.selected]
Clone                       = Restored Child Window Chrome Skin
Tile Center 	= backgrounds/restoredmdiwindowtitle-selected.png
Text Color = #FFFFFF


1c) This one was a total #@£$*&[.
It is another totally undocumented NEW element in 10.5 which apparently isn't used in Windows, which is why the right-click context menus work in Windows but only gave corrupted boxes in Linux.
[Popup Menu Skin]
Native	= 1

[Popup Menu Button Skin]
Native	= 1

[Popup Menu Button Skin.selected]
Clone	= Menu Button Skin.hover



Hopefully this will help people who were getting similar corruptions...!

Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD