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 542396 - Clicking on a different tab doesn't update the scrollbar
Clicking on a different tab doesn't update the scrollbar
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Tabs
2.23.x
Other All
: Normal major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 551478 554789 554872 555654 558282 562642 563851 565611 565711 567479 568118 570589 571508 573606 581376 583894 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-07-10 16:57 UTC by adrysoft04
Modified: 2009-05-26 15:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
A little video that shows the bug (832.19 KB, video/ogg)
2008-07-26 17:29 UTC, Thomas van der Burgt
  Details
Patch to fix the bug (567 bytes, patch)
2009-01-12 12:03 UTC, Alberto Milone
none Details | Review

Description adrysoft04 2008-07-10 16:57:29 UTC
Please describe the problem:
ScrollBar isn't showed when open a new tab(impossible to scrolling)

The scrollbar return if refresh the tab

Steps to reproduce:
1.Open a folder with many file in a new tab
2. 
3. 


Actual results:


Expected results:


Does this happen every time?
Yes

Other information:
Comment 1 A. Walton 2008-07-11 07:33:27 UTC
Confirming: When switching between tabs, the container can "lose" the scrollbar, but it always shows up after initially creating a tab here.
Comment 2 Thomas van der Burgt 2008-07-26 17:29:01 UTC
Created attachment 115325 [details]
A little video  that shows the bug
Comment 3 Cosimo Cecchi 2008-09-09 23:17:31 UTC
*** Bug 551478 has been marked as a duplicate of this bug. ***
Comment 4 klange 2008-09-26 02:20:16 UTC
Problem persists post release of 2.24.
Seriously, this is a /massive/ bug.
Comment 5 Jacob Peddicord 2008-09-26 02:30:40 UTC
Downstream report available here:

https://bugs.launchpad.net/nautilus/+bug/251809
Comment 6 Cosimo Cecchi 2008-10-04 08:58:04 UTC
*** Bug 554872 has been marked as a duplicate of this bug. ***
Comment 7 Cosimo Cecchi 2008-10-04 08:58:46 UTC
*** Bug 554789 has been marked as a duplicate of this bug. ***
Comment 8 Cosimo Cecchi 2008-10-18 14:44:01 UTC
*** Bug 555654 has been marked as a duplicate of this bug. ***
Comment 9 Jack Deslippe 2008-10-24 18:13:00 UTC
This exists after the release of 2.24 in ubuntu 8.10 RC - this is really lame behaviour.  Since the original bug was reported in July, it'd be nice to get a fix out!
Comment 10 Artur Rona 2008-10-26 09:34:10 UTC
As though observe gnome's bugs, that a lot of bugs are exist in nexts releases of Ubuntu... 1 years or even though 2 years are too shortly time for fix some bugs.... lol!
Comment 11 A. Walton 2008-10-28 19:13:44 UTC
*** Bug 558282 has been marked as a duplicate of this bug. ***
Comment 12 Photon 2008-10-30 17:40:46 UTC
Bug still existent with Ubuntu 8.10 Final...
Comment 13 Jack Deslippe 2008-10-30 17:45:24 UTC
Confirmed - still exists in 8.10 Final.  Has any developer responded to this bug anywhere yet?  Is it on their radar?  
Comment 14 Christian Neumair 2008-10-31 21:55:11 UTC
I think it is very likely that the issue is related to the icon view bug 552880 covering Nautilus freezes on window resizes, which also has something to do with the scroll bar visibility.
Comment 15 Simon Morgan 2008-11-12 00:42:47 UTC
I'm also seeing this. Does this only happen under certain circumstances cause I'm amazed that this wasn't noticed/fixed earlier unless none of the developers bothered opening a new tab.
Comment 16 Jack Deslippe 2008-11-17 22:04:38 UTC
Hello. Is anyone out there working-on/looking-at this bug???  It has been reported many times at ubuntu's bugzilla.  Tabs in nautilus are useless with this bug present.  
Comment 17 A. Walton 2008-11-29 09:16:44 UTC
*** Bug 562642 has been marked as a duplicate of this bug. ***
Comment 18 A. Walton 2008-12-09 17:29:56 UTC
*** Bug 563851 has been marked as a duplicate of this bug. ***
Comment 19 Christophe Dumez 2008-12-24 18:17:08 UTC
How come this bug is not fixed yet? It has been reported quite a long time ago (and confirmed).

