-
-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Most settings still not saved #65
Comments
Same here, installed version 0.7.4 and only the hotkey setting is getting saved. Trying to troubleshoot I found a funny behaviour, I deleted previous albert settings (deleted the albert folder in .config) and when trying to find the settings I discovered the albert folder was still there but with no settings, then a new folder named manuelschneid3r was there with the settings. Once again deleted the albert folder and saw it reappear after closing and reopening Albert. BTW I love the new Yosemite Themes, pretty slick. |
How do you close albert? Which OS do you use? Which Qt Version is installed? Please do the following:
reproduce the issue and post the results. Thank you. |
OS: Ubuntu 15.04 I did everything you asked, and here is the output of the file.
|
Are this really all messages? There should be a lot of more informational messages. How did you install albert? The -DCMAKE_INSTALL_PREFIX=/usr part is cruicial. Did you kill it with Ctrl+C? |
Hello, first of all: great program, I like Albert very much and love the idea of being DE agnostic. Now to the issue. Excuse my verbosity, but I hope it might help. ;-) I followed the procedure 3x in slightely different scenarios, version 0.7.3 (version 0.7.4 has not arrived in the AUR last time I checked). System: Manjaro, Xfce In each case I started with emptied directories, just as you wrote. Then
Each time everything worked just fine while Albert was running. After that I closed Albert using different ways. Case1: Closing Albert with Alt-F4 Case 2: Closing Albert with "killall -9 albert" Case 3: did not close Albert, but told the system to shut down (normal shutdown) Here the details for case 3: ✓ [folognorri@unkulunkulu] ~ $ ls -al ./.config/manuelschneid3r/ ✓ [folognorri@unkulunkulu] ~ $ cat ./.config/manuelschneid3r/albert.conf ✓ [folognorri@unkulunkulu] ~ $ cat ./.config/manuelschneid3r/albert.conf.lock ✓ [folognorri@unkulunkulu] ~ $ cat ./.config/manuelschneid3r/albert.conf.n30056 [applications] Restarting Albert the lock file was not touched in any way and also did not prevent that Albert would be started. And now (finally ;-)) the debugfiles for all three cases: Case 1 - Alt-F4: ✓ [folognorri@unkulunkulu] ~ $ cat albertdebug_newtoAltF4.txt Case 2 - killall: ✓ [folognorri@unkulunkulu] ~ $ cat albertdebug_newtokill9.txt Case 3 - system shutdwon: ✓ [folognorri@unkulunkulu] ~ $ cat albertdebug_newtoshutdown.txt Funny enough, Albert does not manage to mention the SMPlayer in the first case, which is the case in which he successfully stores the configuration settings and the index. Butimho he should store settings and index as soon as they are created. For some reason, upon leaving the config he only saves the hotkey and only on an Alt-F4 exit he deigns to write the other config settings and the index to disk. I checked also /tmp and ~/.cache (while Albert was running and worked perfectly well), but could not find traces of Albert there. Hope this might help to narrow down the issue. |
ManuelSchneid3r: I installed Albert following the instructions in the readme. Implying of course I did compile it with As a matter of fact, doing what TheMuspilli said (closing albert with ALT+F4) actually worked 😄 it saved all of the settings and the .dat files. The issue seems to be the settings are only being saved when closing albert through ALT+F4. Maybe adding a save button to trigger this actions could be a good temporary option (settings wise) though the indexes would be lost if not saved automatically. |
I have to make minor corrections to what I wrote. Though Albert saves his settings if closed with Alt+F4, he seems to just add new settings and not change old ones (probably with the exception of the hotkey). I observed that neither changing the number of proposals (btw: in v 0.7.3 there is a typo "popoals", ignore if already fixed in the latest version ) nor the deactivation of plugins was remembered. But fortunatly the new websearch engines and shortcuts were saved. Question: is there some forum to exchange tips & tricks around Albert already? I think here would not be the right place to exchange websearch entries or discuss in depth wished for features. |
Alt+F4 is a standard shutdown. The Qt eventloop leaves and stack unwinding calls the destructors which is intended to serialize all needed stuff. Problem is, that a session shutdown seems to be not a standard shutdown. On my machine everything is fine (thank you cinnamon). If you could just do one more thing for me: The debugging information in the output is missing, since Release built type was set. Either install albert-git from AUR or build and install with the cmake argument Further I am not sure if the terminal is a good way to debug this since it may be possible that the terminal kills its child processes hard (-9). So detaching the albert process sighup seems to be a good idea: Run Again thank you for your help. |
@ManuelSchneid3r: Before I shut down the system however, I had a look into ~/manuelschneid3r and ~/local/share/albert, and it was the same as before. An albert.conf with the hotkey only and none of the dat files, so they were saved to disk on Albert exiting and not when they were created as settings or index data. As I cannot attach nohub.out here ("Unfortunately, we don’t support that file type. Try again with a PNG, GIF, JPG, DOCX, PPTX, XLSX, TXT, or PDF"), and I cannot spot an email address anywhere, I just uploaded the file into my SpiderOak account: https://spideroak.com/browse/share/FoloGnorri127/8tpeIbQQlLXSqId9ieJd I tested that I can access it, so it should work. |
Couldn't load directly the nohup.out but I'll paste here the content:
|
i'm having the same issue.
reading this issue, i looked in ~/.config/manuelschneider. there's albert.conf, but no matter what, it only contains
the folders ~/.config/albert and ~/.local/share/albert are empty. in any case, for me, a launcher that doesn't support shell commands is not useful. |
@ohnonot Theres #18 which covers your problem. From what I discovered now is that the |
efc07bd should close this, at least I can kill it now with killall albert and the settings are saved. I would appreciate if somebody could confirm this. |
Albert 0.7.3: The old hotkey not being saved issue was fixed but saving other settings is not fixed. For instance, if for the Files plugin I check all "Indexed types", then I click "Update index" and I let it index all the files, after I kill it and start it again, all the "Indexed types" are unchecked and it says "0 indexed files". Changing the theme is not saved either and so on...
The text was updated successfully, but these errors were encountered: