Mike Blumenkrantz
b3bc99d1b2
fix menu race condition crash related to screen edges
...
previously, this conditional would be called on most new submenus, even if the submenu's parent item was the previous item and its menu hadn't been set yet. hours of small mouse movements revealed that this should never be called when the parent item has not yet been set
2013-12-01 11:32:11 -05:00
Carsten Haitzler
2a5443b2cb
menu - fix dangling menu job not nulling job ref
...
this should fix T579
2013-11-27 09:13:37 +09:00
Carsten Haitzler
19da294e8d
gfix focus display in click-to-focus with keyboard triggered menus
2013-10-18 19:49:05 +09:00
discomfitor
8b57301add
ensure post_deactivate menu callbacks run when hiding all menus
...
fixes shelf autohiding in some cases
2013-09-05 17:26:22 +01:00
Mike Blumenkrantz
c507b36abf
outdent small block in menu idler
2013-06-21 10:28:22 +01:00
Mike Blumenkrantz
bc338ab390
fix menu crash when trying to show a menu that isn't ready to be shown
2013-06-21 10:27:18 +01:00
Mike Blumenkrantz
bf12a34da0
fix a corner case menu crash when a submenu is created directly above its parent
2013-06-12 13:55:08 +01:00
Mike Blumenkrantz
595ba0859d
fix menu item dnd grabber
2013-06-12 13:35:55 +01:00
discomfitor
0e0b20c075
block multiple menu deactivate callbacks
2013-05-18 19:39:52 +01:00
Mike Blumenkrantz
506cb8046d
force mouse up feed on menu ungrab to ensure it gets received
...
issue described in T89
2013-05-08 13:26:25 +01:00
Mike Blumenkrantz
f2fe52a074
menus are no longer enrolled in the same school as mexican jumping beans
2013-04-25 09:20:22 +01:00
Mike Blumenkrantz
b702eddfd1
use new zoomap function to set solidness on comp win reshadow
2013-04-17 08:07:11 +01:00
Mike Blumenkrantz
a4d13328e9
put zoomap shaped/solid edc stuff back for menus, let comp wins use it more generally
2013-04-17 06:32:49 +01:00
Mike Blumenkrantz
b0260e98cb
revert zoomap stuff from menus
2013-04-16 13:51:50 +01:00
Mike Blumenkrantz
bd7dc3783d
use e_zoomap_child_resize() in menu
2013-04-16 12:37:32 +01:00
Carsten Haitzler
390964512a
move del handler to wrap.
2013-04-16 20:27:36 +09:00
Mike Blumenkrantz
a0240e9f56
fix infinite loop on menu zoomap deletion
2013-04-16 12:24:40 +01:00
Carsten Haitzler
42ec9ea089
dont resize if a cw is there...
2013-04-16 20:14:12 +09:00
Carsten Haitzler
e0e513f457
add zoomap so we get back our zooming comp client things with.. menu
...
for today. popups need doing... anything that bypasses the comp native
surface stuff needs this. :)
2013-04-16 20:07:36 +09:00
Carsten Haitzler
c66e21aa9a
me. valgrind. happy fun times together. methinks we should hasve more
...
people do this.
2013-03-30 14:11:07 +09:00
Carsten Haitzler
a0d4c33691
oops printf--
2013-03-29 22:03:09 +09:00
Carsten Haitzler
9deb05a832
fix menu flipping/flickering when menu bigger than screen.
2013-03-29 21:57:55 +09:00
Mike Blumenkrantz
03f9e7d6e7
add event rect for menus to ensure that clicks outside the menu will dismiss the menu
2013-03-20 09:50:47 +00:00
Mike Blumenkrantz
5d16b3f092
automatically mouse-up the comp evas when a menu is activated so future mouse events will work
2013-03-14 09:11:13 +00:00
Mike Blumenkrantz
f6dc33f6aa
always deactivate all active menus when manually activating another window
2013-03-13 07:47:46 +00:00
discomfitor
0d16ba68cd
giant comp rejiggering commit #3
...
* e menus are now drawn directly onto the compositor canvas
* menu theme now requires at least one part which allows mouse events in every menu group (YOUR MENUS WILL NOT WORK IF YOU ARE USING A THEME WHICH LACKS THIS!!!!!!!)
* menus now also report dangling/zombie menus with slightly more accuracy now
2013-03-11 05:20:52 +00:00
Mike Blumenkrantz
bf9933a336
E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz
8b28b2f2f1
revert previous few commits related to e_menu, not meant to go in yet
...
SVN revision: 84083
2013-02-19 08:22:46 +00:00
Mike Blumenkrantz
7b4783ec15
menus are now drawn directly onto the compositor canvas
...
SVN revision: 84078
2013-02-19 08:09:05 +00:00
Mike Blumenkrantz
fd0f6557ed
fix crash when activating menu from start gadget after locking screen from start gadget menu
...
ticket #cedric
SVN revision: 83811
2013-02-11 08:35:28 +00:00
Mike Blumenkrantz
aa6a2d173d
giant comp rejiggering commit because anything smaller would have broken something:
...
* remove xwin for container canvas: now drawn directly on the compositor canvas
* added SHAPE_DEBUG define for bored developers
* bindings now use new e struct for mouse/wheel events
* container+zone now get mouse events from smart callbacks instead of x events
* rename comp api namespace
* change comp underlay theme to have a swallow for the wallpaper
* add names to all zone/container/comp objects to make debugging much easier
* some minor related updates to go along with this
SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz
9e8e755cdf
formatting: all at once
...
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz
f927968340
e_menu_category_callback create callback parameter order has changed to be consistent with the rest of the efl: data param always comes first
...
SVN revision: 82547
2013-01-10 10:36:41 +00:00
Lucas De Marchi
0675dd03a0
e: rename option use_composite to use_shaped_win
...
In order to move composite inside the core we need to kill the
use_composite option. However in some places it is being used to switch
between ARGB and shaped windows. It doesn't make much sense to keep the
advanced/engine dialog to let the user toggle this options if we have
composite always enabledm, but lets allow the user to shoot
himself on the foot (for now).
Next step will be to move the comp module files to core so user can't
unload it anymore.
SVN revision: 82433
2013-01-09 03:21:25 +00:00
Mike Blumenkrantz
4a01ee16a0
add option for disabling icons in menus
...
ticket #2168
SVN revision: 82333
2013-01-07 09:35:30 +00:00
Mike Blumenkrantz
1bbcf1abb0
added function to hide all active menus, always hide menus when desklocking
...
SVN revision: 81925
2012-12-31 07:47:51 +00:00
Carsten Haitzler
2bcb066ccb
oh this was always broken - mh simply was never set and being used...
...
until the 2nd loop. by then it ws too lae as ms was screwed.
SVN revision: 81895
2012-12-30 10:53:29 +00:00
Carsten Haitzler
7483f4bee9
allow for primary toplevel menus > screen height (or width) and
...
autoscroll them correctly. also raise the limits for menu sizes up to
30k or 2x zone height for menu item cutoff...
SVN revision: 81778
2012-12-28 03:28:25 +00:00
Carsten Haitzler
ddbf106d6e
ensur emensu dont go futzing about whileu use them... allocate
...
POTENTIAL space for submenus later. :)
SVN revision: 80751
2012-12-12 11:06:40 +00:00
Carsten Haitzler
da9336c9dd
fix menu box packing for submenu itms so when set up in specific
...
orners with a pre callback... its packed WITH fill
SVN revision: 80661
2012-12-11 14:37:17 +00:00
Mike Blumenkrantz
5a60f9dad8
further clamp menus to zone size
...
ticket #1895
SVN revision: 80138
2012-12-04 09:08:19 +00:00
Mike Blumenkrantz
bd19ea1330
fix max menu size clamping
...
ticket #1691
SVN revision: 79800
2012-11-29 03:02:16 +00:00
Mike Blumenkrantz
36af3ea6bb
only post-adjust menu position for non-submenus
...
ticket #1802
SVN revision: 79403
2012-11-16 22:09:48 +00:00
Mike Blumenkrantz
6d3694d4a9
improve menu positioning for menus which have not yet generated items at the time that they are made visible
...
SVN revision: 79326
2012-11-15 09:20:28 +00:00
Mike Blumenkrantz
ca2501c4a1
move menu sizing to after menu actually gets sized to prevent multiple resizes
...
SVN revision: 79323
2012-11-15 08:57:01 +00:00
Mike Blumenkrantz
0bc2c8a7d8
only size/swallow menu icons once
...
SVN revision: 79278
2012-11-14 10:35:38 +00:00
Mike Blumenkrantz
0c0605da1e
pack before thaw so we don't calc twice
...
SVN revision: 79277
2012-11-14 10:27:27 +00:00
Mike Blumenkrantz
0cb7e8e3f3
finally fix annoying submenu offset bug
...
ticket #1691
SVN revision: 78854
2012-11-02 11:56:32 +00:00
Mike Blumenkrantz
523597cdcb
create default apps menu on init, don't free efreet menus on shutdown to prevent race condition triggered by people with superhuman menu navigation abilities
...
SVN revision: 76895
2012-09-20 08:57:36 +00:00
Mike Blumenkrantz
52c94bac89
app menus now generate themselves (top-most menu anyway) in threads to eliminate annoying stutter when scrolling through main menu
...
SVN revision: 76849
2012-09-19 10:15:03 +00:00