Bug 25707 - Simple-scan application not save settings
Summary: Simple-scan application not save settings
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-18 12:35 CET by Jose Manuel López
Modified: 2019-11-21 06:08 CET (History)
2 users (show)

See Also:
Source RPM: simple-scan-3.32.2.1-2.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Jose Manuel López 2019-11-18 12:35:56 CET
Description of problem: I have installed simple-scan application. I have modified settings and I have scanned a document. When I again to the application, it does't save the settings that I have configure before.


Version-Release number of selected component (if applicable): Mageia 7 Plasma x86_64 and simple-scan


How reproducible: In a clean Mageia 7 installation, install the simple-scan application, and modify settings.


Steps to Reproduce:
1. Install simple-scan.
2. Modify settings.
3. Exit and run again application, the settings don't saved.
Comment 1 Lewis Smith 2019-11-18 19:56:37 CET
Can you please say *which* preferences are not saved.

I have just tried it (no scanner on-line). I changed many settings (Preferences), closed the Preferences window, and re-opened it: all the changed settings remain.

Closing the program and re-starting it, looking at Preferences, all the settings I had changed remained changed EXCEPT 'Multiple pages from flatbed - Delay',
which always got re-set to 10.

CC: (none) => lewyssmith
Source RPM: simple-scan => simple-scan-3.32.2.1-2.mga7.src.rpm

Comment 2 Jose Manuel López 2019-11-18 23:46:36 CET
I tried with scanner HP 2540, and in other computer with scanner Brother MFC-L8900DW.

The settings don't saved, quality section, face to scan, page size, etc. 

When I exit and restart the program, this settings no saved.
Comment 3 Lewis Smith 2019-11-20 10:04:31 CET
Thank you for these different tests.
The difference in behaviour between us makes this more difficult. You are not the only SimpleScan user, but the first to raise the point you make.
Please say what desktop you are using. And the theme if you know it.
Comment 4 Jose Manuel López 2019-11-20 12:14:30 CET
I am using Plasma Kde with Dark Plasma theme default.

But I have checked that also appears this bug in the lxqt desktop x64.

Thanks for your attention.

Greetings!!
Comment 5 Lewis Smith 2019-11-20 21:06:51 CET
I have tried this until I am blue in the face, with an Epson Perfection V500 scanner; switching between all desktops (Cinnamon, Gnome, Mate, LXDE, Plasma, Xfce), even a re-boot, even changing the display manager from LightDM to SDDM. SimpleScan always started as last configured (except for 'Multiple pages from flatbed - Delay', which always got re-set to 10).

So I *cannot* reproduce the complaint. I changed several options each time, and did real scans + saving the resulting file. Whatever I tried, everything was remembered on re-launching SimpleScan - even the directory to save the file to, which I had changed initially.

I wonder whether this is a language (Spanish?) issue: we have a couple of bugs on very basic login problems, both from Spanish users.
What looks like a silly something to try: please install the package 'ibus-gtk'. which should do no harm. I have seen in a forum unexplained language related problems resolved by doing this, with no rational explanation.

This has no maintainer, so assigning globally.

Status: NEW => UNCONFIRMED
Assignee: bugsquad => pkg-bugs
Ever confirmed: 1 => 0

Comment 6 Frank Griffin 2019-11-20 21:23:29 CET
How exactly are you exiting the application ?  Some of them don't save settings unless you use "quit" (or whatever); X-ing out may not work.  Kate, in particular, is notorious for not saving the list of open files if you haven't done a "save session" prior to blowing it away...

CC: (none) => ftg

Comment 7 Lewis Smith 2019-11-20 21:43:15 CET
Basic after-thought: where does the program keep its preferences? I can NOT find them. All I can find in $HOME for it is:
 /home/lewis/.cache/simple-scan/
which contains
 drwxrwxr-x 2 lewis lewis  4096 Tach 20 20:39 autosaves/        [empty]
 -rw-rw-r-- 1 lewis lewis 68324 Tach 20 20:39 simple-scan.log   [of scans]
 -rw-rw-r-- 1 lewis lewis    69 Tach 20 20:39 state             [of window]
There must be a config file somewhere. It may be there that Jose's problem lies.

(In reply to Frank Griffin from comment #6)
> How exactly are you exiting the application ?  Some of them don't save
> settings unless you use "quit" (or whatever); X-ing out may not work.
Good question. This is one of those sparse Gnome programs: I only see the 'X', which all my tests used.
Comment 8 Frank Griffin 2019-11-20 23:50:25 CET
Run a test using "strace -f -o /tmp/strace -e trace=open (command name)" and then editing /tmp/strace.  That should show you all of the files that get opened when you change the settings.
Comment 9 Jose Manuel López 2019-11-21 06:08:05 CET
I have tried to install the ibus package as indicated it in comment 5. The application settings are saved now.

Perhaps, ibus libraries should be required when simple-scan be installed.

The bug can be closed

Thanks for your attention.

Greetings!!!

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.