-
Notifications
You must be signed in to change notification settings - Fork 5
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
Loading a Qt5 program for the first time causes panel to go black #7
Comments
I've tried reproducing this issue, but I can't. I've set Have you tried:
|
Thanks for your swift reply - much appreciated. Nothing too interesting there? |
No, nothing of great interest in that log. I've also tried replicating a similar setup on an Ubuntu Trusty system, still can't reproduce. Unfortunately the error log for tint3 only goes to stderr for now, and doesn't get written to a file, which would be useful in such a case. You can maybe try running tint3 in your session such that stderr gets redirected to a file ( |
Again to stress, it's only on the FIRST invocation of any Qt5 program after logon which causes the problem. Subsequent runs are fine after tint3 is restarted. (By the way, does tint3 support a re-read of the configuration as you could do with: killall -SIGUSR1 tint2 ?). Here's the stderr output after I redirected it as you suggested: I am wondering whether this might be a Qt 5.4 issue (current Arch version) - there have been many reports of graphical glitches with it. For example, with KDE: https://bugs.archlinux.org/task/44083 (supposedly fixed with a new KDE release). Maybe Qt 5.5 will solve everything?! I think tint3 is a great project with very commendable aims, and hope that others will help you to test it out. |
Those Xlib errors indicate that probably the issue is in tint3, not in Qt. But it might be a mixture of fails, who knows? :) I'm going to try debugging it a bit more in the evening, and maybe trying to align more closely to your configuration (e.g., I see you're using launchers, while I usually don't -- if you could also attach your tint3rc it would be awesome). P.S.: yes, tint3 also supports SIGUSR1 for restarting... unless I broke that too. :) |
Please find my tint3rc here (don't see how to attach a file to a GitHub issue comment): I'm afraid 'killall -SIGUSR1 tint3' causes the panel to go black too - no matter when after logon. |
I've committed some small fixes, which might address at least the SIGUSR1 case. |
Bravo! It's looking good so far - both the loading of Qt5 programs and issuing SIGUSR1 seem to be working as expected. Will monitor further and let you know if any problems return. |
Sweet! I'm going to close the issue then, but of course feel free to reopen it as needed (or to file a new one). Thanks for the patient testing. |
Sorry about not observing it before, but it seems there is an entrail of the above problem still lingering: When I run Qpdfview immediately after logon, an icon in the system tray - usually that of the NetworkManager applet or Pasystray - gets duplicated, sometimes it also shows some graphical junk in the system tray. When I reload Tint3's configuration, or load Qpdfview later in the logon session, everything seems okay. (I also tried with sqlitebrowser - another Qt5 program - and it didn't cause the problem.) Note: I had occasional problems with Tint2 duplicating icons too, but can't recall any special circumstances or programs involved. Again, reloading Tint2's configuration cleared the problem. |
This looks like a problem with the systray, though, instead of the whole panel? Can you file it as a separate bug? |
Am using fully upgraded Arch Linux with Openbox and the AUR package tint3-cpp-git-r743.7aed132-1-x86_64.pkg.tar.xz (but no compositor being used). Also, I'm using PCManFM to manage desktop icons and background. After a fresh login, tint3's panel looks as normal, but the first time I run a Qt5 program - such as qpdfview or sqlitebrowser (Arch packages) - the panel goes completely black. The tint3 process continues to run, but the only way I get my panel back is to kill the process and re-run tint3. Then when I run a Qt5 program again and again, everything seems as normal.
This effect does not seem to happen with Qt4 programs.
It's a strange problem, I know, but that's the best description I have of it for now!
The text was updated successfully, but these errors were encountered: