On Mon, 04 Aug 2014 23:46:56 +0200 Massimo Maiurana <[email protected]> said:
> Lately I have a strange behaviour with application menus. > Let's say I open a menu and then a submenu. The submenu is normally > displayed on the right side of the parent, unless there is not enough > room so it is displayed on the left side. That's fine, it was always > this way and it still is so. > Now let's say I open another submenu, so a third level one. What did > happen before was that all menus, first and second level, were moved to > make room for the new menu. Well, now it doesn't happen anymore, menus > are not moved and the third menu is diplayed in the same position as its > parent and, worst thing, stacked *below* its parent, so it is basically > not visible. > Is E responsible of menus positioning and stacking or should I blame > something else? > I attach a screenshot with thunderbird menus to make it clearer. app is responsible, BUT... it makes its decisions on where to place based on where it thinks its window is on screen (relative to root), and this it can do one of 2 ways - 1. walk window tree back up to root each time it needs/wants to know and calculate, or 2. track configurenotify events from wm (this will jhave the sendevent flag enabled as opposed to the real configurenotifies that for a reparenting wm always will be at 0,0). these fake events sent by the wm tell the app where ti is since x won't do this for the app due to reparenting. it could be possible we are sneding incorrect events or failing to send them at all. fyi - i dont see this in thunderbird - running e from git, but you may want to file a bug on phab. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
