/tmp/zim-myuserid Directory == Slow Startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
New
|
Undecided
|
Unassigned |
Bug Description
On startup, zim checks for a directory /tmp/zim-myuserid.
If this directory was left behind from a previous run, startup is delayed significantly (15 seconds) before the main window is shown to the user.
If I close zim manually (Ctrl-Q) this directory is automatically erased. No issue.
If zim is terminated due to the X server closing, this directory is left behind even after all zim processes have terminated.
The next zim invocation will be delayed as described above.
It would seem reasonable to expect zim to delete this directory in both cases.
This issue observed in Arch Linux, using i3wm.
$ zim -D
WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'
WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'
INFO: This is zim 0.68
DEBUG: Python version is sys.version_
DEBUG: Platform is posix
DEBUG: No bzr version-info found
DEBUG: Not running from a source dir
DEBUG: Set XDG_DATA_HOME to /home/martyg/
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share>, <Dir: /usr/local/share>]
DEBUG: Set XDG_CONFIG_HOME to /home/martyg/
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/martyg/.cache
DEBUG: Connecting to /tmp/zim-
DEBUG: Dispatched command (u'-D',)