Keep aspect ratio option inconsistent for "all displays"
If GNOME’s “Keep Aspect Ratio” option is enabled, it seems to have an inconsistent effect when the pen is mapped to “All Displays” (the whole desktop). It is not clear to me if the aspect ratio preference is supposed to be enforced or ignored while mapped to “All Displays”, but the current inconsistent behavior is definitely wrong. Either:
- If the preference should be enforced, then the code should be updated to always honor the preference.
- If the preference should be ignored, then it may be wise to either hide or disable the “Keep Aspect Ratio” control when the mapping is set to “All Displays”
Relevant information
- GNOME Settings version: 46.0.1-2
- Windowing System: Both X11 and Wayland
- Operating system (distribution): Arch Linux (updated today)
- Error message: None
Steps to reproduce:
PREREQUISITES:
- Connect an opaque tablet to the system (e.g. a Wacom Intuos)
- Ensure your desktop has an aspect ratio that is different from the tablet. If your system has only one monitor connected, you can simply change its resolution to something with a different ratio (e.g. 1600x1200 / 4:3 aspect ratio).
- Verify the tablet is mapped to the entire desktop
- Don’t trust what GNOME says its mapped to (see gnome-control-center#3016 (closed)). Either verify the setting in dconf or toggle the mapping to a single display and then back to “All Displays” and logout/login.
PROCEDURE
- Open GNOME’s tablet settings
- Open the Wacom Tablet panel
- Enable the “Keep Aspect Ratio” setting – QUESTION: Should this control be visible/enabled for "All Desktops"?
- Observe that the whole tablet is still mapped to the whole desktop – BUG: BEHAVIOR DOES NOT MATCH SETTING
- Change the “Map to Monitor” to one of the displays
- Observe that only a portion of the tablet is mapped to the desired display – CORRECT BEHAVIOR
- Change the “Map to Monitor” back to “All Displays”
- Observe that only a portion of the the tablet is mapped to the whole desktop – BEHAVIOR MATCHES SETTING NOW (?!?)
Edited by Peter Hutterer