Commit Graph

21205 Commits

Author SHA1 Message Date
Carsten Haitzler cef95a0189 shot - reset cnp flag once cnp'd
otherwise we segv assuming we are doing cnp still and access a null
cnp_file.

@fix
2022-01-22 18:45:38 +00:00
Carsten Haitzler ea97371770 focus out - ignore all ungrabs as we unfocus a window that should be
this fixes a boundary case on mouse ungrabs

@fix
2022-01-21 21:05:32 +00:00
Carsten Haitzler 921f5208e7 xkb config - fix segv on close advanced mode dialog
didnt remove the lists with del callbacks that accessed the cfdata
struct to set lisrts to null on del before cfdata was freed...
callback hell. yay.

@fix
2022-01-21 16:10:38 +00:00
Christopher Michael 6d2b5e9144 e_about: Update copyright year 2022-01-20 11:37:36 -05:00
Carsten Haitzler b84fc34d08 bz5 - dont ping devices on unpowered adapter
@fix
2022-01-20 11:12:22 +00:00
Carsten Haitzler dcc02e3bd2 notification - fix shadow around extra notifications when all shown
if you show notifications on all screens the extra ones not on the
current screen get a shadow - this is wrong. this fixes that

@fix
2022-01-19 11:52:36 +00:00
Carsten Haitzler 264b59c42f gesture - add an option to turn it all on or off
so - some people have issues if we open devices. why... i don't know,
but add an option to toggle this and be conservative and have it off
by default

@fix
2022-01-18 21:17:54 +00:00
Carsten Haitzler 29e1a12da3 backlight - add option for ddc to work or not
just because libddcutil is installed doesnt mean someone always wants
backlight on monitors controlled, so allow an option.
2022-01-17 22:23:07 +00:00
Carsten Haitzler 58462390be ibar - emit left/right a;ign if gadcon is left/right vertical
@fix
2022-01-17 20:56:45 +00:00
Carsten Haitzler f615a2120d theme - ibar/ibox label overlay - properly align with text min size
@fix
2022-01-17 20:56:03 +00:00
Carsten Haitzler 6ad07d07c2 fileman - fix favorites to scale
@fix
2022-01-12 14:24:34 +00:00
Carsten Haitzler b6da0ac873 bluez5 - dont need the force conenct option it seems - cant find a need
if connected AND trusted it should conenct again next time you power
them on etc. ... so .. let's remove extra option cruft we seemingly
don't need - less confusion for users

@fix
2022-01-09 16:40:21 +00:00
Marcel Hollerbach f7708c6e74 focus: leave frame focus setting here
that might cause bugs, however, everything else might end up in a
endless recursion.
2022-01-09 17:38:55 +01:00
Carsten Haitzler 47767cf645 bluez mod - on unload deregister gadcon class
fix leak of this class on unload.

@fix
2022-01-09 15:26:03 +00:00
Marcel Hollerbach 841c8f477f focus: do not revert to another client when client is unfocused
This was a nice idea to fix most focus bugs at once. However, due to the
runtime of e many things can get "randomly" focused, for exmaple: volume
control on the frame, internal dialogs, config value screens when
grabbing for keys, widgets when they get created in a gadget. The list
is quite long. However, fixing all those little bugs is hard and partly
impossible as the behaviour is correct in the context of a toolkit, not
in the context of a compositor.

Long term we should split window-focus and canvas-focus from each other,
then bugs like these would not be a problem anymore.
2022-01-09 15:51:34 +01:00
Carsten Haitzler aff854b2ea e focus - volume - dont allow obj focus that disturbs the rest of e
this messes up focus on windows etc. ... quick fix - dont allow the
slider to be focused... :)

@fix
2022-01-09 14:48:26 +00:00
maxerba a471788444 Updating french and portuguese translations 2022-01-09 09:31:34 +01:00
Carsten Haitzler 61584a5f57 e focus - fix previous commit segv on no windows left
if window deleted is the focused on... oops - BOOM. not handled.
handle it. also revert x focus to root so bindings work.

fixes previous 2d86d75139

@fix
2022-01-07 00:10:13 +00:00
Marcel Hollerbach 1f69e41daa add forgotten header define 2022-01-06 21:40:14 +01:00
Marcel Hollerbach 2d86d75139 e_client: revert focus instead of setting it to NULL
When closing a client a few different things can happen:
1. Client hides, this will destroy the e_client object, which will
   reverts focus to another client.
2. Client hook del, this will recover focus to the root window if no
   e_client is focused.
3. Client unfocus event, setted the focused to NULL and sets the focus field to 0.

when first 1 happens then 2 or 3 everything is fine. However, it seems
that sometimes first 3 happend, then 2, then 1. Which results in focus
beeing first NULL, then recovered to the root window, resulting in the
wrong things happening.
2022-01-06 20:57:38 +01:00
Carsten Haitzler e2e1b1956d e_icon - switch from edj/std icon to custom img file properly
@fix
2022-01-05 11:50:33 +00:00
Carsten Haitzler 0f17a85674 systray - add more debugging to find clients that act oddly
@fix
2022-01-05 11:50:11 +00:00
Carsten Haitzler 0603300828 e - border list - fix list to filter volume out
the volume style is not a border but the gadget - a mistake made long
ago when this was added. cant change now due to theme compat to filter
out in code

@fix
2021-12-31 13:25:45 +00:00
Carsten Haitzler ba156d2f46 gesture - vm (vbox) detect hack to work around xorg no display bug
so... you go through wizard - only in vbox it seems (or maybe other
vm's - don't know - only tried vbox - this doesnt happen on real
systems). at the end e restarts... and it's blank. e is actually
rendering. you can screengrab (eg import -window root out.png) and see
the screen drawn just fine. xrandr is all set up right - everything is
kosher... but nothing will display except the curosr. xorg is just not
displaying rendered content. somehow e's gesture code and use of
logind/libinput to get inpiut devices for gestures tickles this xorg
bug. i don't quite know why as xorg doesnt seem to be complaining.
once you restart the xorg process everything works fine from there on.
it's some bug inside xorg that just refuses to display output.
manually changing resolution with xrandr will reset things and have
things render... until e restarts. a fukll xorg re-run is needed to
fix it... there just is nothing i can see that e is doing wrong or to
fix in e... so this is a workaround the xorg side by just not using
the gesture support if on a vm. they won't have touchpads anyway and
emulate mice so ... no real loss. this won't affect peolpe on real
systems and it may not always work as a workaround as it relies on
systemd-detect-virt or hostnamectl.

@fix
2021-12-30 17:03:35 +00:00
Carsten Haitzler 0404e68632 windows - netxcloud app - fix constant show/hide cycles
e is not ignoring the first unmap event on this reparent ... this
fixes that and the nextcloud app stops making e sit and spin at full
cpu and flickering tasks etc.

@fix
2021-12-28 18:38:52 +00:00
Marcel Hollerbach 1766779b19 it should be edd not eed ... :( 2021-12-17 13:19:28 +01:00
Marcel Hollerbach b237764161 e_pointer: improve overall
do not allow a dangling pointer, and check all entities that require the
pointer object to be alive.
2021-12-17 13:12:02 +01:00
Marcel Hollerbach 36eafd9a0e do not crash when context is NULL 2021-12-17 13:09:55 +01:00
Carsten Haitzler d936a22ff6 e temp - use labels not paths to match sensors - more reliable
the device PATHS may change - depending on probe times/order and luck,
so use the labels to match as these should be more reliable boot to
boot.

@fix
2021-12-14 19:53:02 +00:00
Christopher Michael b13a34cfeb shot: Remove unused variables and unused function 2021-12-07 09:03:43 -05:00
Carsten Haitzler 5ce8d65020 shot - make initial size fit as best as possible and be big 2021-12-07 12:52:12 +00:00
Carsten Haitzler f098843f01 lokker - remove extra ptr pop that doesnt seem needed - fix blanking ptr 2021-12-07 12:52:12 +00:00
Carsten Haitzler 01ff5b2958 paledit - make the major colors uses bigger 4x4 items in pal thumb 2021-11-24 20:25:46 +00:00
Carsten Haitzler 03f6b0bfe6 settings - add a palette entry under look and in main menu for shortcut
now paledit is where you'd expect it in settings
2021-11-24 19:13:55 +00:00
Carsten Haitzler 07274b9495 e transitions - add theme anim duration multiplier setting
this is a universal knob for "make those transtions faster". set it ot
0 and edje animations will essentially stop and be instant (take 0
time). if set to 1 - they will go at "theme defined", 2.0 == take
twice as long etc. ... so for people who want "things to go faster"
slid this down to where you like it. they dont actually go faster... e
goes just as fast - just some transtion takes less time (fewer
frames)... :) this has been in elm and edje for a long time but this
makes the setting obvious to find.
2021-11-24 18:39:11 +00:00
Carsten Haitzler 901ad50f25 e wp gen - use threads to speed up encode of wp edj file 2021-11-21 21:14:56 +00:00
maxerba da57d62f37 Translated strings for french, italian and portuguese 2021-11-16 14:45:13 +01:00
Carsten Haitzler 726bcf194d fprint - fix thumb and little finger swap on right hand in both hands 2021-11-15 10:47:35 +00:00
Carsten Haitzler cb0090e051 fprint - fix index and ring finger on right hand both - they got swapped 2021-11-15 10:31:45 +00:00
Carsten Haitzler 88d66f3ed7 paledit - fix main window ot be named main 2021-11-14 15:17:09 +00:00
Simon Tischer 60eb60aa75 add e-fprint-gui to e
Summary:
add e-fprint-gui to e

e-fprint-gui is a frontend for fprint (Fingerprint Config)
you can enroll/delete/verfiy fingerprints.

http://www.enlightenment.org/ss/display.php?image=e-6180733de57892.39469053.jpg

Reviewers: devilhorns, raster, bu5hm4n, morlenxus

Subscribers: cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D12305
2021-11-14 15:17:02 +00:00
Carsten Haitzler 1b02c4c6ab connman gadget popup - fix sizing to scale better 2021-11-12 22:47:16 +00:00
Carsten Haitzler fc5ec2b00c virtual desktop bgpreview - dont do min size so we loop forever
this fixes T8968
@fix
2021-11-12 19:16:30 +00:00
Carsten Haitzler 8edf2fc0a3 e start - force stdout/err to go to specific log files
~/.e-log.log is now the stdout/err from e and child processes. finally
it always goes to a single known file. always. e will rename the old
old ~/.e-log.log.old on start - e_start handles this before it execs e.
2021-11-11 14:25:44 +00:00
Carsten Haitzler 86dd52026a e start - make e exit with parent when possible
also clean up some formatting
2021-11-11 13:37:18 +00:00
Carsten Haitzler 422b757080 e start - remove valgrind run infra - i don't see people using it
also it seems to have broken. simplifying e start to flesh it out in
more useful ways for more people
2021-11-11 12:05:09 +00:00
Carsten Haitzler 98ebe14ffd e start - clean out some unused junk in code and output 2021-11-11 11:31:17 +00:00
Carsten Haitzler 662caef984 e - shape input - dont change/reset shape input on override wins
this will wipe out what the client set - this is valid for managed
clients only, not override windows.

this fixes teams and its big fullscreen sized window eating up events.

