1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-24 17:33:50 +03:00
Commit Graph

5684 Commits

Author SHA1 Message Date
Michail Vourlakos
d0ce28ef7d update to v0.10.5 2021-12-16 17:11:53 +02:00
Michail Vourlakos
2a0237ac96 update Changelog to 0.10.5 2021-12-16 17:09:22 +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
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
74ba0dc63b Revert "[x11] - fix 30bit color depth that makes dock invisible with broken transparency"
This reverts commit 6497da4a4d.
2021-12-14 20:01:53 +02:00
Michail Vourlakos
3ae27ca496 tasks: fix typo 2021-12-14 19:51:17 +02:00
Michail Vourlakos
e0887d437c tasks:identify vivaldi properly
--update PulseAudio qml code inside the
latte taskmanager in order to identify properly
through pid applications that are playing
audio but they use a different parent pid
to do so. This is the Vivaldi case that
appears as Chromium in pulseaudio streams.

BUG:446828
FIXED-IN:0.10.5
2021-12-14 19:44:37 +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
Michail Vourlakos
4f3fef1fda enable strtus fro all alternative DEs 2021-12-14 17:03:24 +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
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
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
ee2493ba1a add missing signal 2021-12-12 03:29:06 +02:00
Michail Vourlakos
0aedefd959 canvas ruler:decrease view maxlength properly
--whem view minlength and maxlength are equals
the Canvas Ruler should decrease and increase
both of them when the user mouse scrolls the ruler
2021-12-11 19:54:29 +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
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
65d34ce53a fix binding loop when moving int.splitters 2021-12-10 17:07:11 +02:00
Michail Vourlakos
790006512e plenty of fixes when dragging/moving applets 2021-12-10 17:07:11 +02:00
Michail Vourlakos
3b4d7a10f4 cmd:close after disabling autostart 2021-12-08 18:23:36 +02:00
Michail Vourlakos
1ea3130573 ignore window states when kwin is showing desktop
--this way every dock/panel and also applets that
are using the LastActiveWindow API behave like there
is no shown window
2021-12-07 20:55:21 +02:00
Michail Vourlakos
20bad7c191 cmd:print all available templates 2021-12-07 20:23:19 +02:00
Michail Vourlakos
ac30a9eb4f cmd:support "add-dock" through command line
-- "add-dock" option now works even when application
is not running and the user is executing it through
command line.

BUG: 446526
FIXED-IN: 0.10.5
2021-12-07 20:08:18 +02:00
Michail Vourlakos
6f162479e0 autostart: do not overwrite startup file 2021-12-02 20:53:43 +02:00
Michail Vourlakos
0e63e7dd0b get ready for Plasma LookNFeel packages
--introduce enable/disableAutostart from command line
--accept import-layout from command line when latte is already running
--introduce --suggested-layout-name to be used with
  import-layout in order to provide a preferred layout name
  e.g. latte-dock --import-layout /blah/blah/mywhat.layout.latte
       --suggested-layout-name MyAwesomeLayout
--dbus:introduce "setAutostart" function
--dbus:introduce "importLayoutFile" function

BUG:446249
FIXED-IN:0.10.5
2021-11-30 21:28:20 +02:00
l10n daemon script
2560828067 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-11-29 02:46:51 +00:00
l10n daemon script
95afa4067d 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-11-28 02:38:19 +00:00
l10n daemon script
a76010e3c3 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-11-25 02:31:48 +00:00
Michail Vourlakos
4faa8f1a64 ignore maxlength=0 for fill lenght applets
--fix mediacontroller_plus applet scenario
by ignoring maximum width = 0 that qt is
already doing for Layouts that fill length.

BUG:445869
2021-11-21 20:31:41 +02:00
Michail Vourlakos
2f01f8cb59 update to v0.10.4 2021-11-17 13:19:00 +02:00
Michail Vourlakos
760e7f5e08 update changelog to v0.10.4 2021-11-17 13:17:08 +02:00
Michail Vourlakos
71d4ff1e0c remove QDBusInterface usage 2021-11-14 19:12:46 +02:00
Michail Vourlakos
9f468b7933 plasmageometry:remove workarounds for activities
--remove workarounds for plasma desktop not respecting
geometries sent from Latte for activities that are not
the current one
2021-11-14 14:06:30 +02:00
Michail Vourlakos
912f2f1cfa plasmadesk:fix startup freezes from QDbusInterface
--as it appears plasma applets were not the main faulter
to blame for startup freezes. The bug was that Latte
was trying to communicate with Plasma DBus interface
to inform it about docks/panels geometries. For some
reason during startup other applets could also were
trying the same and for that reason Qt provides a 25sec
forced delay in case there are too many such calls.
The new approach does not block the startup code at all
and it should work at all cases.

BUG:444739
FIXED-IN:0.10.4
2021-11-14 13:39:18 +02:00
Michail Vourlakos
710def2081 startup:avoid kwin reconfiguring with no reason
--during startup borderless maximized windows should not be
enabled or not as long as kwin has already been configured
in the proper way. This way we make Latte startup lighter
because KWin is not reconfiguring when not needed.
2021-11-11 18:40:44 +02:00
Michail Vourlakos
5436f86ff6 modernize dbus noblock calls 2021-11-11 18:25:26 +02:00
Michail Vourlakos
abc125fe65 wayland:hide centered black line for alwaysvisible
--drop RasterWindow for always visible ghost windows and
use a fully transparent QQuickView

BUG:444419
FIXED-IN:0.10.4
2021-11-11 13:57:55 +02:00
Michail Vourlakos
11942660fb update inputgeometry when sliding in/out
--this way mouse clicks correspond much better
in how they should behave. For example right
clicks do not forward always the events to the
desktop during sliding.
2021-11-06 08:52:05 +02:00
Michail Vourlakos
4d3c491b84 update lastactivewindow based on changed signal 2021-10-31 19:10:30 +02:00
Michail Vourlakos
6bf2994840 Indicators API:Extend animations capabilities
extend indicator.level.requested signals with:
  --taskLauncherActivated
  --taskGroupWindowAdded
  --taskGroupWindowRemoved

extend indicator.level.requested properties with:
  --isIndicatorTaskLauncherAnimationRunning

extend indicator info with:
  --providesInAttentionAnimation
  --providesTaskLauncherAnimation
  --providesGroupedWindowAddedAnimation
  --providesGroupedWindowRemovedAnimation

adjust Latte Tasks in order to support properly
animations implemented through indicators.
2021-10-30 14:32:00 +03:00
Michail Vourlakos
e6d7d8262b wm:init vdswraparound value properly
BUG:444572
2021-10-29 22:48:58 +03:00
Michail Vourlakos
f36aada8c8 Indicators:expose more options for Icons
--the following options are exposed to indicators
in order to use them to their preference:
----iconTransformOrigin
----iconOpacity
----iconRotation
----iconScale
2021-10-28 12:27:52 +03:00
Michail Vourlakos
3a662f98c3 decouple task realremanimation from launcheranim 2021-10-28 01:14:25 +03:00
Michail Vourlakos
cea203e8ad fix binding loops in Indexer client ability 2021-10-28 01:13:15 +03:00
Michail Vourlakos
83600f4eb8 respect applet maximumLength==0
--if the applet has set maximum length to
zero then the applet should not be shown
2021-10-25 18:24:14 +03:00
Michail Vourlakos
33aa5d9195 update to v0.10.3 2021-10-25 16:48:55 +03:00
Michail Vourlakos
f0aa26c9a6 update Changelog to 0.10.3 2021-10-25 16:46:37 +03:00