screengrab
screengrab copied to clipboard
snap to border functionality needs several improvements
The "snap to border" function is not working correctly in several ways, as mentioned in another issue.
Expected Behavior
- function to turn it off works
- tooltip provides clarity on function
- there's a shortcut to customize (or is even exposed)
- does nothing when there are no borders
- works correctly on all backgrounds
- the shortcut always works
Current Behavior
- can't be turned off
- tooltip is unhelpful ("Fit to edges only inside selected screen area")
- shortcut should be customizable
- works even when no borders are present
- does not work correctly on certain backgrounds
- sometimes the shortcut doesn't work (hard to reproduce consistently)
Steps to Reproduce (for bugs)
can't be turned off
- Click the Settings button
- Click the Advanced tab
- Uncheck "Fit to edges inside selected area"
- Open up pcmanfm-qt
- Select the Screen Area type
- Click New
- Select an area larger than the pcmanfm-qt window
- Hit space
- Note the selected area snaps to the border around the pcmanfm-qt window
works even when no borders are present
- Install a wallpaper with no borders
- Minimize all windows except screengrab
- Ensure "Fit to edges inside selected area" is selected in Advanced Settings
- Select the Screen Area type
- Click New
- Select an area
- Hit space
- Note that the selected area tries to snap to some non-existent border (often along one axis)
does not work correctly on certain backgrounds
- Run qterminal
- Do something like
ls -alh
so you have some text in the window - Run pcmanfm-qt
- Run screengrab
- Ensure "Fit to edges inside selected area" is selected in Advanced Settings
- Select the Screen Area type
- Click New
- Select an area larger than the pcmanfm-qt window
- Hit space
- Note the selected area snaps to some but not all four borders
System Information
- Distribution & Version: Lubuntu 19.10
- Kernel: 5.0.0
- Qt Version: 5.12.2
- libqtxdg Version: 3.3.1
- lxqt-build-tools Version: 0.6.0
- Package version: 1.101-1ubuntu1