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

Enhancement: support tooltips for menu entries #111

Closed
AlisterH opened this Issue Mar 17, 2014 · 3 comments

Comments

Projects
None yet
3 participants
@AlisterH

It would be nice if JWM could support tooltips for menu entries. e.g. people building their main menu from .desktop files could use the "Comment" field from the .desktop file.

@joewing joewing added the enhancement label May 11, 2014

@joewing joewing added this to the Version 2.2.3 milestone May 11, 2014

@joewing joewing modified the milestones: Version 2.3.1, Version 2.3.0 Apr 4, 2015

@joewing joewing modified the milestones: Version 2.3.2, Version 2.3.1 Jun 27, 2015

@joewing joewing removed this from the Version 2.3.2 milestone Aug 8, 2015

@technosaurus

This comment has been minimized.

Show comment
Hide comment
@technosaurus

technosaurus Oct 30, 2015

Contributor

I guess this didn't make it in to 2.3.3. What is needed to get this done?

Tray buttons already support it, so the main code is there. So the menu items need an extra property and some kind of default positioning???

Contributor

technosaurus commented Oct 30, 2015

I guess this didn't make it in to 2.3.3. What is needed to get this done?

Tray buttons already support it, so the main code is there. So the menu items need an extra property and some kind of default positioning???

@joewing

This comment has been minimized.

Show comment
Hide comment
@joewing

joewing Oct 30, 2015

Owner

2.3.3 isn't released yet, so there's still a chance I suppose.
I think the hardest part with implementing this would be routing the time notifications through to the menu and tracking the last mouse position and time of the last movement to know when to show a popup. I don't think it would be difficult, but it's more than a few lines of code that would need to change.

Owner

joewing commented Oct 30, 2015

2.3.3 isn't released yet, so there's still a chance I suppose.
I think the hardest part with implementing this would be routing the time notifications through to the menu and tracking the last mouse position and time of the last movement to know when to show a popup. I don't think it would be difficult, but it's more than a few lines of code that would need to change.

@joewing joewing added this to the Version 2.3.3 milestone Oct 31, 2015

@joewing

This comment has been minimized.

Show comment
Hide comment
@joewing

joewing Oct 31, 2015

Owner

So @technosaurus convinced me. This is available as of snapshot 1302. For example:

<RootMenu>
   <Program label="Terminal" tooltip="This is a tooltip">xterm</Program>
</RootMenu>
Owner

joewing commented Oct 31, 2015

So @technosaurus convinced me. This is available as of snapshot 1302. For example:

<RootMenu>
   <Program label="Terminal" tooltip="This is a tooltip">xterm</Program>
</RootMenu>

@joewing joewing closed this Oct 31, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment