1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-10 04:58:16 +03:00

2865 Commits

Author SHA1 Message Date
Michail Vourlakos
5ecb8ab767 window belongs in a screen whenever touching it
--whenever a window geometry is touching a screen geometry
is now considered that this window belongs to that screen.
This way a window could look active to more that one screens.
This way all last active window considerations now work
properly even when the window center is out of screen.
2021-12-27 23:31:08 +02:00
Michail Vourlakos
cd2ec88274 enable regions broadcasting
--it doesnt make any difference with Plasma
2021-12-27 23:30:55 +02:00
Michail Vourlakos
c98f6679b8 fix plasma available geometry broadcasting
--ignore docks and panels for availableScreenRect(s) etc.
when they are in startup and they are painted offscreen
--plasma is not ready to accept availableScreenRegion(s) because
after startup moves desktop widgets to the left even though
it should not
--fix availableScreenRegion calculations for Centered and Justified
docks and panels
2021-12-27 23:30:11 +02:00
Michail Vourlakos
7304025bc3 remove doubled debug message 2021-12-24 13:45:04 +02:00
Michail Vourlakos
3b8c4392c1 remove no needed qt checks 2021-12-20 23:07:50 +02:00
Pino Toscano
362b21ee08 Merge remote-tracking branch 'origin/v0.10' 2021-12-19 08:23:18 +01:00
Pino Toscano
f7f774aeb1 appdata: fix/improve
- reference the right desktop file for it with <launchable>, so the
  appdata and the desktop file are properly associated
- remove stray control chars in <releases>
2021-12-19 08:17:14 +01:00
Michail Vourlakos
c711d690e2 add missing header 2021-12-17 14:24:53 +02:00
Michail Vourlakos
dc724dfd8b simplify Qt version even more 2021-12-17 14:22:17 +02:00
Michail Vourlakos
74626f7bdf Revert "find Qt5 minor version"
This reverts commit 51f166bf514fc0e4f2f1d158ef7022a0eff42d7f.
2021-12-17 12:07:03 +02:00
Michail Vourlakos
5c9a4e8392 simplify qt5 version check 2021-12-17 12:04:02 +02:00
Michail Vourlakos
1d2a1a03b0 Revert "find Qt5 minor version"
This reverts commit 14be8a9e7187da606e57175ca17db201f19b20fe.
2021-12-17 12:00:47 +02:00
Michail Vourlakos
4e28392c3e fix broken initialization of windows tracking
--some improvements of 0.10.5 broke the windows tracking
initialization. This is a fix in order for windows tracking
to be enabled/disabled properly per dock/panel during
startup phase.
2021-12-17 11:59:05 +02:00
Michail Vourlakos
e25988ff93 fix broken initialization of windows tracking
--some improvements of 0.10.5 broke the windows tracking
initialization. This is a fix in order for windows tracking
to be enabled/disabled properly per dock/panel during
startup phase.
2021-12-17 11:52:10 +02:00
Michail Vourlakos
51f166bf51 find Qt5 minor version 2021-12-17 11:23:03 +02:00
Michail Vourlakos
67c38b194f still support Qt5 >= 5.12
BUG:447111
2021-12-17 11:20:54 +02:00
Michail Vourlakos
14be8a9e71 find Qt5 minor version 2021-12-17 11:15:37 +02:00
Michail Vourlakos
a033a20062 more startup improvements
--visibility: simplify and improve code
for restoring and saving values
--enable visibility mode early on the startup
sequence
--enable windows tracking after startup phase
has ended
--windows tracking respect also view geometry
changes and not only window changes from the
desktop environment
2021-12-15 21:32:23 +02:00
Michail Vourlakos
88603f6aaf more startup improvements
--visibility: simplify and improve code
for restoring and saving values
--enable visibility mode early on the startup
sequence
--enable windows tracking after startup phase
has ended
--windows tracking respect also view geometry
changes and not only window changes from the
desktop environment
2021-12-15 21:30:27 +02:00
l10n daemon script
7a7af88e99 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2021-12-15 01:55:46 +00:00
Michail Vourlakos
c317d3257a fix 30bit color depth that makes dock invisible
--previous approach did not work correctly on 24bit
systems. The new approach should handle properly all
cases.
2021-12-14 20:14:51 +02:00
Michail Vourlakos
0accfe21b2 fix 30bit color depth that makes dock invisible
--previous approach did not work correctly on 24bit
systems. The new approach should handle properly all
cases.
2021-12-14 20:12:09 +02:00
Michail Vourlakos
c15a97bacf Revert "[x11] - fix 30bit color depth that makes dock invisible with broken transparency"
This reverts commit 6497da4a4d6beede0cd1650d4b9e02efb88d3d24.
2021-12-14 20:03:09 +02:00
Michail Vourlakos
74ba0dc63b Revert "[x11] - fix 30bit color depth that makes dock invisible with broken transparency"
This reverts commit 6497da4a4d6beede0cd1650d4b9e02efb88d3d24.
2021-12-14 20:01:53 +02:00
Jonas Latza
6497da4a4d [x11] - fix 30bit color depth that makes dock invisible with broken transparency 2021-12-14 19:44:09 +02:00
Jonas Latza
ccbf079113 [x11] - fix 30bit color depth that makes dock invisible with broken transparency 2021-12-14 17:35:21 +00:00
Michail Vourlakos
de61ff48ad enable strtus fro all alternative DEs 2021-12-14 17:20:57 +02:00
Michail Vourlakos
4f3fef1fda enable strtus fro all alternative DEs 2021-12-14 17:03:24 +02:00
Michail Vourlakos
fb4cfaa399 view:copy properly screen edge margin
Consider -1 as screen edge margin default value
and not zero. This way when duplicating a default
dock AllBorders are not enabled in the new dock.

