Commit Graph

12901 Commits

Author SHA1 Message Date
Carsten Haitzler 374ed74049 win - first map - fix energyxt unmap bug by wiping ignore unmap
For some reason I have yet to divine we don't get an initial unmap
event due to the reparent of the energyxt dialog windows and the
"ignore that first unmap" flag does not get cleared because it doesn't
happen. later when the dialog is withdrawn {9unmapped) this is ignored
then when you close the dialog... thus keeping it around as far as e
is concerned.

so to fix this - add a small timeout to clean this flag after a
show/map.

@fix
2022-09-15 14:59:00 +01:00
Carsten Haitzler 671789b5a8 e comp - fix noisy debug printf due to previous fix
removes noise from 4c6dd08e25

@fix
2022-09-15 14:58:22 +01:00
Carsten Haitzler 8af3b69050 fix enlightenment help and version optiosn to exit after print
@fix
2022-09-15 14:57:56 +01:00
Carsten Haitzler d307aeb110 gtk frame porp change - if deleted for an existing csd app then adjust
assume it went to 0 size if removed and already a csd frame window
which is what chomium does going fullscreen - i didnt see this as i
used chromium with system titlebars not its own.

@fix
2022-09-15 14:57:48 +01:00
Carsten Haitzler 6cc05c5f3e e comp wl - fix warning for uninit var
actually code path wouldn't care, but this silences a warning

@fix
2022-09-15 14:57:42 +01:00
Carsten Haitzler 1d5c87845f open - fix warning with possible uninitted var
@fix
2022-09-15 14:57:21 +01:00
Carsten Haitzler 08b567f5ce e config - fix config fallback handling - it was broken
loaded the wrong filename pattern due to a change i made ages to it
from file.N.cfg to file.cfg.N.

@fix
2022-09-15 14:57:09 +01:00
Carsten Haitzler 68417de8ae client evas objects - fix - dont use precise for shaped input
shaped input doesnt affect or make custom copies of pixel data, thus
precise inside can't work (it can only work if the pixel data is local
- thus textur efrom pixmap is not going to produce valid data thus...
you get the drift). this fixes some odd focus/event things with some
windows that use shaped input only

@fix
2022-09-15 14:56:58 +01:00
Carsten Haitzler 2590043d15 gadcon - fix disabled items... this is a radio and switches a/b/c ...
just because an item is not the selected one does not mean it should
be disabled. that is not how radios work. you choose 1 of n menu
items... only items you should NOT select (are not available for
selection) should be disabled.

@fix
2022-09-15 14:56:28 +01:00
Carsten Haitzler b7d052704c e config - remove upgrade blocks for luncher + sysinfo
these are not even around so... dont enable them if going from a very
old cfg

@fix
2022-09-15 14:56:06 +01:00
Carsten Haitzler 7e896c71d7 touchpad input synaptics - fix tap to click props to work
if the driver if synaptics tap to click didnt work. this fixes that.
it didn't get the property values right in the "bitmask" enabling
buttons.

@fix
2022-09-15 14:55:37 +01:00
Carsten Haitzler df896fc6b2 focus action - raise/unshade/uniconify on focus dir/next/prev action
it's not right that windows stay shaded, iconified or stacked below
when you use a binding to switch focus like "focus prev" to cycle just
with a plain key. this fixes that

@fix
2022-09-15 14:55:21 +01:00
Carsten Haitzler ddc8b481e4 ptr - fix cursor getting stuck in resize after blanking
i now saw this... i don't know why now... and consistently. fixed.

@fix
2022-09-15 14:55:12 +01:00
Carsten Haitzler d2e8f98a19 pointer - null out deleted strings
avoids them being accessed incorrectly later
@fix
2022-09-15 14:55:04 +01:00
Carsten Haitzler 32ac825851 fix more unfullscreen clicker/toggle when window is small...
another codepath for the fullscreen flicker bug via the job handler

