Bug 362082

Summary: Can't save welcome message skip
Product: [Applications] rsibreak Reporter: Vitaliy <daemonlion>
Component: generalAssignee: Albert Astals Cid <aacid>
Status: RESOLVED WORKSFORME    
Severity: normal CC: daemonlion, simonandric5, stupor_scurvy343
Priority: NOR Keywords: triaged
Version: 0.12   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Strace rsibreak

Description Vitaliy 2016-04-22 11:38:34 UTC
I've trier deleting all in home folder containing rsibreak and installed all latest updates but welcome screen appears every launch and it very annoying...

OS: Ubuntu 16:04 LTS

Reproducible: Always
Comment 1 Albert Astals Cid 2016-04-25 22:19:58 UTC
What is the output of running

grep welcome ~/.config/rsibreakrc

in a terminal?
Comment 2 Vitaliy 2016-04-26 07:58:23 UTC
Hello, Albert,

Thank you for your reply, output is empty...

daimon@Daemon-Desktop:~$ grep welcome ~/.config/rsibreakrc
daimon@Daemon-Desktop:~$

If it help, here is all file contents:
cat ~/.config/rsibreakrc
[General]
AutoStart=true

[General Settings]
BigDuration=10
BigInterval=50
DisableAccel=false
Effect=0
Graylevel=80
HideLockButton=false
HideMinimizeButton=false
HidePostponeButton=false
ImageFolder=/home/daimon
Patience=30
PostponeBreakDuration=5
SearchRecursiveCheck=false
ShowSmallImagesCheck=true
SlideInterval=10
TinyDuration=20
TinyInterval=10
UseNoIdleTimer=false
UsePlasmaReadOnly=true

[Popup Settings]
UseFlash=true
UsePopup=true

[SetupDimensions]
Height 1200=566
Width 1920=538

I will be happy to provide any additional information if needed, have a great day!

With best regards,
Vitaliy Breslavskyi
Comment 3 Albert Astals Cid 2016-04-26 20:41:02 UTC
Which distribution are you using?

which version of rsibreak?

compiled yourself or not?

Did you run the old (kdelibs4-based) version?

Are you checking the "Don't show again" checkbox on the welcome message?
Comment 4 Vitaliy 2016-05-03 08:17:38 UTC
Hello,
Sorry for the delay.
Distribution is Ubuntu 16.04LTS
Rsibreak version is 0.12
Installed from packages
I'm not sure about kdelibs4-based version, but in about tab I see "KDE Frameworks 5.18.0" and "Qt 5.5.1 (built against 5.5.1)".
I'm checking this checkbox everyday but it doesn't helps :(
I also tried to just close the window without checking the checkbox - results are the same.
Also please note that I have all latest updates installed...
Comment 5 Albert Astals Cid 2016-05-03 22:29:59 UTC
With "Did you run the old (kdelibs4-based) version?" I meant if this is the first time you run rsibreak or you had run it in the past?

that is, is there a file in ~/.kde/share/config/rsibreakrc ?

Are you running plain  Ubuntu 16.04LTS ? Or you have enabled some ppa¿
Comment 6 Vitaliy 2016-05-03 22:55:59 UTC
No, I used it before on ubuntu 14.04LTS, then system was upgraded to 16.04LTS.

Sorry, I can't check that PC cause It's in office and I'm on vacation till Tuesday. But I replicated the same behaviour on my home pc that was too upgraded from 14.04LTS to 16.04LTS by just installing rsibreak from packages.

I have 2 additional repos enabled at home: Canonical partners and http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu (for pidgin tray icon). I believe that at work repos should be the same... Disabling them and run apt-get update && apt-get dist-upgrade didn't helped.
Comment 7 Albert Astals Cid 2016-05-04 21:19:51 UTC
This is *very* strange, I am running Ubuntu 16.04LTS too and it works fine.

Are you using this under Plasma or under Unity or some other desktop environment?
Comment 8 Vitaliy 2016-05-10 14:00:36 UTC
I'm using it under default Unity that comes with Ubuntu 16.04LTS
Comment 9 Albert Astals Cid 2016-05-10 21:57:15 UTC
That makes no sense, it should work fine.

Can you please check the permissions of ~/.config/rsibreakrc ?

what is the ouput of 
ls -l ~/.config/rsibreakrc
?

and what is the output of
whoami
?
Comment 10 Vitaliy 2016-05-27 07:18:18 UTC
Output are:
v.breslavskyi@daemon:~$ ls -l ~/.config/rsibreakrc
-rw------- 1 v.breslavskyi v.breslavskyi 497 May 27 10:16 /home/v.breslavskyi/.config/rsibreakrc

and whoami says:
v.breslavskyi@daemon:~$ whoami
v.breslavskyi
Comment 11 Albert Astals Cid 2016-05-29 10:58:02 UTC
This is all very strange.

More things to try.

Please do this:

stop rsibreak

move ~/.config/rsibreakrc away
   mv ~/.config/rsibreakrc ~/.config/rsibreakrc.backup

Now start rsibreak with strace saving to a file (make sure you have strace installed)
   strace rsibreak &> ~/strace_output

On the "welcome" dialog, check the "Don't show again" and press the "OK" button

Close rsibreak from the system tray.

Attach the ~/strace_output file to this bug.
Comment 12 Vitaliy 2016-06-03 13:12:20 UTC
Created attachment 99339 [details]
Strace rsibreak

daimon@daemon:~$ ps aux |grep rsibreak
daimon    3144  0.0  0.0  14228  1024 pts/1    S+   16:10   0:00 grep --color=auto rsibreak
daimon@daemon:~$ mv ~/.config/rsibreakrc ~/.config/rsibreakrc.backup
daimon@daemon:~$ strace rsibreak &> ~/strace_output
daimon@daemon:~$
Comment 13 Vitaliy 2016-06-03 13:16:19 UTC
Also I did noticed some strange behaviour - when I moved config and started rsibreak, used "do not show" checkbox and exited - config file was not created.
It creates config if I for example change breaks timings but not create it when I'm using checkbox...
Comment 14 Albert Astals Cid 2016-06-03 14:24:41 UTC
I think i know what's wrong.

Do you have the frameworkintegration package installed? Can you check if installing it fixes the problem?
Comment 15 Vitaliy 2016-06-07 22:24:12 UTC
Yes!
I've installed it and it finally solved the problem!.
Now config file are created if I use "do not show" checkbox, there is 2 lines in it:

daimon@daemon:~$ cat /home/daimon/.config/rsibreakrc
[Notification Messages]
dont_show_welcome_again_for_001=false

Huge thank you for your help!
Comment 16 Vitaliy 2016-06-07 22:27:38 UTC
If I understand it right, this dependency was absent in package requirements... ?

If yes, how can I help to fix this package ? Find It's maintainer and write to him ?

Current dependencies are:

Reverse Depends: 
  rsibreak:i386,rsibreak
Dependencies: 
4:0.12.1-1 - libc6 (2 2.14) libkf5configcore5 (2 4.97.0) libkf5configgui5 (2 4.97.0) libkf5configwidgets5 (2 4.96.0) libkf5coreaddons5 (2 5.2.0) libkf5dbusaddons5 (2 4.97.0) libkf5i18n5 (2 4.97.0) libkf5iconthemes5 (2 4.96.0) libkf5idletime5 (2 4.96.0) libkf5notifications5 (2 4.96.0) libkf5notifyconfig5 (2 4.96.0) libkf5textwidgets5 (2 5.0.0) libkf5widgetsaddons5 (2 4.96.0) libkf5windowsystem5 (2 4.96.0) libkf5xmlgui5 (2 4.96.0) libqt5core5a (2 5.5.0) libqt5dbus5 (2 5.0.2) libqt5gui5 (18 5.2.0) libqt5gui5-gles (2 5.2.0) libqt5widgets5 (2 5.2.0) libstdc++6 (2 4.1.1) rsibreak:i386 (32 (null))
Comment 17 Albert Astals Cid 2016-06-12 17:56:13 UTC
I think the best idea for now is try to figure out who is the maintainer of the .deb pacakge and ask him to add that dependency.

I'm also trying to get it fixed in another level but i'm not convinced it'll happen.
Comment 18 Vitaliy 2017-10-18 21:20:16 UTC
(In reply to Albert Astals Cid from comment #17)
> I think the best idea for now is try to figure out who is the maintainer of
> the .deb pacakge and ask him to add that dependency.
> 
> I'm also trying to get it fixed in another level but i'm not convinced it'll
> happen.

I reported bug more than 1 year ago but it's still present :(
https://bugs.launchpad.net/ubuntu/+source/rsibreak/+bug/1604146
Comment 19 Andrew Crouthamel 2018-09-28 02:27:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 20 Andrew Crouthamel 2018-10-28 03:22:32 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!