DN tab looking broken while dragging

Bug #1193658 reported by 982c80311320c1b
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Granite
New
Undecided
Unassigned
Midori Web Browser
New
Undecided
Unassigned

Bug Description

I'd expect it to keep it's look and not turn into a flat grey rectangle

Revision history for this message
982c80311320c1b (alexander-wilms) wrote :
Revision history for this message
Julián Unrrein (junrrein) wrote :

Is this specifig to the elementary theme?

If not , this would be a bug in Granite.

Revision history for this message
Danielle Foré (danrabbit) wrote :

I'm not 100% sure how this feature works, but once the tab is outside the tabbar it's not asking to be drawn as a tab. I believe that at this point it's a window and no longer a tab. I imagine the solution would be to set the gtkstyle class (in the tabbar widget) to ".dynamic-notebook .notebook tab" for this window, but I have no idea if that would actually work.

Changed in egtk:
status: New → Incomplete
Revision history for this message
Victor Martinez (victored) wrote :

I'm afraid this is a limitation inherited from Gtk.Notebook. The rounded corners in a Notebook tab are just "drawn" by the Gtk.Notebook itself. They are not actual widgets.

The only actual widgets are the inner contents of the tab, and that's the squared thing displayed during DnD operations.

We could fix this by re-implementing Notebook as a Gtk.StackSwitcher, which means we'd drop Gtk.Notebook as implementation base.

We should try to make this work happen in GTK+ before committing to a Granite implementation though.

no longer affects: egtk
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.