Hello XYPlorer community and Don,
I'm a new user migrating from Total Commander, and I'm impressed by XYPlorer's customization capabilities. I'm working on creating a hamburger menu button (similar to modern applications like eM Client, Firefox, etc.) to save vertical space by hiding the traditional menu bar.
Current Implementation:
I've found a CTB created by another forum user. It uses the popupmainmenu command, which works functionally. However, there's a UX limitation compared to other modern applications.
The Issue:
When using popupmainmenu in a CTB script, the top-level menu items don't display submenu arrows (►), even though deeper submenu levels do show them correctly. This makes it difficult to know which items will expand into submenus versus which will execute immediately.
Comparison with eM Client (see attached screenshot):
eM Client's hamburger menu shows arrows on the top-level items (File ►, Edit ►, View ►, etc.), which provides important visual feedback and allows efficient menu browsing. You can see at a glance which items have submenus without needing to hover over each one and guess.
Current XYPlorer behavior:
Top level: No arrows (you can't tell "File" has a submenu)
Deeper levels: Arrows display correctly ("To Clipboard ►", "Duplicate ►", etc.)
My CTB Script:
"_Initialize"
ctbname("left-click: Main menu<crlf>right-click: Layout menu");
$lclick = '_mainmenu';
$rclick = '_windowmenu';
if (get('trigger') == 1) { load *, $lclick, s; }
elseif (get('trigger') == 2) { load *, $rclick, s; }
end 1;
"MainMenu : _mainmenu"
popupmainmenu;
"windowmenu : _windowmenu"
if (get('Shift') == 1){#1061;}
else {popupmainmenu "window";}
Feature Request:
Would it be possible to enhance popupmainmenu to display submenu arrows at the top level when called from CTB scripts? This would:
Improve discoverability - users can see which items expand
Match modern UI conventions - most hamburger menus show these indicators
Enhance navigation efficiency - no need to hover-and-guess
Provide visual consistency - arrows already appear on deeper levels
Benefits to the Community:
Thank you for considering this request, and thank you for creating such a powerful file manager!
Show Submenu Arrows in popupmainmenu for CTB Hamburger Menu
Show Submenu Arrows in popupmainmenu for CTB Hamburger Menu
- Attachments
-
- Screenshot 2025-10-07-12-56-02-325-MailClient.png (13.06 KiB) Viewed 2017 times
-
admin
- Site Admin
- Posts: 65020
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Show Submenu Arrows in popupmainmenu for CTB Hamburger Menu
Welcome to the club!
Yes, I'd like to do that but currently it's technically not possible (not even with tB, the language used for the 64-bit version).
Yes, I'd like to do that but currently it's technically not possible (not even with tB, the language used for the 64-bit version).
FAQ | XY News RSS | XY X
Re: Show Submenu Arrows in popupmainmenu for CTB Hamburger Menu
Thanks for your quick reply!
All right, I think I will have to bear with this for now
- Attachments
-
- Screenshot 2025-10-07-17-02-44-342-XYplorer.png (14.34 KiB) Viewed 1988 times
-
admin
- Site Admin
- Posts: 65020
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Show Submenu Arrows in popupmainmenu for CTB Hamburger Menu
I probably should at least add those dots to the end of each caption: File..., Edit... etc
FAQ | XY News RSS | XY X
XYplorer Beta Club