This bug is really annoying.
Comment 20 A. Walton 2008-12-26 19:42:32 UTC
*** Bug 565711 has been marked as a duplicate of this bug. ***
Comment 21 A. Walton 2008-12-26 19:43:18 UTC
*** Bug 565611 has been marked as a duplicate of this bug. ***
Comment 22 A. Walton 2009-01-12 12:01:36 UTC
*** Bug 567479 has been marked as a duplicate of this bug. ***
Comment 23 Alberto Milone 2009-01-12 12:03:08 UTC
Created attachment 126265 [details] [review]
Patch to fix the bug

This 3-lines patch solves the problem for me. Please review it.

If you think it needs a change or that there's a better way to do it, please
let me know and I'll change it
Comment 24 Luka Napotnik 2009-01-12 14:11:43 UTC
I can confirm that this patch fixes the scrollbar problem in nautilus 2.24
Comment 25 Artur Rona 2009-01-12 14:20:09 UTC
At long last! Now please release updated packages. 
Cheers for Alberto!
Comment 26 Alexander Larsson 2009-01-13 14:01:23 UTC
That patch is not really right. There is no reason we would need to create new GtkAdjustments for the GtkScrolledWindow, and that could possibly have other negative effects.

However, its a nice entry point into understanding whats really going wrong. I'll play with it some to see what i can figure out.
Comment 27 Alexander Larsson 2009-01-13 15:50:24 UTC
2009-01-13  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-icon-container.c:
        (get_icon_bounds_for_canvas_bounds):
	When calculating bounds, don't ignore visible but unmapped items, becase
	the root item is unmapped with the canvas, but we want to report the
	same bounds independently on the canvas mapped state.
	This caused problems when the canvas was unmapped due to being on an
	invisible notebook page navigation tabs case, causing the
	scrollbars to become invisible. (#542396)
Comment 28 A. Walton 2009-01-17 19:50:58 UTC
*** Bug 568118 has been marked as a duplicate of this bug. ***
Comment 29 Photon 2009-01-24 10:27:46 UTC
I don't know whether the patch was accepted and if so whether it was included in some packages, but today's update of intrepid (2.24.1-0ubuntu1 to 2.24.1-0ubuntu2) didn't solve the problem.
Comment 30 Cosimo Cecchi 2009-01-24 11:44:42 UTC
Patch is only in trunk, will be there in 2.26.
Comment 31 Alberto Milone 2009-01-24 12:15:53 UTC
Photon: the package for Ubuntu Intrepid contains a backported patch. Please use this bug report instead:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/251809
Comment 32 Photon 2009-01-24 12:50:54 UTC
Sorry, my mistake. In fact the update was the package from the proposed repo but I've forgot to restart Nautilus before testing. But now everything is working perfectly here. 
Comment 33 Cosimo Cecchi 2009-02-05 09:28:19 UTC
*** Bug 570589 has been marked as a duplicate of this bug. ***
Comment 34 A. Walton 2009-02-12 18:19:57 UTC
*** Bug 571508 has been marked as a duplicate of this bug. ***
Comment 35 Cosimo Cecchi 2009-03-02 16:35:35 UTC
*** Bug 573606 has been marked as a duplicate of this bug. ***
Comment 36 A. Walton 2009-05-04 21:29:36 UTC
*** Bug 581376 has been marked as a duplicate of this bug. ***
Comment 37 A. Walton 2009-05-26 15:05:35 UTC
*** Bug 583894 has been marked as a duplicate of this bug. ***