GNOME Bugzilla – Bug 419823
Tab width jumps in size when tabs begin to overflow the window
Last modified: 2007-10-03 07:15:16 UTC
Scenario: I have several tabs open in a window. The tabs titles don't overflow the window width, but the space remaining is smaller than one tab. I open a new tab by CTRL-clicking a link. The already open tabs jump and expand, and the new tab is off-screen. This is quite disorientating. When I go to click on the new tab I opened, I move the mouse pointer to the empty space to the right of the tab titles, because that's where I expect the new tab will be. But that's the tab I'm currently on. Screenshot to follow.
Created attachment 84834 [details] screenshot of the problem This is two screenshots showing before and after.
Is it still reproducible with 2.18.x or later?
Cyril: yes it's reproducible, but I don't know if this is due to GTK+ or Epiphany. One solution would be to make the notebook scroll other tabs so that the first is hidden to make space for the last one. Christian, what's your opinion on this?
This is caused by the scroll arrows appearing. On the Nth tab added, the tab label width is more than the remaining area, so the notebook only shows N-1 tabs, and those tab labels are expanded. I don't think we can do anything about that. What we need to do however is to make sure the new tab is shown in the notebook (unless it's too far away from the active tab of course). I don't think there are GtkNotebook functions available for this; so this would need some gtk API addition.
I'm marking this as a duplicate of bug #300537, as they describe exactly the same problem. *** This bug has been marked as a duplicate of 300537 ***