Commit Graph

21178 Commits

Author SHA1 Message Date
Carsten Haitzler bb8874930b fix more unfullscreen clicker/toggle when window is small...
another codepath for the fullscreen flicker bug via the job handler

@fix
2022-04-02 11:01:01 +01:00
Carsten Haitzler 1051c77d31 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-03-25 10:40:00 +00:00
Carsten Haitzler f81387470f xkb - use new feature to ignore just xmodmap changes
this avoids e re-setting kbd layouts on just "xmomdmap" changes. needs
new feature in efl slated for efl 1.27
2022-03-24 17:54:30 +00:00
Carsten Haitzler 5d430a3fa6 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-03-22 12:42:33 +00:00
Carsten Haitzler 6f59af7e9f winlist - fix 0 item lenth rows - have at least 1 item
this fixes winlist large mode sometimes losing windows in the view.

@fix
2022-03-22 12:41:01 +00:00
Alastair Poole 0fc17828f6 procstats: fix popup state on maximize/unmaximize 2022-03-08 10:51:21 +00:00
Carsten Haitzler 9e23feb482 comp - fix event shape to account for txt/texblock and img properly
@fix
2022-03-08 01:30:57 +00:00
Carsten Haitzler 6bdd1abbe2 comp - fix shapoe event to skip clippers 2022-03-08 01:30:57 +00:00
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 6dac5c5cd0 remove unused var. 2022-03-02 11:44:02 +00:00
maxerba d61b06aa77 Updating french and italian translations 2022-02-25 14:28:52 +01:00
Carsten Haitzler fd7b1e4b37 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-02-24 18:44:14 +00:00
Carsten Haitzler bffe5a426c notification - get rid of useless appendix code...
themes have supported notification for as logn as e17 was released
so remove useless "appendix" of code that handles if it isnt.
2022-02-20 11:53:15 +00:00
maxerba 8368850157 Updating french translation 2022-02-18 20:52:28 +01:00
Carsten Haitzler 12cbf43ae2 pkgkit - count pkgs total in gadgets
@fix
2022-02-07 10:45:17 +00:00
Carsten Haitzler e8c5e18fdf deskmirror - donbt show iconified windows
@fix
2022-02-02 19:35:41 +00:00
Carsten Haitzler 6ed1e61996 focus - fix some lingering mis-focus issues
finally fix T8980 (i hope)
@fix
2022-02-01 12:30:00 +00:00
Carsten Haitzler b4a05429d0 modules - add procstats to whitelist 2022-02-01 12:28:49 +00:00
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 6fe4d9c9b7 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-01-30 11:34:51 +00:00
Marcel Hollerbach 349acb214d e_client: fix more focus weirdness
parent should be raised, even though it is not the modal.
2022-01-28 18:26:00 +01:00
Carsten Haitzler 18a86f2f64 efm - do same mime lookup method as efm in recents menu
@fix
2022-01-27 17:13:36 +00:00
Carsten Haitzler aa93a66b5f desklock settinghs - fix kbd layout list to fill vert
@fix
2022-01-24 14:14:31 +00:00
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