Bug 1014 - status window changes not permanent
Status:
RESOLVED FIXED
Component:
GUI
Version:
1.9.3
Hardware:
PC Linux
Importance:
P5 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
May 14 2011 12:58:38 UTC
by:
gianni
Modified:
Feb 3 2014 21:18:14 UTC
CC List:
d3vid seaward
Geza
| Who | When | What | Removed | Added |
|---|---|---|---|---|
| Geza | Aug 15 2011 18:32:44 UTC | cc | Geza | |
| d3vid seaward | Jan 24 2014 13:50:07 UTC | cc | d3vid seaward | |
| Rob Caelers | Feb 3 2014 21:18:14 UTC | status | NEW | RESOLVED |
| resolution | FIXED |
Description
gianni May 14 2011 12:58:38 UTC
Hi, the changes made to "the status window" are not permanent: - disable the status window from the preferences - click on the workrave icon in the taskbar - the status window reappears - close and restart workrave - the status window is still there I think that the preferences should override the fact that the status window has been opened. ubuntu 11.04 workrave 1.9.3 from the official repository
Comment 1
Geza Aug 15 2011 18:32:44 UTC
I have the same problem. (I almost created a new issue, when I realized it was here. I'll copy my text here anyway. --- In short: The status window setting should not change when you once look at the current times, as it does now. Reproducing: If you turn off the status window in Preferences / User interface / Status Window, so as to prevent it from appearing after booting, and then click on the Workrave icon once to have a look at the current times, the setting will change to turned on. So the next time you boot, the status window will appear, although you just wanted to look at it once.)
Comment 2
d3vid seaward Jan 24 2014 13:50:07 UTC
*** Bug 1136 has been marked as a duplicate of this bug. ***
Comment 3
d3vid seaward Jan 24 2014 14:01:05 UTC
This is still occurring in Workrave 1.10.2 / Ubuntu 13.10. (Status window always appears when I log in, even if I disabled it in preferences last time.) The linked duplicate contains a suggestion about gconf settings. On my machine there are dconf settings instead. Changing these settings does not fix the problem. Additionally, when the status window appears it appears "chromeless" (no title bar or window edges). Logging out and logging in again sometimes fixes the chromeless state, but not always.
Comment 4
d3vid seaward Jan 31 2014 11:16:47 UTC
I attempted to work around this by setting /org/workrave/gui/main-window/enabled in dconf.
If I run the following from the command-line, it will show/hide the status window as expected:
/usr/bin/dconf write /org/workrave/gui/main-window/enabled false
However, adding the same command to Ubuntu Startup Applications doesn't work.Comment 5
d3vid seaward Jan 31 2014 12:19:01 UTC
Small victory: adding `/usr/bin/dconf write /org/workrave/gui/main-window/enabled false` as a reaction to Cuttlefish starting works. The Workrave status window appears briefly, then disappears. (This suggests maybe I did something wrong when setting it in Startup Applications?) In Cuttlefish: * Create a new reflex * Set it to activate by stimulus "Cuttlefish Startup" * Add a reaction "Start application (advanced mode)" * Executable is dconf (/usr/bin/dconf) * Parameters are `write /org/workrave/gui/main-window/enabled false` * Working directory: none * Run in terminal: off * Wait until application exits: on (your preference I suppose) * Add Cuttlefish to Startup Applications For more info on Cuttlefish (an Ubuntu application): * https://apps.ubuntu.com/cat/applications/cuttlefish/ * http://askubuntu.com/questions/310559/how-to-install-cuttlefish-in-ubuntu-13-04 This is obviously just a workaround, it would be preferable for the status window state to be remembered / settings to be honored.
Comment 6
Rob Caelers Feb 3 2014 21:18:14 UTC
Fixed. I removed some code that fixed incorrect settings that could be generated by Workrave 1.9.3.... This code re-enabled the mainwindow if the system tray icon was disabled. This would (in the past) cause Workrave to become inaccessible. (git commit 7d27488bcfa9ef3646afc2a3868f10a8c1a86a2e)