Commit Graph

568 Commits

Author SHA1 Message Date
Carsten Haitzler 93fa4e6393 pager - don't keep building up more popups on popups on switches
re-use the existing popup and stop stacking more and more.

@fix
2022-01-31 11:39:15 +00:00
Carsten Haitzler 1c225c082d remove unsed vars 2021-07-26 21:34:27 +01:00
Carsten Haitzler 28258cf105 pager - remove desk show coede on swap as it just locks up desk switchn
middle mouse drag on pager to swap whole desks is a bit borken with
this code - remove it.

@fix
2021-07-26 20:29:50 +01:00
Carsten Haitzler 9243554dd8 pager - allow pager popup action to stay up and dnd windows 2021-05-18 12:14:28 +01:00
Carsten Haitzler 9145276a20 pager - remove debug printf 2021-04-20 18:58:08 +01:00
Carsten Haitzler d277df0a51 pager - fix asan report on use after free on gadget shutdown 2021-04-16 15:53:02 +01:00
Carsten Haitzler 484c9f5818 e - module icons ... the great flattening begins... (partly done)
did a chunk of the module icons, but not all. it now matches flat.
2021-04-05 23:45:47 +01:00
Carsten Haitzler 077f704fd0 pager - allow for a new optional parent edje obj for spacing control
i use this in flat to make items overflow their inset padding in some
cases like .. the pager (tasks, ibar do this too but do it per icon)
2021-02-09 13:24:13 +00:00
Carsten Haitzler 7e42390874 pager - clean up some whitespace and formatting
also cut some lines that can be moved into variable decls
2020-12-10 15:39:41 +00:00
Carsten Haitzler 0093c9baa1 pager - try a fix for a pager segv - cant reproduce though
a bit of i dotting and t crossing as to try stop this from happening
again
2020-10-17 21:00:30 +01:00
Alastair Poole caa18034ab pager: ensure this works with legacy themes. 2020-08-26 13:08:35 +01:00
Alastair Poole d4d784e56e pager: Fix pager sizing/resizing when on the desktop.
Adding a pager to the background/desktop caused some issues for
users. This resolves the issue, whilst trying to remain readable.

@fix
2020-08-26 12:22:12 +01:00
Carsten Haitzler 0b1c4100ef e gadgets - as per email to e-devbel - it's easier to fix old so rm new
new gadget infra--
2020-07-07 23:34:27 +01:00
Carsten Haitzler b519c44c67 pager+thumb - speed up thumb generation and pager aspect
pager didnt reset aspect after setting min size. fixed. also improve
thumb generation by having no artifical delays. use idle enterer + job
wakeups instead. now thumbs appear almost instantly.

also remove initial pager popup on starup that is just not needed.

fixes T8314
@fix
2020-06-13 16:22:07 +01:00
Elyes HAOUAS 4d51984286 tree-wide: get rid of trailing whitespace (part 11)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11831
2020-05-14 14:17:17 +02:00
Simon Tischer 5853fca2d4 netstatus/batman/pager - slider stepping fixes with mousewheel
detail work on pager(gadget) settings

- changed indicator format to slider format
- changed steps to make more sence

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11693
2020-04-13 08:09:55 -04:00
Simon Tischer 23a6a67290 various settings dialogs: sizing/align optimizations
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11682
2020-04-11 11:35:32 -04:00
Carsten Haitzler 276eb5b091 pager - remove unsued vars from segv fix 2020-02-16 12:45:26 +00:00
Carsten Haitzler 20aaa9464b pager - new gad - fix segv on vdesk size config change
match old pager gadget logic as it's happy to not crash when the
virtual desktop count config changes

@fix
2020-02-16 01:18:23 +00:00
Carsten Haitzler 3e4ff27c19 pager - more direct config from right click menu 2019-09-19 19:20:41 +01:00
Carsten Haitzler 6bdcf92563 pager - fix vanishing windows when dnd from desk to desk in pager
windows would vanish at times (eg dnd into an empty desktop in the
pager). this was pretty disconcerting and a problem, so this fixes it
with a bit of a sledgehammer, but it fixes it.

@fix
2019-01-28 19:06:39 +00:00
Carsten Haitzler 6d0ea31870 pager - fix dragged win offset to be correct, not top left
when you dnd'd a window around it just always jumped to an odd
position. now it drops where you drop it.

@fix
2019-01-28 19:06:33 +00:00
Carsten Haitzler 9f664bc785 pager - fix small issue - raise window on drag start
visually when u start to drag a window in pager it raises because of
dnd... so raise the real window too so they match. it looked weird
otherwise.

@fix
2019-01-28 19:06:21 +00:00
Alastair Poole 569722a4ed gadgets: pager (fix crash on mouse up).
Summary:
Animator was crashing due to invalid memory access.

This resolves this problem.

Test Plan:
* Add new gadget pager to desktop/bryce.
* Move window within pager boundaries.
* Finish window drag within pager.
* CRASH of animator thread (or worse).
* Apply patch.
* Use new peger without fear of disaster.

Reviewers: raster, zmike, cedric, stephenmhouston, devilhorns

Reviewed By: zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D7536
2019-01-03 18:51:15 +00:00
Chris Michael 7300af7aca pager: Remove unused function declaration 2018-11-08 10:37:13 -05:00
Carsten Haitzler c49f49829f gadgets - get long press plus dnd to behave nice
we had multiple drag resistance values here - unify with 1 and make it
work, now it gets it right deciding between dnd and a long press menu
etc. etc. ...
2018-10-29 17:32:51 +00:00
Carsten Haitzler e4339f4819 bryce - improve usability from code and user by having std right menu
now right click on any gagdte in bryce and they ALL have a menu that
allows removal of the gagdte bar or the gadget as well as access to
gadget settings AND the ability for gadgets to extendthis menu like
lunhcer does per icon. now it's standard behavior everywhere which is
much easier to use and discover. it also removes code from every
gadget to do their own "button 3" handling as its handled centrally
making the code in gadgets simpler.

this is part of my effort to improve usability (mostly discoverability
and accessibility of settings/features).

also  long press left mouse gets u gadget right click menu

this has to move many modules/gadgets actions to mouse up instead of
mouse down so the bryce has a chance to trap the events first and set
hold flags. but now long press for 0.5 sec and bryce menu come sup
(with left mouse .. so touch friendly).

in addition move context menu hanbdling to e_gadget instead of in
bryce and in e_gadget. a context callback is called so different
systems can still do different things. this should probably change to
always pop up a mnenu and simple call populate callbacks for site
owner specific content.

all in all it makes the new gagdtes more consistent, easier to use
(without a right mouse button), doesn't need special action bindings
etc. etc.
2018-10-11 16:25:10 +01:00
Ross Vandegrift 629f7d41c8 clean up .desktop files and misc typos
Summary:
Drop deprecated Encoding key from desktop files

The Encoding key is no longer required, all desktop files are assumed to
be UTF-8 encoded.  See details at:
https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html

Fix various typos and misspellings

lintian, Debian's package checker, uses strings to check for common typos
in compiled binaries.  This change fixes the ones it identified in 0.22.1.

Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5585
2018-01-04 09:57:52 -05:00
Mike Blumenkrantz 99db9e2557 more E_BITFIELD conversions 2017-11-08 09:22:24 -05:00
Stephen 'Okra' Houston 24591631ee Pager gadget config: Don't add icon to an evas, add it to an elm widget.
This fixes T5952
2017-09-12 12:16:32 -05:00
Mike Blumenkrantz 340350fbbc make some pager global vars EINTERN 2017-09-08 14:53:52 -04:00
Mike Blumenkrantz 1a241a6c68 fix uninitialized var warning in pager 2017-09-01 13:40:12 -04:00
Mike Blumenkrantz ef6197b119 do not force client focus setting after calling e_desk_last_focused_focus()
in some cases focus setting must be deferred, and forcing focus in these cases
will create focus bugs

