Commit Graph

110 Commits

Author SHA1 Message Date
Simon Lees 3331e87184 Tasks: choose a readable default preview size.
The preview at 32px is practically unreadable 240px is probably
a much more sensible default value
2022-03-04 19:11:15 +10:30
Carsten Haitzler ac70f6ce26 tasks - handle shutdown case with still existing clients in list
avoid accessing possibly freed/deleted clients in the case of a clean
shutdown if clients still exist.

@fix
2021-09-17 00:07:53 +01:00
Carsten Haitzler dd61dc4c6b tasks - fix focus mess with preview popup so focus stays where it is 2021-04-21 11:04:29 +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 b10be21d3d tasks - fix initial sizing in some cases to fill + expand 2021-03-25 12:17:20 +00:00
Carsten Haitzler 95d4a5a3dd tasks - fix sizing of items in box 2021-03-22 10:37:48 +00:00
Alastair Poole 2c26f09e3c tasks: pass events ctxpopup. 2021-03-08 17:07:02 +00:00
Alastair Poole ad43773245 tasks: fix for layer with winlist large. 2021-03-05 17:01:23 +00:00
Alastair Poole 4051c18a40 tasks: reset layer then unset layer block.
This fixes a horrible thing.
2021-03-05 13:03:05 +00:00
Alastair Poole 378d8a726c tasks: ensure ec is not null. 2021-03-04 20:00:06 +00:00
Carsten Haitzler 56e96cf9ab tasks - handle win del when it iconifies 2021-03-04 17:20:52 +00:00
Carsten Haitzler b5804d120a tasks - on refill ensure old icon is deleted and nulled 2021-03-04 10:17:30 +00:00
Carsten Haitzler 36b7e3c617 tasks - avoid seg on null client 2021-02-22 13:06:46 +00:00
Alastair Poole e47db1df54 tasks: Do not show preview if shelf is animating. 2021-02-06 10:25:31 +00:00
Alastair Poole 2c677a87dd tasks: Do not enable preview during iconifying. 2021-01-29 21:41:56 +00:00
Alastair Poole d2df05b36b tasks: fix "lost" window.
We can hide the e client frame during a uniconify if the user is
trigger happy (like me). It would be better if the effect could
be reversed during the iconify event.
2021-01-29 12:58:16 +00:00
Brian 'morlenxus' Miculcy 0e4b8509dd tasks - add options to show windows form all desks/screens
@feat
2020-11-11 13:43:45 +00:00
Alastair Poole 4ac98d41d4 tasks: Icon Size / Config Dialogue.
If "icon only" use the container's dimensions.
Fix config dialogue anomaly.
2020-09-17 00:17:02 +01:00
Alastair Poole 728a04274b tasks: make sure popup goes away.
Playing around with steam/optimus/linux/multiple heads the popup
stuck around when i did something very unusual, so make sure it
goes...trust me i'm a professional....
2020-08-25 17:40:02 +01:00
Alastair Poole e7c4016a69 tasks: fallthrough popup location.
This behaviour can be more intelligent, but for now it covers most
cases. Yet to see tasks in use in the wild outside a shelf, though
it can happen so should be giving something reasonable for this
choice.
2020-08-21 10:31:44 +01:00
Alastair Poole ffbb8464f2 tasks/ibar: Use correct struct members for geom.
Oops :)
2020-08-19 11:53:16 +01:00
Alastair Poole 9be3d2ad58 tasks: Too much padding.
No need to pad that so much...it looked bogus.
2020-08-18 22:48:12 +01:00
Alastair Poole 088b1b26c9 tasks: Add a Live Preview.
If it breaks, revert the patch. Try again with another batch...

o/ \o/ ???
2020-08-18 21:56:28 +01:00
Alastair Poole c1a8ae187e modules. Small text fixes for modules, module.desktop 2020-07-19 12:34:47 +01:00
Carsten Haitzler cbca5fa3f3 tasks - apply min size to icon only mode too 2020-05-03 21:07:01 +01:00
Carsten Haitzler 63f2d0ba95 tasks - dont use ignore flag on remove of client
this may be causing stale clients to stary in the tasks list. this
might fix it, but i'm not sure as i can't reproduce.

adresses T7223 or at least mhy comment on the valgrind log

@fix
2018-08-04 14:33:49 +09: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
Mike Blumenkrantz 43976c8b85 check correct client prop bitflag in tasks module event
CID 1379944
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz 6f2fb8b071 refill tasks gadgets on MISC client property events
fix T5769
2017-08-18 15:52:50 -04:00
Mike Blumenkrantz 787c7825d2 unify tasks module client property handlers 2017-08-18 15:52:50 -04: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
Derek Foreman 4cf555f36e Replace all timer_reset with timer_loop_reset
Another sed bomb - didn't occur to me first time around to
check for this.  Cleans up more clock_gettime calls.
2017-02-06 15:59:25 -06:00
Derek Foreman 73aecd73ab Replace all timer_add with timer_loop_add
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.

It would be really nice if I'm not wrong. :)

The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.

 #YOLO
2017-02-03 15:52:28 -06:00
Carsten Haitzler 3779086a63 e icon - use new skip header async preload to make icon loads async
now they can be trule async hopefully stopping things like application
menu from stalling while loading icons header... which is really nasty
with svg's. this actually makes icons async by default which is really
EXACTLY what you want. this also prepares for later making edje loads
async.

@feature
2017-01-02 09:51:57 +09:00
Carsten Haitzler 27cd2afdfd tasks - calculate min width properly given a known height of a gadget
this also should apply to calculating height correctly given a known
width - ie horiz or vert taskbar in a shelf. without this you can't
calc min size correctly from the theme.

@fix
2016-12-26 11:25:40 +09:00
Carsten Haitzler dbd5855ac7 tasks - fix fresh segv added in stack support
this fixes T5031 and fixes D4504
2016-12-21 09:48:47 +09:00
Carsten Haitzler 612f168086 tasks + stacks - use base icon not top one to be simpler to implement 2016-12-20 18:57:19 +09:00
Carsten Haitzler c6fa2f6457 tasks - add stack "hiding" support and only show top stack item
this makes tasks behave like you'd expect with a stack - only show the
top one and track properly. tasks was simple and easiest to do first
as it has little fluff other than the tasks logic itself. other
elements of e next...
2016-12-16 18:59:56 +09:00
Mike Blumenkrantz c53a6efc8d add client util function for detecting popups, block popups in ibar/tasks
mainly a wayland issue where popup menus would cause the tasks gadget to
grow and shrink uncontrollably
2016-05-18 14:43:21 -04:00
Mike Blumenkrantz 9f52dfa50c remove deleted clients from tasks client list during repop
fix T3369
2016-03-28 12:59:45 -04:00
Mike Blumenkrantz 488ece76a6 do not add deleted clients to tasks gadgets 2016-03-28 12:59:34 -04:00
Mike Blumenkrantz 90071799a8 block task gadget refills while a drag is active
it's impossible to use a pager effectively with a task gadget due to
the constant resizing of the tasks gadget during any kind of window move
2015-11-19 15:34:19 -05:00
Mike Blumenkrantz 52866a300a do not refill all tasks bars when a sticky window changes desks 2015-11-12 17:34:42 -05:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz b526ee200e fix tasks gadget parenting
gc->o_container is NULL for desktop gadgets

ref T2336
2015-04-23 08:42:09 -04:00