Qt apps often fail to start from file manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qt4-x11 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
DistroRelease: Ubuntu 12.10
Okular (and also Texworks) sometimes fail to start when opening a pdf file from file manager or Thunderbird. The program sleeps in background and has to be killed. This behaviour is highly unpredictable, but there are some patterns:
1) The error never occurs when Okular is called from the terminal.
2) The second time the file usually opens, but after closing and reopening the Nautilus window the problem recurs. Sometimes it's the other way around: files stop opening, but closing the Nautilus window helps.
3) The problem is more severe under Cinnamon/Nemo than under the default Ubuntu desktop.
I tried to call Okular from a script rather than directly. Here are some findings:
1) Okular works when the script is called from terminal but (sometimes) fails when it is called from file manager, although the working directory and environment variables are exactly the same.
2) Unsetting DBUS_SESSION_
3) Introducing a delay (sleep 5) also seems to help.
affects: | ubuntu → qt4-x11 (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1096289/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]