SUMMARY Spectacle doesn't remember selected area when using background mode STEPS TO REPRODUCE 1. Open Spectacle main GUI 2. Configure -> General -> set Remember selected area to Always 3. Apply and quit Spectacle 4. Run `spectacle -bcr` to select and copy a region OBSERVED RESULT Next time when I screenshot a region, via regular GUI or still `spectacle -bcr`, the default selected region is not what I selected last time. EXPECTED RESULT `spectacle -bcr` should update the remembered selected region for next use. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.4 Kernel Version: 5.17.9-arch1-1 (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION
unfortunately, works for me. Spectacle 22.04.02 X11 Arch mind share more details? are you using multiple monitors?
Oh sorry, I just realised instead of `spectacle -bcr`, my keyboard shortcut actually fires `spectacle -bcri`. I changed this a while ago to work around https://bugs.kde.org/show_bug.cgi?id=414739#c5. I can confirm this issue does not happen without `-i`.
(In reply to Frederick Zhang from comment #2) > Oh sorry, I just realised instead of `spectacle -bcr`, my keyboard shortcut > actually fires `spectacle -bcri`. I changed this a while ago to work around > https://bugs.kde.org/show_bug.cgi?id=414739#c5. > > I can confirm this issue does not happen without `-i`. can confirm with `-i`. Will take a look into it
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/155
Git commit 1678cdb7df7bb205ce1df5cd92e7e0c953711f4d by Bharadwaj Raju. Committed on 03/10/2022 at 14:24. Pushed by bharadwaj-raju into branch 'master'. Make sure we save settings on exit even in new-instance mode Otherwise things like region won't be saved with spectacle -bcri for example. M +1 -0 src/Main.cpp https://invent.kde.org/graphics/spectacle/commit/1678cdb7df7bb205ce1df5cd92e7e0c953711f4d