You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@andreasfelix Definitely better than before! It still happens when I double-wheelclick on the border between two tabs, though. Do you think this is can/should be fixed within the same PR?
Unfortunately I think this is a different Issue. I have highlighted the size of the GranitsWidgetsTab and logged the enter and leave events:
As one can see, the size of the GranitsWidgetsTab is slightly smaller than its visual size. This can also be seen at the event log: The signal get emitted when entering/leaving the blue highlighted area. When clicking on a Tab outside of this are, the signal gets directly passed to DynamicNotebook which leads to the restoring of the last closed tab.
I think this is related to the padding and border in the style sheet:
Conversation from elementary/granite#295:
@andreasfelix Definitely better than before! It still happens when I double-wheelclick on the border between two tabs, though. Do you think this is can/should be fixed within the same PR?
Originally posted by @jlnr in elementary/granite#295 (comment)
Unfortunately I think this is a different Issue. I have highlighted the size of the
GranitsWidgetsTab
and logged the enter and leave events:As one can see, the size of the
GranitsWidgetsTab
is slightly smaller than its visual size. This can also be seen at the event log: The signal get emitted when entering/leaving the blue highlighted area. When clicking on a Tab outside of this are, the signal gets directly passed toDynamicNotebook
which leads to the restoring of the last closed tab.I think this is related to the
padding
andborder
in the style sheet:stylesheet/elementary/gtk-3.0/gtk-widgets.css
Lines 1670 to 1688 in ec23fec
Maybe it could be solved by changing
notebook tab
tonotebook tab widgets grid
, so the padding is within theGtk.EventBox
.Originally posted by @andreasfelix in elementary/granite#295 (comment)
The text was updated successfully, but these errors were encountered: