Open itoshkov opened 1 year ago
I ran io.elementary.wingpanel
from the command line and I saw the following line in the log when I first open the menu and it shows up narrow:
(switchboard-plugin:5376): Gtk-CRITICAL **: 13:40:04.464: gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
I haven't been able to run it with normal width to see if the same message appears in that case.
I haven't been able to run it with normal width to see if the same message appears in that case.
I finally managed to run it with a proper sized Applications menu and it still shows this error message.
Any help with this?
@itoshkov Can you send a screenshot please?
I found a workaround for the issue. It's not pretty but it has worked consistently for me so far. Here are the steps:
pkill io.elementary.w
[^1][^1]: The actual process name is io.elementary.wingpanel
, but pkill
and pgrep
seem to have a limit on the number of characters they recognize. To make sure that it will only kill the wingpanel you can first do pgrep -a io.elementary.w
. If the result contains more processes, you'll at least have the actual PID of the wingpanel and can use kill $PID
instead. Note that the PID would change after restart of the process, which I think happens after the second TERM signal is sent.
It looks like this might be timing dependent. It seems to manifest itself if I try to open the Applications menu too quickly after I log in. On the other hand, if I wait for 5-10 seconds (or maybe less) before doing anything, things seem to work fine.
I'm not sure if other actions would affect this, like using the dock or opening a terminal with ⌘ T.
I got this problem too, it may be caused by HiDPI scaling.
I got this problem too, it may be caused by HiDPI scaling.
I am running on 1080 without HiDPI scaling.
What Happened?
Sometimes the applications menu is too narrow (I guess about half its normal width). Killing and restarting wingpanel sometimes helps, but not always. Logging out and back again helps, but again, not always.
(I have a screenshot, but I'm not sure how to attach it.)
Steps to Reproduce
Expected Behavior
The menu size should be consistent.
OS Version
7.x (Horus)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
I have an ATI/NVIDIA laptop and I'm running the nvidia proprietary driver in on-demand mode. The relevant
lspci
output: