bugGNU gv - Bugs: bug #24069, Table of Contents not displayed...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #24069: Table of Contents not displayed for large documents

Submitter:  Peter Fales <psfales>
Submitted:  Thu 14 Aug 2008 08:02:08 PM UTC
   
 
Category:  Graphical User interface Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  3.6.6

Jump to the original submission

Sun 22 Mar 2009 09:14:03 AM UTC, comment #6: 

Bugfixed version has been released.

Markus Steinborn <msteinbo>
Group administrator
Thu 01 Jan 2009 07:21:41 PM UTC, comment #5: 

Applied Bernhard's fix to CVS together with a small regression fix. See Changelog for more details.

In GNU gv 3.6.7 (and all of its prereleases this bug will be fixed.

The debugging output in Vlst.c is changed so it will only be pinted if and only if the option "--debug" is given at the command line.

Markus Steinborn <msteinbo>
Group administrator
Tue 25 Nov 2008 07:33:22 AM UTC, comment #4: 

Thank you for your feedback.

Well, the patch is work in progress and it still hvae to be debugged. There are minor bugs in the new code because I noticed the following bug caused by the patch:

If you are viweing a document with only a few pages (let's say four pages in order to give an example) and you switch to the last page, the page selection panel is scrolled down without any need by one element.

But my first impression is still that the patch looks good. Please let me know if you find other bugs caused by the patch. It will help deciding whether the patch is fit to be released or needs to be improved before releasing it.

Markus Steinborn <msteinbo>
Group administrator
Tue 25 Nov 2008 02:38:58 AM UTC, comment #3: 

Patch looks good here!   The only thing I noticed was an extraneous (I assume) debugging printf in Vlist.c


Peter Fales <psfales>
Sun 23 Nov 2008 04:52:39 PM UTC, comment #2: 

Attached is a patch by Bernhard R. Link

(file #16905)

Markus Steinborn <msteinbo>
Group administrator
Fri 15 Aug 2008 07:21:04 AM UTC, comment #1: 

Thank you for reporting this bug.

THe following text from Bernhard R. Link describes the reason:

--- behin citation ---
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 [...] is the most easy to implement and has some elgance in design, it has the serious problem that X window dimensions are 16 bit.
--- end citation ---

In other words: It is an overflow of the coordinates where the page numbers are displayed. That is easy to describe, but very hard to fix: One would have to reimplement the whole page number panel.

@everyone: Contributions of a new page panel code are very welcome. Until we find a contributor, the fix has to be postponed. I am not happy with that solution, ut I cannot code the code myself as a big knowledge of Xaw(3d) is required.

BTW: Up to 2184 pages are working for me, while 2185 pages and more are causing problems.

Markus Steinborn <msteinbo>
Group administrator
Thu 14 Aug 2008 08:02:08 PM UTC, original submission:  

If gv attempts to display a DSC structured PostScript file with more than about 2000 pages, the table of contents is not displayed correctly.   (The behavior is hard to describe, but typically only page "1" is shown in the list until "Next Page" and then "2" is also shown)

I've seen this in the official gv-3.6.3-2.fc8 package provided with  Fedora 8, the gv-3.6.3-3.fc9 provided with Fedora 9,  as well as a privately built-from-source version of 3.5.8 and 3.6.5.

I'll be happy to provide more details or run tests.  I've poked around a little with gdb, but since I don't know much about Xaw3d, it's hard to really understand what's going on.


Peter Fales <psfales>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #16905:  gv.patch added by msteinbo (18KiB - text/x-patch - Experimental patch by Bernhard R. Link)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by msteinbo (Posted a comment)
  • -email is unavailable- added by psfales (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-03-22 msteinbo Open/ClosedOpen Closed
    2009-01-01 msteinbo StatusIn Progress Fixed
    2008-11-25 msteinbo StatusPostponed In Progress
        ReleaseNone 3.6.6
    2008-11-23 msteinbo Attached File- Added gv.patch, #16905
    2008-09-18 msteinbo StatusNone Postponed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code