Hi, I really love this idea. I've already added (hacked together) something similar for some of my projects so I am happy to see this is going into Pharo.
- Make it parametrizable to allow users to build a bar with their own menu builder
I would love if it was possible to somewhere (Settings?) just specify a pragma that should be used for the construction of the menu... or perhaps even a list of pragmas. That way the existing mechanism can be simply reused and custom menus can be created just as easily. I think this should be very easy to add. I would really love to have this option also for the regular world menu, but I didn't find a way to easily achieve that.
- What do we do when Pharo is not wide enough?
Hamburger menu?
- What to do when a window is dragged behind?
Currently you cannot drag window above the top side (which I've learned only now :-D ), so the constraint would just move a bit lower? Also, is it (easily) possible to configure the position of the menu? Both top/down, as well as RTL and LTR direction (or right-aligned LTR) which I mentioned for the bottom menu in an earlier github discussion. Peter On Fri, Jun 1, 2018 at 2:22 PM, Cyril Ferlicot D. <cyril.ferlicot@gmail.com> wrote:
Hi everyone,
With Guille we are trying to improve the usability of the WorldMenu.
The world menu is by large un-intuitive: - Users are not used to click on a background to open a menu - For those that "get it" they try to do it with right click (Of course, it looks like a context menu!) and that does not work
Since some decades now the default way to display a menu in applications is to have a bar at the top of the windows. We should change that world menu by a menu bar like any application. That will lower the entrance barrier to new users, at the cost of having to move the cursor to the top to look for the menu...
You can find here a PR that add the WorldMenu as a top bar to Pharo and reorganize it:
https://github.com/pharo-project/pharo/pull/1470
See screen in the PR.
It still have room for improvements but we think it's stable enough for integration in Pharo.
Missing features: - What do we do when Pharo is not wide enough? - What to do when a window is dragged behind? - Make it parametrizable to allow users to build a bar with their own menu builder - Add shortcuts to open the menu windows like (maybe) - Update it when we change the font size (this is a general Pharo problem)
Feedback is welcome.
Related issue: https://pharo.fogbugz.com/f/cases/22038/Replace-World-Menu-by-Menu-bar
Guille & Cyril
-- Cyril Ferlicot https://ferlicot.fr