[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gv] Page selector window does not show all page numbers

From: Markus Steinborn
Subject: Re: [bug-gv] Page selector window does not show all page numbers
Date: Tue, 20 May 2008 18:12:20 +0200 (CEST)
User-agent: Alpine 1.10 (LFD 962 2008-03-14)

On Tue, 20 May 2008, Bernhard R. Link wrote:

* Juha Takala <address@hidden> [080517]
At start, gv does dot display the page numbers in the left side window
intended for page selection.  Only after I move mouse in that window, the
page numbers become visible.

Another problem is that after page 1 + 5 + 523 + 1109 = 1638, the page
numbers will not be shown at all.  The pages are there, I can e.g. move to
the last page of document by <End> key.

I think this is basically a problem with the naive implemenentation variant
of scroll lists in Xt: You create a widget for the full list and just show
a specific part of it depending on some generic scrolling widget.
While this variant (which I *guess* is used here and responsible for this)
is the most easy to implement and has some elgance in design, it has the
serious problem that X window dimensions are 16 bit.

With this new information and some further test, I think you are right.

* Markus Steinborn <address@hidden> [080520]:

Works for me here.

A reminder of bug #18376 (clobbered page-scrolling list): "The gv RPM from OpenSuse installs a file /usr/share/X11/app-defaults/GV, which contains e. g. settings for a bigger font. These settings are just incompatible with gv 3.6.x. [...] With /usr/share/X11/app-defaults/GV from OpenSuse installed, you can examine this clobbering with other distributions, too."

As I was who posted that result anonymously and IIRR SuSE took the offending patch to gv 3.5.8 from Debian and Juha's gv were from debian derivates (this has been the reason why I pointed out that both systems Juha mentioned were debian derivates. Debian is known to patch the source quite a lot.) I suppose that that patch is contained in debian gv 3.6.x, too. It has the side effect of enlarging the fonts being used for the GUI, so with 16 bit dimensions less pages are enough to produce an overflow. This thoughts lead me to the idee of testing 4000 pages. Here are the results:

2000 pages are working here, 4000 pages are not working.

So you have guessed right, I assume. All is making sence now.

Greetings from Germany

Markus Steinborn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]