@fix
2021-11-09 15:47:21 +00:00
Christopher Michael de1cd33e75 e_bindings: Minor formatting fixes
NB: No functional changes
2021-11-06 13:16:16 -04:00
Marcel Hollerbach d28c105c99 e_main: shutdown e_dnd before comp
otherwise we are crashing as e_comp is freed by that time.
2021-11-02 17:43:11 +01:00
Marcel Hollerbach e64e7d77c6 music-control: do not crash when no config is selected
this is a fresh config crash.
2021-11-02 17:10:46 +01:00
Carsten Haitzler 3bfb563679 paledit - add undo/redo with escape as undo
now you can rescue yourself from badness...
2021-11-01 12:49:59 +00:00
Carsten Haitzler c3189d60e7 paledit - add a bunch of tooltips to help the UI 2021-10-31 18:49:43 +00:00
Carsten Haitzler 1166e4e7ed paledit - make del button become reset if there is a shadow sys pal 2021-10-31 18:24:48 +00:00
Carsten Haitzler 921e379155 paledit - use new api's to list available cc's
this makes paledit friendlier

still things to do:

1. reset a palette (rm the user copy)
2. undo/redo
3. tooltips
2021-10-31 11:46:31 +00:00
Carsten Haitzler 356d2a6428 ibar - go back to a traditional del timer/add dimer and no reset model
for mousover menu show... as per the subject
2021-10-27 18:02:50 +01:00
Marcel Hollerbach 28b0ce28ac e_bindings: do not crash when action is not found 2021-10-17 10:43:30 +02:00
Carsten Haitzler b8dacd7087 e exec recent files - filter out files that don't exist at some points
if files do not exist anymore, then filter them out.
2021-10-15 20:18:01 +01:00
Carsten Haitzler c63b005b92 e - exec - recent - fix loading of prevous recent data on append first 2021-10-15 08:56:29 +01:00
Carsten Haitzler 8b16ea75a0 efm - add a rfecent files menu (up to 30) wirth minimal mime icons
efm now tracks the most recent 30 files opened with timestamps in
100th of a second and a menu with these recent files under
main menu -> navigate ... the icons are plain mime type icons and not
thumbnails as the efm code isnmt really usafle to create icons in
menus without a lot of work. something to keep in mind for the redo of
efm... :)

at least you can easily access recently opened files with efm now :)

@feat
2021-10-09 11:59:59 +01:00
Carsten Haitzler c7999bb789 protect against possible junk fullscreen windows in list 2021-10-04 13:35:08 +01:00
Carsten Haitzler 36dac31c8f mixer - add some more device icons 2021-09-29 08:45:26 +01:00
Carsten Haitzler 32255d0122 e - fix a null csd property on a ssd x win - new chrome does odd things
new chrome versions now set a CSd gtk property of 0 0 0 0 on
windows.... but set it later on thus confusing e into seeing
information changes for csd frame insets for a window that has no csd
frame but is ssd! this drops into a logic hole of "this shouldn't
happen" and weird stuff does happen. avoid this weirdness and just
assume a ssd window as normal then.

