Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 292212 Details for
Bug 417461
xdvi - navigation with a space bar does not keep position
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
updated "keepflag" patch for xdvik
xdvik-22.84.13-keepflag.patch (text/plain), 2.73 KB, created by
Michal Jaegermann
on 2008-01-18 21:17:13 UTC
(
hide
)
Description:
updated "keepflag" patch for xdvik
Filename:
MIME Type:
Creator:
Michal Jaegermann
Created:
2008-01-18 21:17:13 UTC
Size:
2.73 KB
patch
obsolete
>--- xdvik-22.84.13/texk/xdvik/events.c.orig 2007-08-06 13:33:20.000000000 -0600 >+++ xdvik-22.84.13/texk/xdvik/events.c 2008-01-18 13:30:19.000000000 -0700 >@@ -700,10 +700,12 @@ home(wide_bool scrl) > { > int value; > >- value = (globals.page.w - mane.width) / 2; >- if (value > resource.sidemargin_int / mane.shrinkfactor) >- value = resource.sidemargin_int / mane.shrinkfactor; >- (void)set_bar_value(globals.widgets.x_bar, value, (int)(globals.page.w - mane.width)); >+ if (!resource.keep_flag) { >+ value = (globals.page.w - mane.width) / 2; >+ if (value > resource.sidemargin_int / mane.shrinkfactor) >+ value = resource.sidemargin_int / mane.shrinkfactor; >+ (void)set_bar_value(globals.widgets.x_bar, value, (int)(globals.page.w - mane.width)); >+ } > > value = (globals.page.h - mane.height) / 2; > if (value > resource.topmargin_int / mane.shrinkfactor) >@@ -712,7 +714,7 @@ home(wide_bool scrl) > } > # else > get_xy(); >- if (globals.widgets.x_bar != NULL) { >+ if (!resource.keep_flag && globals.widgets.x_bar != NULL) { > int coord = (globals.page.w - mane.width) / 2; > > if (coord > resource.sidemargin_int / mane.shrinkfactor) >@@ -749,16 +751,18 @@ home_bottom(wide_bool scrl) > { > int value; > >- value = (globals.page.w - mane.width) / 2; >- if (value > resource.sidemargin_int / mane.shrinkfactor) >- value = resource.sidemargin_int / mane.shrinkfactor; >- (void)set_bar_value(globals.widgets.x_bar, value, (int)(globals.page.w - mane.width)); >+ if (!resource.keep_flag) { >+ value = (globals.page.w - mane.width) / 2; >+ if (value > resource.sidemargin_int / mane.shrinkfactor) >+ value = resource.sidemargin_int / mane.shrinkfactor; >+ (void)set_bar_value(globals.widgets.x_bar, value, (int)(globals.page.w - mane.width)); >+ } > > (void)set_bar_value(globals.widgets.y_bar, (int)(globals.page.h - mane.height), (int)(globals.page.h - mane.height)); > } > #else /* MOTIF */ > get_xy(); >- if (globals.widgets.x_bar != NULL) { >+ if (!resource.keep_flag && globals.widgets.x_bar != NULL) { > int coord = (globals.page.w - mane.width) / 2; > > if (coord > resource.sidemargin_int / mane.shrinkfactor) >--- xdvik-22.84.13/texk/xdvik/xdvi.1.in.orig 2008-01-18 13:55:01.000000000 -0700 >+++ xdvik-22.84.13/texk/xdvik/xdvi.1.in 2008-01-18 13:55:35.000000000 -0700 >@@ -859,6 +859,14 @@ actions, not by > .B up-or-previous() > and > .BR down-or-next() . >+(Note: this version of the program is modified to honour this >+flag for >+.B up-or-previous() >+and >+.BR down-or-next() >+although only for a horizontal position and not vertical. That allows >+for a "continuous" scrolling back an forth through a document with >+a display window narrower than a page width.) > .\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" > .TP > .B \-l
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 417461
: 292212