Commit Graph

36 Commits

Author SHA1 Message Date
Mike Blumenkrantz 0b5f65d4a8 always use jobs to create bryce menus
ensure that menus can never be created during a post event callback in
order to avoid crashes

ref T3144
fix T5262
2017-04-28 15:41:54 -04:00
Mike Blumenkrantz 25ae14416c send orientation signal to bryce scroller theme 2016-11-18 11:46:05 -05:00
Mike Blumenkrantz bc5023326e keep bryce starting size unscaled 2016-11-18 11:45:54 -05:00
Mike Blumenkrantz 1acfb78e9b handle e_scale correctly in bryces 2016-11-18 11:45:52 -05:00
Mike Blumenkrantz efd0136d22 force bryce repositioning onto target zone during startup
ensure that subsequent operations do not accidentally the bryce's zone

fix T4784
2016-11-18 11:44:21 -05:00
Mike Blumenkrantz b858cf7b73 move bryces to E_LAYER_DESKTOP_TOP when not above windows
moderately sure this won't conflict with anything important...

fix T4819
2016-11-18 11:43:10 -05:00
Mike Blumenkrantz 9a0965ff02 return correct values from bryce post event callbacks
I referenced elm scrollable for this when writing it. past me was a moron
for using reference code instead of reading the underlying implementation.

fixes scrolling
2016-11-18 11:42:48 -05:00
Mike Blumenkrantz b3db41fad7 do not return early from _bryce_position()
this causes the returned coords to be garbage values, likely leading to
the bryce being positioned or animating off to the upper-right corner
of the universe that exists beyond the canvas
2016-11-18 11:36:07 -05:00
Mike Blumenkrantz ef7ac18322 do not modify bryce zone/name during startup
this breaks bryce init by moving all bryces to zone 0

fix T4784
2016-11-18 11:33:13 -05:00
Mike Blumenkrantz 3b6c033978 avoid potential divide by zero during bryce startup 2016-11-18 11:33:09 -05:00
Mike Blumenkrantz e0200dbd6a clamp bryce position to its parent zone
fixes case where large bryces could overflow their zones

ref T4784
2016-11-18 11:33:05 -05:00
Mike Blumenkrantz 3b717abf2f fix use after free when renaming a bryce
fix T4784
2016-11-18 11:31:46 -05:00
Mike Blumenkrantz c85de6f35b force recalc on bryce scroller when doing recalc on gadget site
should have no functional change
2016-11-18 11:28:19 -05:00
Mike Blumenkrantz 9931658f7f loop bryce autosize recalc when gadget site has not yet calculated its size
fixes moving of autosizing bryces
2016-11-18 11:25:57 -05:00
Mike Blumenkrantz e86e532dcd rename bryces when changing anchors 2016-11-18 11:25:50 -05:00
Mike Blumenkrantz c56b14538b avoid extra recalc when resizing a bryce on its oriented axis 2016-11-18 11:25:31 -05:00
Mike Blumenkrantz 951edff8c6 fix bryce upgrade path from 0 -> 2 re:naming 2016-11-18 11:25:13 -05:00
Mike Blumenkrantz 6396055260 trigger bryce menus from right click if event has not been consumed 2016-11-18 11:25:10 -05:00
Mike Blumenkrantz 95696c6d7d remove unused attribute from used param 2016-11-18 11:25:07 -05:00
Mike Blumenkrantz efdeef7cc5 add gadget_site_(un)locked smart callbacks for forcing gadget site visibility
useful for cases where the gadget site has no popups to manage but visibility must
be maintained

ref T4732
2016-11-18 11:24:06 -05:00
Mike Blumenkrantz 1dfe41b392 force bryce visibility during editor activity
ref T4732
2016-11-18 11:23:50 -05:00
Mike Blumenkrantz 7a54c3d0a7 also do full bryce rename when moving between zones 2016-11-18 11:23:31 -05:00
Mike Blumenkrantz 583b57470c further improve bryce portability across zones
also fix typo from yesterday which broke everything and was definitely not
noticed by anyone
2016-11-18 11:23:27 -05:00
Mike Blumenkrantz 8add85a636 add zone number to bryce names
fixes usage of bryces in identical setups on different zones
2016-11-18 11:23:21 -05:00
Mike Blumenkrantz 15a23bdd75 fix bryce check for shelf existence on orientation/anchor to break when expected
restores missing anchor points when adding/moving bryces
2016-11-18 11:23:16 -05:00
Mike Blumenkrantz ad15b38907 enforce bryce resizing when orientation changes
screens are not square, so this would never have worked
2016-11-18 11:20:57 -05:00
Mike Blumenkrantz 34d94929f8 do not update bryce layer when restacking to a higher layer than CLIENT_ABOVE 2016-10-04 09:37:15 -04:00
Mike Blumenkrantz b0c78ef37d clamp bryces to a lower canvas layer
note to self: if you remember why you had these at POPUP, annotate the reason
here...
2016-10-04 09:37:14 -04:00
Mike Blumenkrantz 8140f8092c track current bryce geom, force recalc on gadget site upon change
elm scroller is very resistant to recalc, so it's necessary to trigger it
manually by resizing the scroller's contents

fix T4339
2016-08-19 18:51:22 -04:00
Carsten Haitzler 59e2eb40f8 warnings - silence some theoreitcal wranings in build
a bunch of "potentially uninitialized variable" warnings fixed.
2016-05-15 23:14:15 +09:00
Mike Blumenkrantz 5494ddd424 enforce bryce zone setting and clip setting
resolves issues where non-primary screens would have differing behaviors
2016-03-14 14:27:15 -04:00
Mike Blumenkrantz 15a918d3c7 during bryce moveresize callback, return if no zone could be located
probably some crazy animation going on, ignore this case

CID 1352828
2016-03-10 11:59:58 -05:00
Mike Blumenkrantz 69fe80959b manually calc bryce center-screen coords
e_comp_object_util_center_pos_get() uses zone useful geometry
2016-03-08 13:00:43 -05:00
Mike Blumenkrantz b3cda14e1b add bryce autohide/size getters, pull related values into wizard 2016-03-08 12:43:35 -05:00
Mike Blumenkrantz 82a4dbda8d enforce accurate resizing/orienting when changing the location of a bryce 2016-03-08 12:31:10 -05:00
Mike Blumenkrantz 6e032ce35d add bryces: new shelf replacement
see e_bryce.h
2016-03-04 14:23:44 -05:00