@fix
2021-09-23 12:51:48 +01:00
Carsten Haitzler c9070fc03f add details to error complaint of setting csd frame on ssd win 2021-09-23 12:50:37 +01:00
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 4cd3bb45c4 convert a whole lot of CRIs to ERRs that will not be useful with aborts 2021-09-12 09:14:42 +01:00
Carsten Haitzler f8d8d82d34 temp - we free sleeper in the cthread cancel cb 2021-09-08 08:56:15 +01:00
Alastair Poole 572955d2e5 procstats: revert dont dont block.
load/unload.
2021-09-08 07:26:14 +01:00
Alastair Poole fd42187935 procstats: shutdown dont wait.
Don't block.
2021-09-07 22:01:46 +01:00
Alastair Poole 1f6ab7d860 procstats: name and feedback thread.
Struggled to read my own code. This seems clearer now.
2021-09-07 21:23:07 +01:00
Carsten Haitzler 664b44631d procstats - make use of gadget nicely 2021-09-07 14:05:56 +01:00
Carsten Haitzler c794168da6 procstats - dont leak objects - was not even needed 2021-09-07 12:15:50 +01:00
Alastair Poole 4fd87f338e procstats: delete don't dismiss.
Don't animate and less cleanup needed...also leak.
2021-09-07 09:12:13 +01:00
Alastair Poole 79a15be294 procstats: check null return / ptr. 2021-09-07 08:15:08 +01:00
Carsten Haitzler 5d3f6ad594 e utils - delayed dia del - try avoid multiple entries 2021-09-06 17:09:14 +01:00
Carsten Haitzler 59753eab23 e util - set idler to null first in case some del func hook adds it back 2021-09-06 08:28:01 +01:00
Carsten Haitzler 8095472f5d e util - fix leak - someone forgot to free their iterator 2021-09-06 08:28:01 +01:00
Carsten Haitzler 3e691525eb e util - handle empty array when clearing out the current dialog
missed having no array...
2021-09-06 08:28:01 +01:00
Alastair Poole 94ceea2a74 procstats: use after free.
Don't set callbacks on objects that persist longer than module.
Delete safely.
2021-09-06 00:14:51 +01:00
Carsten Haitzler 47aaa31886 e utils - ensure the delays dialog array does not have refs to freed dia 2021-09-05 19:25:24 +01:00
Carsten Haitzler d12acf0d01 ibox - track timer and elete it when icon deleted... bad tracking of tmr
if you create a timer for some object and are passing in that ptr to
the timer later.. what happens if that icon (object, struct etc.) is
deleted BEFORE the timer fires? timer fires passing in a junk ptr to
freed memory... and this causes bad things™. don't do this. track your
timers and delete them...
2021-09-04 08:51:50 +01:00
Carsten Haitzler 02ab631524 randr - use new refrsh api to work around server-side problems
in some situations the xserver randr driver doesn't refresh edid's on
its own. it should, but doesn't. for example - optmus setups. this
seems to fix it. works around that.

@fix
2021-09-03 09:10:17 +01:00
Carsten Haitzler 45938e3b48 e - fix dont blank with fs windows when a fs window exits 2021-08-20 12:17:06 +01:00
Carsten Haitzler 0bd602b7ed check glapi better and report errors sensibly if it fails init 2021-08-05 14:14:31 +01: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 a4626f87fd randr - allow custom names for screen (not output but model) 2021-07-22 10:56:02 +01:00
Carsten Haitzler a5efea6b52 askpass - pretty up a bit 2021-07-21 11:07:58 +01:00
Carsten Haitzler ce933dd5c1 efm - fix exif data parse - do by hand because sscanf is stupid
:)
2021-07-14 17:35:47 +01:00
Carsten Haitzler 571a188eb0 client list - other prop - not just stacking, keep internal wins out 2021-07-13 20:05:05 +01:00
Carsten Haitzler b2e79f46c8 e - netwm - dont include intnernal marker layer clients in clients prop 2021-07-13 19:53:44 +01:00
Carsten Haitzler 7d694d6eea xkb settings - fix typo copy & paste for advanced add ctrl opts
this fixes T8947

@fix
2021-07-08 17:51:02 +01:00
Carsten Haitzler 32e2825e93 auth - fprint - support any finger for auth instead of just first one 2021-07-07 13:12:27 +01:00
Carsten Haitzler 1fefd5aef9 mixer - fix accesses to invalid objects
one was a result of not turning off the source monitor and the other
not nulling out an obj handle.
2021-07-07 11:11:05 +01:00
Carsten Haitzler 28a43e0e7c auth - fprint - handle no finger reg and use default right index 2021-07-06 22:54:53 +01:00
Carsten Haitzler 32d642d338 system ddc - more of a delay at start after modprobe
it seems on starts while xrandr is busy talking to screens sometiems
one of my screens doesnt respond... unless we wait a bit. so .. wait
more.
2021-07-04 12:34:58 +01:00
Carsten Haitzler a197e3c1db ddc - support latest major version 2021-07-04 10:06:13 +01:00
Carsten Haitzler 2fbbb52f94 auth - fprint - only start after verify stop done 2021-07-03 00:18:42 +01:00
Carsten Haitzler 1cf5595208 auth and desklock - support auth by fingerprint and show status 2021-07-02 13:26:05 +01:00
Carsten Haitzler bf44092492 polkit- use nicerr icon when not told which icon to display
use lock icon.
2021-07-01 16:48:15 +01:00