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 864550 Details for
Bug 1066458
Evince reads selection rectangles outside of a list sometimes
[?]
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]
Get the selection rectangles at once
evince-3.8.3-grow-selection.patch (text/plain), 1.15 KB, created by
Marek Kašík
on 2014-02-18 13:16:01 UTC
(
hide
)
Description:
Get the selection rectangles at once
Filename:
MIME Type:
Creator:
Marek Kašík
Created:
2014-02-18 13:16:01 UTC
Size:
1.15 KB
patch
obsolete
>diff --git a/libview/ev-view.c b/libview/ev-view.c >index 74b2781..085c9e3 100644 >--- a/libview/ev-view.c >+++ b/libview/ev-view.c >@@ -6342,20 +6342,22 @@ merge_selection_region (EvView *view, > region = NULL; > } else { > gint num_rectangles = cairo_region_num_rectangles (region); >- GdkRectangle r; >+ GdkRectangle r1, r2; > > /* We need to make the damage region a little bigger > * because the edges of the old selection might change > */ >- cairo_region_get_rectangle (region, 0, &r); >- r.x -= 5; >- r.width = 5; >- cairo_region_union_rectangle (region, &r); >- >- cairo_region_get_rectangle (region, num_rectangles - 1, &r); >- r.x += r.width; >- r.width = 5; >- cairo_region_union_rectangle (region, &r); >+ cairo_region_get_rectangle (region, 0, &r1); >+ cairo_region_get_rectangle (region, num_rectangles - 1, &r2); >+ >+ r1.x -= 5; >+ r1.width = 5; >+ >+ r2.x += r2.width; >+ r2.width = 5; >+ >+ cairo_region_union_rectangle (region, &r1); >+ cairo_region_union_rectangle (region, &r2); > } > } else if (old_sel->covered_region) { > region = cairo_region_copy (old_sel->covered_region);
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 1066458
: 864550