-
Notifications
You must be signed in to change notification settings - Fork 19
GPII-4384: Fix Larger mouse pointer setting in QSS #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@javihernandez @amb26 This one is fixed based on the comment in the original task. You can take a look 🛩️ |
|
Could one of the admins verify that these changes are reasonable to test? If so, please reply with "ok to test". |
|
ok to test |
|
CI job passed: https://ci.gpii.net/job/gpii-app-tests/1155/ |
Ok, I see the problem here, I'll try to explain the reason behind the "visual bugs", which apparently only affects to the "Hand" cursor, but I may be wrong. In the QS, we tweak the generic term cursorSize to deal with the large mouse pointer. And it is mapped to a boolean setting (status) in the QS. Although neither the common term nor the application specific setting are booleans. The windows cursor themes (or schemes in MS language) support 3 sizes: normal, large, extra large. The default is normal. Although I can see that not all the cursor sizes are consistent, this is, some of them provide normal, large and extra large while others not. The common term has a value range from 0 to 1, and according to the ISO 24751, the recommended value (what we take as default) is 0.5. In the case of the "Hand" cursor, we're applying the following transformation: First, I'd say that this quantize transformation is not accurate because the default value in the app specific setting is the "normal", while the generic term's default value is 0.5 in a [0,1] range. I'm not sure what's the best way to proceed here, but for now, As a short-term solution, we can tell the QS to map off/on into 0/1, rather than 0.5/1. This way, the QS switches between windows normal size (<0.333 when transformed) and windows large size (>0.666). As a mid/long-term, I'd say that we can revisit the windows cursor schemes and update the SR according to it, although I'm not sure this will be consistent through the different versions of Windows. Maybe is worth waiting a bit until the LSR is implemented so we can support different versions of the same solution at the same time. @amb26, @the-t-in-rtf, what are your thoughts? |
|
Lets go with the short term solution - if the mouse is mapped to generic Don't hold up the 1.3.5 for this. We will just not use that button in the Case Studies. JUST BE SURE That the CAPTURE captures the setting properly from whatever it is set in windows. Thx |
|
@Karadaliev - please update for conflicts now we merged "Reset to standard" fix |
|
CI job passed: https://ci.gpii.net/job/gpii-app-tests/1174/ |
|
CI job failed: https://ci.gpii.net/job/gpii-app-tests/1175/ |
is it intermittent? ok to test |
|
Exit code 3221225477 is C0000005 or ACCESS_VIOLATION - we do get this from time to time (maybe 1 time in 20 or so) |
|
Perhaps it will go away with the electron 7 update : P |
|
CI job passed: https://ci.gpii.net/job/gpii-app-tests/1176/ |
Short-term fix for GPII-4384, see GPII#206 (comment)
|
Thx
gregg
———————————
Professor, University of Maryland, College Park
Director , Trace R&D Center, UMD
Co-Founder Raising the Floor. http://raisingthefloor.org
And the Global Public Inclusive Infrastructure (GPII) http://GPII.net
… On Jun 12, 2020, at 12:11 PM, Antranig Basman ***@***.***> wrote:
Merged #206 <#206> into master.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#206 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACNGDXUSU7PLTRIP3GBTRDTRWJHTVANCNFSM4NSMUERA>.
|
So, by just using the mapOn/mapOff options that we already created for the other mouse settings we can just send 0.5 and 1 instead of false and true.
Everything seems to work just fine, you can test it out.
Known issues: