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

 
 

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

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

Submitted by:  Peter Fales <psfales>
Submitted on:  Thu 14 Aug 2008 08:02:08 PM UTC  
 
Category: Graphical User interfaceSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 3.6.6

(Jump to the original submission Jump to the original submission)

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

Bugfixed version has been released.

Markus Steinborn <msteinbo>
Project 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>
Project 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>
Project 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>
Project 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>
Project 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>

 

Attached Files
file #16905:  gv.patch added by msteinbo (18kB - 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
  • -unavailable- added by msteinbo (Posted a comment)
  • -unavailable- added by psfales (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 22 Mar 2009 09:14:03 AM UTCmsteinboOpen/ClosedOpen=>Closed
    Thu 01 Jan 2009 07:21:40 PM UTCmsteinboStatusIn Progress=>Fixed
    Tue 25 Nov 2008 07:33:22 AM UTCmsteinboStatusPostponed=>In Progress
      ReleaseNone=>3.6.6
    Sun 23 Nov 2008 04:52:39 PM UTCmsteinboAttached File-=>Added gv.patch, #16905
    Thu 18 Sep 2008 12:30:20 PM UTCmsteinboStatusNone=>Postponed

    Back to the top


    Powered by Savane 3.1-cleanup