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 341149 - ImageMap filter scrolls rulers off-page
ImageMap filter scrolls rulers off-page
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
git master
Other Linux
: Normal trivial
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-05-09 16:27 UTC by Steve Kelem
Modified: 2006-06-23 12:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
move the rulers out of the scrolled window (4.15 KB, patch)
2006-05-16 13:05 UTC, Sven Neumann
needs-work Details | Review

Description Steve Kelem 2006-05-09 16:27:19 UTC
The rulers move out of view when scrolling.  It's important to be able to view the rulers at all times.
Comment 1 Sven Neumann 2006-05-10 07:56:58 UTC
Just a matter of setting up the widget hierarchy correcly. The rulers should not be in the scrolled window. A patch to fix this would be appreciated.
Comment 2 Sven Neumann 2006-05-16 13:05:28 UTC
Created attachment 65589 [details] [review]
move the rulers out of the scrolled window

The attached patch implements half of the required changes to fix this bug. With the patch applied, the rulers are moved out of the scrolled window. The numbers displayed on the rulers are bogus however. They need to be updated when the scroll adjustments change and when the size of the preview area changes.
Comment 3 Sven Neumann 2006-06-23 12:05:20 UTC
Oh well. Since noone else seems interested in completing the fix, I did it myself.

2006-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.[ch]: moved rulers out of the
	scrolled window and update them when the scroll adjustments
	change. Fixes bug #341149.

	* plug-ins/imagemap/imap_about.c
	* plug-ins/imagemap/imap_menu.c: unrelated cleanups.