Zim

/tmp/zim-myuserid Directory == Slow Startup

Bug #1791384 reported by martyg
6
This bug affects 1 person
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_info(major=2, minor=7, micro=15, releaselevel='final', serial=0)
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/.local/share
DEBUG: Set XDG_DATA_DIRS to [<Dir: /usr/share>, <Dir: /usr/local/share>]
DEBUG: Set XDG_CONFIG_HOME to /home/martyg/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/martyg/.cache
DEBUG: Connecting to /tmp/zim-martyg/primary-0.68-e63203e4
DEBUG: Dispatched command (u'-D',)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.