ref 9ae24a3a4a
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz e0ff23d83b block pager gadgets on desklock sites 2017-09-01 13:40:12 -04:00
Mike Blumenkrantz 5f75193054 always set gadget ids when creating new non-demo gadgets
ensure gadgets aren't pruned on edit end
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz 6dd9205e0a rename E_EVENT_COMPOSITOR_RESIZE -> E_EVENT_COMPOSITOR_UPDATE 2017-09-01 13:40:11 -04:00
Carsten Haitzler 9ae24a3a4a e client focus - fix focus if moving focused window to new desk - long
fix client focus the very very very long way vs
418319fc94
2017-09-01 19:29:03 +09:00
Stephen 'Okra' Houston 03ea4bfe39 Pager: Remember to remove deleted desks. 2017-08-30 13:22:23 -05:00
Stephen 'Okra' Houston 18ce3e4d93 Pager: Don't empty/fill pager unecessarily. 2017-08-30 11:27:45 -05:00
Mike Blumenkrantz b5e75eb264 formatting
lot of mixed spaces/tabs here made the code unreadable
2017-08-29 15:32:18 -04:00
Stephen 'Okra' Houston 2ab2fe18ea Pager: Add the option to switch between live and plain pagers as well as switch to plain pager when saving power. 2017-08-26 14:24:20 -05:00
Mike Blumenkrantz 592c2c7499 block some gadgets from appearing on desklock gadget sites
ref T4648
2017-08-25 14:47:10 -04:00
Stephen 'Okra' Houston ae9966970b Pager gadget: Take advantage of new theme. For this to work, you must update EFL first. 2017-08-23 15:28:28 -05:00
Mike Blumenkrantz c31cb51499 replace <br> with <ps/> for all text 2017-08-21 10:16:35 -04:00
Marcel Hollerbach 5b03bfabc3 pager: do not define Config twice 2017-08-08 18:46:45 +02:00
Marcel Hollerbach 29901d67b2 meson: use file instead of doing the relative path by hand
a reason for doing that is that you can just pack together targets into
a array and pass them to our helper, and the helper will just handle
them, so even module with eldbus codegen etc is now supported.

This also means that we are just passing the src object directly into
the shared_module call, which means the user of our helper can just pack
everything he needs into the src var and the helper does not need to
know about it.
2017-08-08 18:38:37 +02:00
Carsten Haitzler 69290dd7f4 e module build - make build files far more generic and far smaller
now mdoule build files that fllow one pattern (the most common by far)
all JUSt list their souce files and nothing else. this really cuts
down on build size/complexity.

there are other patterns too (no icons at all) that i'll do next, then
we're down into "weird" land where i'll have to think of some more
interesting ways to deal with this.
2017-07-29 08:55:36 +09:00
Carsten Haitzler 84bf48b3ed module build - clean up and fix meson install of pretty much all modules
so we';re missing installing desktop files. edj icon files, wizard
data files in the wrong place, and much more. this also cleans up the
module meson build of pretty much all modules and make their build
files cimple and consistent so it's far easier to re-use things from
one module to the next. we should aim for simplicity, consistency
between as much as possible so we can refactor and turn into maybe
functions later. imho that starts with consistency though. until i can
see all the common patterns clearly, i don't want to write functions
yet. it's easier to see if all the files are consistently using the
same vars and formatting etc. etc. etc.

but either way the installation needs fixing so it installs all files
in the right places with the right permissions etc. etc. etc.

this doesn't fix all module build files bt all the ones i found that
were broken installs and they use what i think is a cleaner/simpler
template, BUT there is far too much copy & pastage here... far too
much.i need to find a cleaner way to automate this.
2017-07-27 14:29:30 +09:00
Mike Blumenkrantz e8dc71cd48 meson. 2017-07-20 17:18:33 -04:00
Mike Blumenkrantz b7e8e886e9 do not generate module.desktop files
the purpose of this is to allow variable substitutions, but no desktop
files do this so it's a waste of build time for no reason
2017-07-14 18:40:50 -04:00