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 Aug 14 20:02:08 2008  
 
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 Mar 22 09:14:03 2009, comment #6:

Bugfixed version has been released.

Markus Steinborn <msteinbo>
Project Administrator
Thu Jan 1 19:21:41 2009, 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 Nov 25 07:33:22 2008, 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 Nov 25 02:38:58 2008, 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 Nov 23 16:52:39 2008, comment #2:

Attached is a patch by Bernhard R. Link

(file #16905)

Markus Steinborn <msteinbo>
Project Administrator
Fri Aug 15 07:21:04 2008, 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 Aug 14 20:02:08 2008, 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 Mar 22 09:14:03 2009msteinboOpen/ClosedOpen=>Closed
    Thu Jan 1 19:21:40 2009msteinboStatusIn Progress=>Fixed
    Tue Nov 25 07:33:22 2008msteinboStatusPostponed=>In Progress
      ReleaseNone=>3.6.6
    Sun Nov 23 16:52:39 2008msteinboAttached File-=>Added gv.patch, #16905
    Thu Sep 18 12:30:20 2008msteinboStatusNone=>Postponed

    Back to the top


    Powered by Savane 3.1-cleanup