BUG:446903
FIXED-IN:0.10.5
2021-12-13 23:50:25 +02:00
Michail Vourlakos
87efe01a96 view:copy properly screen edge margin
Consider -1 as screen edge margin default value
and not zero. This way when duplicating a default
dock AllBorders are not enabled in the new dock.

BUG:446903
FIXED-IN:0.10.5
2021-12-13 23:47:35 +02:00
Michail Vourlakos
24fc1e8709 singlelayout:fix borderless activation/deactivation 2021-12-13 23:16:46 +02:00
Michail Vourlakos
5e0feef0f6 do not allow struts when view is offscreen 2021-12-13 23:16:46 +02:00
Michail Vourlakos
4a9bf2cb7a singlelayout:fix borderless activation/deactivation 2021-12-13 23:11:05 +02:00
Michail Vourlakos
4725cd7f2b do not allow struts when view is offscreen 2021-12-13 23:01:21 +02:00
Michail Vourlakos
ca83433ce0 multiscreen:disable struts under x11 when overlap
--when multiple screens placement have edges that overlap
with each other, at that edges struts must be disabled
to provide much better windows behavior. For example when
dragging a window between such screens and there is
an AlwaysVisible panel or dock between them.

BUG:445595
FIXED-IN:0.10.5
2021-12-12 14:39:46 +02:00
Michail Vourlakos
bce0d74e5f multiple:do not update borderless when no needed
--when activating activities under multiple layouts
the currentActivityChanged() signal is sent from
KActivities before the runningActivitiesChanged() and
as such we can end in considering borderless maximized
window flag before all appropriate layouts have been enabled.
The patch adds a timer and delays borderlessMaximized consideration
when currentActivityChanged signal is received.
2021-12-12 14:39:35 +02:00
Michail Vourlakos
c2b20852ea recreateview:fix launchers group assignment
--after recreating a view, launchers group is now
assigned again correctly. As it appears the problem
was that Host.MyView ability was sending an isReady
signal that was not accurate enough.
2021-12-12 14:39:27 +02:00
Michail Vourlakos
aeb934d0fb improve smoothness of animations during startup
--This new approach paints all docks and panels during
starup offscreen. This way especially under x11 not a lot of
visual glitches are appearing all over the place.
After startup time has ended docks and panels are
moved at their original and valid placement and slide in
animations are triggered.
2021-12-12 14:39:18 +02:00
Michail Vourlakos
80fa1022a5 multiscreen:disable struts under x11 when overlap
--when multiple screens placement have edges that overlap
with each other, at that edges struts must be disabled
to provide much better windows behavior. For example when
dragging a window between such screens and there is
an AlwaysVisible panel or dock between them.

BUG:445595
FIXED-IN:0.10.5
2021-12-12 14:34:28 +02:00
Michail Vourlakos
6ba99f2724 multiple:do not update borderless when no needed
--when activating activities under multiple layouts
the currentActivityChanged() signal is sent from
KActivities before the runningActivitiesChanged() and
as such we can end in considering borderless maximized
window flag before all appropriate layouts have been enabled.
The patch adds a timer and delays borderlessMaximized consideration
when currentActivityChanged signal is received.
2021-12-12 12:52:55 +02:00
Michail Vourlakos
544b83ebeb recreateview:fix launchers group assignment
--after recreating a view, launchers group is now
assigned again correctly. As it appears the problem
was that Host.MyView ability was sending an isReady
signal that was not accurate enough.
2021-12-12 11:48:21 +02:00
Michail Vourlakos
50177a8406 improve smoothness of animations during startup
--This new approach paints all docks and panels during
starup offscreen. This way especially under x11 not a lot of
visual glitches are appearing all over the place.
After startup time has ended docks and panels are
moved at their original and valid placement and slide in
animations are triggered.
2021-12-12 11:45:43 +02:00
Michail Vourlakos
6a66dd0000 add missing signal 2021-12-12 04:41:11 +02:00
Michail Vourlakos
ee2493ba1a add missing signal 2021-12-12 03:29:06 +02:00
Michail Vourlakos
a553f7403f position vertical docks/panels more accurately
--send more availableRect/Region changed signals
for more cases and as such all views update
their positioning properly.
--for example when a horizontal view updates its
offset or max length independent of its visibility mode
the neighbour vertical views need to update
and validate their position.
2021-12-11 19:32:58 +02:00
Michail Vourlakos
e04900ecf2 position vertical docks/panels more accurately
--send more availableRect/Region changed signals
for more cases and as such all views update
their positioning properly.
--for example when a horizontal view updates its
offset or max length independent of its visibility mode
the neighbour vertical views need to update
and validate their position.
2021-12-11 19:29:01 +02:00
Michail Vourlakos
ea19ff18ad improve responsiveness for DynamicStruts Scenario
--add a timer blocker in order to reduce struts calls
at window manager. This way the entire desktop experience
becomes more stable and fluent.
2021-12-10 17:08:58 +02:00
Michail Vourlakos
dd5e0778a7 improve responsiveness for DynamicStruts Scenario
--add a timer blocker in order to reduce struts calls
at window manager. This way the entire desktop experience
becomes more stable and fluent.
2021-12-10 17:07:11 +02:00
Michail Vourlakos
434f3b16e6 cmd:close after disabling autostart 2021-12-08 18:24:58 +02:00
Michail Vourlakos
3b4d7a10f4 cmd:close after disabling autostart 2021-12-08 18:23:36 +02:00