Git Product home page Git Product logo

Comments (9)

itoshkov avatar itoshkov commented on July 16, 2024

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.

from applications-menu.

itoshkov avatar itoshkov commented on July 16, 2024

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.

from applications-menu.

itoshkov avatar itoshkov commented on July 16, 2024

Any help with this?

from applications-menu.

lenemter avatar lenemter commented on July 16, 2024

@itoshkov Can you send a screenshot please?

from applications-menu.

itoshkov avatar itoshkov commented on July 16, 2024

The narrow menu

The normal menu

from applications-menu.

itoshkov avatar itoshkov commented on July 16, 2024

I found a workaround for the issue. It's not pretty but it has worked consistently for me so far. Here are the steps:

  1. Kill wingpanel: pkill io.elementary.w 1
  2. Press the key combination to show the application menu ( Space by default).
  3. If the menu is still narrow kill the wingpanel process again. This time the whole wingpanel will disappear. Here I used to run wingpanel manually, but it was behaving unpredictably again. Instead, if you press the application menu key combination the winpanel will be restarted by the system. Press the key combination a couple more times (without killing the process) and the menu will appear with proper size.

Footnotes

  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.

from applications-menu.

itoshkov avatar itoshkov commented on July 16, 2024

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.

from applications-menu.

sauntor avatar sauntor commented on July 16, 2024

I got this problem too, it may be caused by HiDPI scaling.

from applications-menu.

itoshkov avatar itoshkov commented on July 16, 2024

I got this problem too, it may be caused by HiDPI scaling.

I am running on 1080 without HiDPI scaling.

from applications-menu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.