Giter Site home page Giter Site logo

Comments (2)

vkareh avatar vkareh commented on September 12, 2024

I can confirm this.

The mate-hud checks whether appmenu-mate is running before deciding to kill the appmenu-registrar, but I cannot see such a process in my system. Did something change in vala-panel-appmenu?

To fix this, I think we should verify whether the registrar process was running prior to the hud starting it, then killing it only if it wasn't. Regardless of the existence of appmenu-mate.

Other thoughts:
I wonder if we want to synchronize the monitor setting with the global menu configuration. Rofi supports the following modes:

$ man rofi
...
-monitor name
 Select monitor to display rofi on. It accepts as input: primary (if primary output is set), the xrandr output name, or integer number (in order of detection). Negative numbers  are  handled  differently:
•   -1: the currently focused monitor.
•   -2: the currently focused window (that is, rofi will be displayed on top of the focused window).
•   -3: Position at mouse (overrides the location setting to get normal context menu behavior.)
•   -4: the monitor with the focused window.
•   -5: the monitor that shows the mouse pointer.

We currently use -monitor 2, but we could change it to primary or -4 when global menus are enabled.

Thoughts?

from mate-hud.

vkareh avatar vkareh commented on September 12, 2024

Update, turns out vala-panel-appmenu moved to in-process, making it harder to determine if the process is running: https://gitlab.com/vala-panel-project/vala-panel-appmenu/commit/c5d20e73d47ea4805697553401fcb7633fc402ac, and causing this regression in the first place.

from mate-hud.

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.