Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Mac OS » [BUG] Context Menu does not work properly
[BUG] Context Menu does not work properly [message #52351] Fri, 13 September 2019 13:12 Go to next message
omari is currently offline  omari
Messages: 193
Registered: March 2010
Experienced Member
the menu is displayed, but no action is executed.

Test case :
- tutorial/Gui8
- theide


regards
omari.
Re: [BUG] Context Menu does not work properly [message #52352 is a reply to message #52351] Fri, 13 September 2019 16:32 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 636
Registered: September 2012
Location: Poland, Kraków
Contributor
Hello omari,

Thanks for spotting this! I can confirm that the issue is reproducible. It seems that context menu doesn't work and it is critical issue and must be adressed before 2019.2.

Sincerely,
Klugier


Ultimate++ - one framework to rule them all.

[Updated on: Fri, 13 September 2019 16:32]

Report message to a moderator

Re: [BUG] Context Menu does not work properly [message #52355 is a reply to message #52352] Fri, 13 September 2019 17:08 Go to previous messageGo to next message
omari is currently offline  omari
Messages: 193
Registered: March 2010
Experienced Member
Hi Klugier,

I investigate and i find that the cause of the issue is the use of PostCallback to invoke action.

https:// github.com/ultimatepp/mirror/commit/0b426a52023f549f1a11f6ff 68ae80e22b5eef40


regards
omari.
Re: [BUG] Context Menu does not work properly [message #52356 is a reply to message #52355] Fri, 13 September 2019 17:39 Go to previous message
mirek is currently offline  mirek
Messages: 12098
Registered: November 2005
Ultimate Member
Fix commited. Thanks for spotting this.

(It is sort of fix of fix. PostCallback is there to avoid wrong handling of accelerator keys - top level menu item was stuck highlighted during callback. I have now changed the code to call cb directly for context menu and only use PostCallback otherwise).

Mirek
Previous Topic: Open a folder at runtime
Next Topic: [BUG] keyboard shortcuts problem on an AZERTY keyboard
Goto Forum:
  


Current Time: Wed Nov 13 13:06:27 CET 2019

Total time taken to generate the page: 0.01431 seconds