After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 98240 - "border-size" not working
"border-size" not working
Status: RESOLVED FIXED
Product: gnome-mag
Classification: Deprecated
Component: magnifier-utility
unspecified
Other Linux
: Low minor
: ---
Assigned To: bill.haneman
bill.haneman
AP4
: 137249 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-11-11 18:33 UTC by Adi Dascal
Modified: 2006-11-09 19:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make border size work and alter how border color work (12.68 KB, patch)
2006-09-22 18:22 UTC, Carlos Eduardo Rodrigues Diógenes
rejected Details | Review
this correct the issues introdudeced by the old patch and rework a little the gnome-mag code (18.65 KB, patch)
2006-11-07 18:19 UTC, Carlos Eduardo Rodrigues Diógenes
accepted-commit_now Details | Review

Description Adi Dascal 2002-11-11 18:33:55 UTC
"border-size" and "border-color" properties of the magnifier are not
warking at all.
If I launch

magnifier -v --border-size=10 --border-color=1024

there is no effect.
Comment 1 Calum Benson 2003-08-07 16:05:27 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 2 Calum Benson 2003-10-20 15:07:08 UTC
Oops... apologies for changing the priority, resetting to Normal and
adding AP4 whiteboard comment instead.
Comment 3 bill.haneman 2004-03-15 16:03:41 UTC
*** Bug 137249 has been marked as a duplicate of this bug. ***
Comment 4 bill.haneman 2004-04-08 21:06:54 UTC
border-color is now working, if border-size is > 0.  However border-size itself
is still not working.
Comment 5 bill.haneman 2004-04-08 21:07:56 UTC
lowering priority for now.
Comment 6 Calum Benson 2004-10-21 16:47:54 UTC
Apologies for spam-- ensuring Sun a11y team are cc'ed on all current a11y bugs.
 Filter on "SUN A11Y SPAM" to ignore.
Comment 7 Carlos Eduardo Rodrigues Diógenes 2006-09-22 18:22:41 UTC
Created attachment 73233 [details] [review]
Make border size work and alter how border color work
Comment 8 Carlos Eduardo Rodrigues Diógenes 2006-09-22 18:30:51 UTC
I forget to comment in the previous post the way the --border-color paramenter works.

Let's assume these bits:
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0|0|0|0|0|0|0|0|0|0|

If you want a blue border you must pass the value 255, the 8 lowest bits setted. A green border, you must pass the value 65280, all bits from 8 to 15 setted and a red border you must pass the value 16711680, all bits from 16 to 23 setted. If you want white you must pass the value 16777215, the sum of red, green and blue.
Comment 9 Carlos Eduardo Rodrigues Diógenes 2006-09-26 22:58:19 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.
Comment 10 Carlos Eduardo Rodrigues Diógenes 2006-11-07 13:44:52 UTC
Reopening bug, since this patch introduced some regressions.

Try call "#: ./control-cleint c" or "#: ./mag-test"

They doesn't work properly.
Comment 11 Carlos Eduardo Rodrigues Diógenes 2006-11-07 18:19:55 UTC
Created attachment 76160 [details] [review]
this correct the issues introdudeced by the old patch and rework a little the gnome-mag code

This new patch makes a new gtk_drawing_area to represent the border and remove the exposed_viewport, since the last is calculated from the border_size and now the border size is in a different object, so the zoom region viewport is the only viewport needed, because the exposed_viewport was used to clip the final image, that can't be drawed over the border.
Comment 12 Carlos Eduardo Rodrigues Diógenes 2006-11-09 19:53:41 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.