@fix
2022-09-15 14:54:57 +01:00
Carsten Haitzler bc2470cbd8 fix fullscreen flicker/toggle when window is small and we get mouse out
we get a spurious mouse out if your window is small then told to go
fullscreen which then causes in ponter focus a unfocus event which
causes e to restore window to its non-fulscreen mode which then may
cause a mouse in again if mouse is positioned right which causes a "go
fullscreen now again" and so on... fix this and ignore that mouse out
right after going fullscreen.

@fix
2022-09-15 14:54:51 +01:00
Carsten Haitzler 34c8ce2fa1 qrt bug workaround - qt does not remove WM_STATE when withdrawing
as per icccm - client should remove WM_STATE when withdrawing... and
qt relies on WM_STATE to know if it re-show a window - the property
it itself refused to remove...
2022-09-15 14:54:38 +01:00
Carsten Haitzler f4c58caf30 comp - fix event shape to account for txt/texblock and img properly
@fix
2022-09-15 14:54:13 +01:00
Carsten Haitzler 4c2633ae17 comp - fix shapoe event to skip clippers 2022-09-15 14:54:00 +01:00
Carsten Haitzler 8c0698c3dd overlay resize regions - properly sety shape rects to account for them
e didn't set shape rects for input overflow areas for the resize
handles in theme to work on top of other clients and client areas.
this should make that all work now and make the resize handle area
bigger than it actually looks.

@fix
2022-09-15 14:52:48 +01:00
Carsten Haitzler 5c7bd88632 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-02-10 09:52:41 +00:00
Carsten Haitzler 6d3a24be36 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-02-10 09:52:41 +00:00
Carsten Haitzler 7355d8d2a9 theme - ibar/ibox label overlay - properly align with text min size
@fix
2022-02-10 09:52:41 +00:00
Carsten Haitzler dd94b435a3 deskmirror - donbt show iconified windows
@fix
2022-02-07 19:04:07 +00:00
Carsten Haitzler 66b6d770d8 focus - fix some lingering mis-focus issues
finally fix T8980 (i hope)
@fix
2022-02-07 19:04:07 +00:00
Carsten Haitzler e571381227 modules - add procstats to whitelist 2022-02-07 19:04:07 +00:00
Carsten Haitzler 6a72eb3cee efm - recent - fix up mis-sorting on re-load and make icons better
was missing thumbnails - now do them. fix re-sorting of items weirdly
on re-load later.

@fix
2022-02-07 19:04:07 +00:00
Marcel Hollerbach 4814a63d4c e_client: fix more focus weirdness
parent should be raised, even though it is not the modal.
2022-02-07 19:04:07 +00:00
Carsten Haitzler 200fea6e38 focus out - ignore all ungrabs as we unfocus a window that should be
this fixes a boundary case on mouse ungrabs

@fix
2022-02-07 19:03:09 +00:00
Christopher Michael fdd31a87ee e_about: Update copyright year 2022-02-07 19:03:09 +00:00
Marcel Hollerbach 0e64bbfc56 focus: leave frame focus setting here
that might cause bugs, however, everything else might end up in a
endless recursion.
2022-02-07 19:03:09 +00:00
Marcel Hollerbach 35b8f86906 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-02-07 19:03:09 +00:00
maxerba 9881953815 Updating french and portuguese translations 2022-02-07 19:03:09 +00:00
Carsten Haitzler a034e94882 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-02-07 19:03:09 +00:00
Marcel Hollerbach cabb9aff01 add forgotten header define 2022-02-07 19:03:09 +00:00
Marcel Hollerbach 2e99d11a1b 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-02-07 19:03:09 +00:00
Carsten Haitzler 91877ed2d3 e_icon - switch from edj/std icon to custom img file properly
@fix
2022-02-07 19:03:09 +00:00
Carsten Haitzler 2ee244376e 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
2022-01-03 00:47:29 +00:00
Carsten Haitzler 1077b09bb7 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
2022-01-03 00:47:24 +00:00
Carsten Haitzler 7bd186b84b 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
2022-01-03 00:47:17 +00: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 01ff5b2958 paledit - make the major colors uses bigger 4x4 items in pal thumb 2021-11-24 20:25:46 +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 fc5ec2b00c virtual desktop bgpreview - dont do min size so we loop forever
this fixes T8968
@fix
2021-11-12 19:16:30 +00:00