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 165022 - Help browser doesn't remember scrolled position
Help browser doesn't remember scrolled position
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.2.x
Other All
: Normal enhancement
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-01-23 21:23 UTC by Ari Pollak
Modified: 2008-01-15 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ari Pollak 2005-01-23 21:23:55 UTC
Translated from Debian bug report http://bugs.debian.org/291679

When navigating between pages in the built-in helpbrowser, the position on each
page is not remembered, so clicking the Back button goes to the top of the last
page, not the last position.

Other information:
Comment 1 Sven Neumann 2005-01-23 21:29:19 UTC
Hmm, this used to work at some point...
Comment 2 Sven Neumann 2005-02-18 22:27:24 UTC
The link to the debian bug report seems wrong and I cannot reproduce the
problem. Would be interesting to know what version of gtkhtml was being used
here. Setting to NEEDINFO.
Comment 3 Ari Pollak 2005-02-18 23:42:36 UTC
whoops, here is the correct bug URL: http://bugs.debian.org/291769, though I'm
not sure that will give you much more information.

I can reproduce this using gtkhtml 2.6.3.
Comment 4 Sven Neumann 2005-02-18 23:51:43 UTC
Since we are both using Debian, we are probably both using the same version of
gtkhtml2. Still, I can't reproduce the problem. Perhaps you can give a more
detailed description on how to reproduce it?
Comment 5 Ari Pollak 2005-02-19 00:05:10 UTC
Sure.
1. Open the help browser to the front contents page
2. scroll down a bit, let's say to "5. Menus".
3. Click on the "5. Menus" link
4. Click the "Back" button at the top of the helpbrowser
5. Note how the scrolled position is now at the top of the page, instead of at
"5. Menus" where it was before.
Comment 6 Ari Pollak 2005-02-19 00:06:08 UTC
I should note that nearly all web browsers don't exhibit this behavior, but
rather they remember the scrolled positions of the previously viewed pages in
the browser "Back" history.
Comment 7 Sven Neumann 2005-02-19 00:24:36 UTC
Ah, now I understand your bug report. The help-browser does remember the anchors
you jump to but it doesn't rememeber the scroll offset you came from. I will
mark this an enhancement request for GIMP 2.4.
Comment 8 Sven Neumann 2005-03-23 17:57:08 UTC
Adding the position on the page to the browser's history should be an easy fix.
Comment 9 Sven Neumann 2005-05-26 17:14:35 UTC
Fixed in the HEAD branch. I don't plan to backport this change to 2.2; closing
as FIXED.

2005-05-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/queue.[ch]: store the scroll offset in the
	history and set it when using the Back and Forward actions. Fixes
	bug #165022.