Bug 435030 - Set the default device
Summary: Set the default device
Status: RESOLVED FIXED
Alias: None
Product: Skanlite
Classification: Applications
Component: general (show other bugs)
Version: 2.2.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kåre Särs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-27 17:59 UTC by 0BADC0DE
Modified: 2021-09-20 15:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 21.12


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 0BADC0DE 2021-03-27 17:59:53 UTC
SUMMARY
I think that most users only have a single scanning device.
The application asks for a device selection at the start but then it is forgotten at the application termination.

STEPS TO REPRODUCE
1. start skanlite and select a device
2. do a scan, save and terminate
3. start skanlite again

OBSERVED RESULT
A new selection device dialog is shown and no action is possible without selecting one.


EXPECTED RESULT
A setting to select the default one, a button to rescan and choose a new device.

WORKAROUND
Create a launcher in the menu with the -d option

SOFTWARE/OS VERSIONS
KDE Plasma Version:  5
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
n/a
Comment 1 Bug Janitor Service 2021-09-08 16:46:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/skanlite/-/merge_requests/18
Comment 2 0BADC0DE 2021-09-09 09:54:08 UTC
I think it's not relevant.
It adds the ability to select the device from inside the application, but I don't see any "save as default".
Comment 3 Alexander Stippich 2021-09-09 15:56:17 UTC
It automatically remembers the last used device and opens it upon next launch
Comment 4 0BADC0DE 2021-09-09 16:01:55 UTC
Cool! Looking forward to test it!
Comment 5 Alexander Stippich 2021-09-20 09:49:51 UTC
Git commit fbe34a8aa1433b26ee4d7604a5246374bc810f3a by Alexander Stippich.
Committed on 20/09/2021 at 09:49.
Pushed by astippich into branch 'master'.

remember last used scanner device and open it when launching skanlite

also add ability to reselect device from within skanlite

M  +109  -46   src/skanlite.cpp
M  +4    -0    src/skanlite.h

https://invent.kde.org/graphics/skanlite/commit/fbe34a8aa1433b26ee4d7604a5246374bc810f3a
Comment 6 0BADC0DE 2021-09-20 15:23:52 UTC
This makes skanlite a serious application.
Thanks.