After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 640604 - tabs not displayed correctly when they fill the screen
tabs not displayed correctly when they fill the screen
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkNotebook
2.99.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
[gnome3-important]
Depends on:
Blocks:
 
 
Reported: 2011-01-25 23:53 UTC by Emilio Pozuelo Monfort
Modified: 2011-03-04 21:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bug (53.79 KB, image/png)
2011-01-25 23:54 UTC, Emilio Pozuelo Monfort
Details

Description Emilio Pozuelo Monfort 2011-01-25 23:53:24 UTC
When a GtkNotebook gets enough tabs to need navigation arrows, the displayed tabs don't always fill the width. It's also possible to get no tab displayed, or to get a tab selected but not displayed, just by pressing ctrl+pgup / ctrl+pgdn.

An example of what I mean is shown in the screenshot.

I can reproduce this with Ephy and devhelp (that's all I've tried), and I've mentioned it in #epiphany and other people could reproduce it too.

23:37 <  garnacho> pochu: looks related to tabs size allocation, did you notice it just recently?
Comment 1 Emilio Pozuelo Monfort 2011-01-25 23:54:26 UTC
Created attachment 179343 [details]
bug

Here I have 12 tabs opened, but they are not shown.
Comment 2 Matthias Clasen 2011-01-28 13:51:58 UTC
Is this with 2.99.3, or with git ?

And do you get warnings on the commandline when it happens ?
Comment 3 Emilio Pozuelo Monfort 2011-02-20 11:05:59 UTC
I'm still getting this with 3.0.0.

I get a lot of warnings in epiphany, but they are probably unrelated, since this also happens with nautilus and I get no warnings there.

To reproduce:

launch nautilus or devhelp
hit ctrl+t many times, until the gtknotebook has scroll arrows
go to the last tab with ctrl+pgup, and then hit ctrl+pgdn
Comment 4 André Klapper 2011-03-03 21:16:20 UTC
[Removing GNOME3.0 target as decided in release-team meeting on March 03, 2011.
This report has an "important" categorisation for GNOME3.0 but is not considered a hard blocker. For querying use the corresponding whiteboard entry added.]
Comment 5 Dan Williams 2011-03-04 16:40:05 UTC
Using gtk 3.0.1 I can no longer reproduce this.  I used to get it all the time in gedit, but I can't seem to make it happen anymore.  In my case, there was a gap between the last visible tab and the right arrow that was just blank space; like the tabs simply weren't being sized correctly for the window width.
Comment 6 Matthias Clasen 2011-03-04 21:04:33 UTC
I hope this is finally fixed for good by

commit 2ccc6c0d603cd30b14aea01664a314cf5ed32236
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Thu Mar 3 18:26:09 2011 -0500

    GtkNotebooks: fix regressions from tab-pack removal