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 59186 - Delays in tab listing refresh during page switch
Delays in tab listing refresh during page switch
Status: RESOLVED OBSOLETE
Product: galeon
Classification: Deprecated
Component: general
0.x
Other Linux
: Low normal
: ---
Assigned To: Daniel Erat
Daniel Erat
: 79626 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-08-18 00:46 UTC by Daniel Erat
Modified: 2003-09-10 20:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a tabswitching trace (16.06 KB, text/plain)
2001-10-20 20:15 UTC, Jorn Baayen
Details

Description Daniel Erat 2001-08-18 00:46:33 UTC
Sometimes, usually after Galeon's been running for a while, I'll notice
that tab switching has become very slow.  When I click on a tab, the
contents of the page (i.e. the gtkmozembed) get shown immediately, but the
tab listing takes a while (up to half a second or more, sometimes) before
it's redrawn to show which tab is currently selected.

I've been unable to track down the cause of this.  I can't reproduce it at
will, even when I notice the problem, save the session, and then later load
the session.  From the use of debugging printf statements, it appears that
the pause is NOT taking place in window_notebook_switch_page_cb().

I'm using libgtk 1.2.10, and this has been around for at least several
months.  I'll try to investigate this further.  If anyone finds a reliable
way to reproduce it, please let me know.
Comment 1 Daniel Erat 2001-08-23 01:55:34 UTC
As a followup, I'm pretty sure that this must be a bug in the
GtkNotebook widget.  The last time I saw the behavior, I opened a new
window and created a few tabs in it.  The switching in the new window
was normal, but the delays still persisted in the original window
(which implies to me that this is not caused by Mozilla or Galeon
code).  After I closed all but two of the tabs in the original window,
it went back to normal.  I'm not looking forward to trying to find out
why this is happening...
Comment 2 Ricardo Fernández Pascual 2001-08-23 10:34:31 UTC
I see this behaviour sometimes too. I thought it was some problem with
mozilla, but the GtkNotebook explanation sounds better.
Comment 3 Daniel Erat 2001-08-26 18:14:15 UTC
I'm even more convinced that this is a GTK-related problem now. 
Yesterday, I was able to scroll up and down in the mozembed that I was
switching to before the tab display update finished, so it would
appear to me that this is not a bug in Mozilla or in Galeon's page
switch callback.

Since I've never seen any sort of switching delay in other programs
that use a GtkNotebook, I'm thinking that this might be somehow
related to the way that we're packing an hbox containing a label and a
button into each tab, instead of just packing a label (like every
other application does).  I think this might be a no-no, especially
because the closebutton has its own GdkWindow.  I'll ask about this
soon on a GTK mailing list to see if this could be the cause of the
problem.

Oh, and to clarify, the delay seems to show up after a lot of tabs
have been created/destroyed, not after Galeon has been running for a
long time.
Comment 4 Yanko Kaneti 2001-08-26 18:19:03 UTC
> Oh, and to clarify, the delay seems to show up after a lot of tabs
> have been created/destroyed, not after Galeon has been running for a
> long time.


this sounds like a candidate for some automated testing attempt
Comment 5 Daniel Erat 2001-08-27 20:18:15 UTC
Hmm, this still shows up when I comment out the code that puts the
hbox and closebutton into the tab, so only the label is being put
there.  Now I'm really confused. :(
Comment 6 Jorn Baayen 2001-10-20 20:15:26 UTC
Created attachment 5883 [details]
a tabswitching trace
Comment 7 Daniel Erat 2002-02-17 00:51:09 UTC
Oh well, there's nothing we can do about this from our end, I guess.
Comment 8 Daniel Erat 2002-06-30 21:06:49 UTC
*** Bug 79626 has been marked as a duplicate of this bug. ***
Comment 9 Daniel Erat 2002-06-30 21:08:52 UTC
Can someone using Galeon 2 state whether this is still a problem or not?
Comment 10 Crispin Flowerday (not receiving bugmail) 2003-09-10 20:19:07 UTC
I havn't seen this in galeon 1.3, and galeon 1.2 is no longer
supported for bug fixes. If this is still reproducable in galeon 1.3
then please reopen the bug.