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
$menu-path location
does not work correctly: macOS-specific
#658
Comments
This patch introduces a slightly more elaborate scheme for building menus on MacOS. Under normal circumstances, this scheme should maintain the menu item order as far as possible when Qt is trying to sync with Mac's menu bar.
I have provided PR #665 for the 0.26 branch which hopefully fixes the problem. @Kazzz maybe you can give that one a try - I'd need some test support on MacOS. The proper ordering of the menu items was actually disabled because Qt segfaulted sometimes when menu items got deleted and re-inserted. The patch provides a somewhat more elaborate implementation of the menu sync function which - under normal circumstances - should maintain the menu item order. As a side effect, the LVS and DRC menus now are in the same position in the "Tools" menu as they are on Windows and Linux. |
Thank you for delivering PR #665. Kazzz-S |
I've tested PR #665, which works fine, as shown below. Perhaps OK on the older operating systems, too. Kazzz-S
|
This patch introduces a slightly more elaborate scheme for building menus on MacOS. Under normal circumstances, this scheme should maintain the menu item order as far as possible when Qt is trying to sync with Mac's menu bar. Co-authored-by: Matthias <klayoutmatthias>
Fix is released in 0.26.9 |
PYA-OpenRecent.zip
Attached are simple PYA macros that manipulate the recently opened files.
They are functioning as intended. However, I cannot insert the menus to the right locations.
I've tested the macros with KLayout-0.26.8 on different platforms. It is a purely macOS specific issue.
Kazzz-S
The text was updated successfully, but these errors were encountered: