1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-04-07 06:50:12 +03:00

3476 Commits

Author SHA1 Message Date
Michail Vourlakos
2bde39f46b update version to 0.9.5 v0.9.5 2019-12-07 12:50:48 +02:00
Michail Vourlakos
34b4938a9f update Changelog to 0.9.5 2019-12-07 12:49:29 +02:00
Michail Vourlakos
e145b6adad fix debug window texts 2019-12-06 11:59:43 +02:00
Michail Vourlakos
b710a4f447 fix compatibility with qt>=5.14
--fix qml register type for deprecated
code reference
2019-12-04 23:01:44 +02:00
Michail Vourlakos
a7d45499e6 add comments 2019-12-02 16:11:35 +02:00
Michail Vourlakos
1cef4bb70f improve atScreenEdge code 2019-12-02 16:08:33 +02:00
Michail Vourlakos
9739c43674 introduce AutomaticItemSizer and add protector
--the automatic item sizer algorithm now is present
in its own class/responsibility area. As a new
improvement/fix the new implementation provides also
a protector/tracker that when the current prediction
to grow has already be applied two steps back in
history then the growing is not applied. This way
endless loops with growings and shrinks are blocked.

BUG:414180
FIXED-IN:0.9.5
2019-12-01 19:17:22 +02:00
Michail Vourlakos
b31bf99673 improvements for margins/paddings
--fix also how firstVisibleIndex is tracked for
AppletContainer(s)
2019-11-24 21:27:48 +02:00
Michail Vourlakos
8efc9bed70 improve some semantics in AppletItem 2019-11-24 19:15:32 +02:00
Michail Vourlakos
3d323fc00e ignore plasma side-style panels/windows
--all plasma windows that are touching a screen edge
and their thickness based on the edge they are touching is
below 96px. are NOT consider as plasma panels and are
treated like normal windows for all Latte codepaths
2019-11-22 00:25:43 +02:00
Adrien Brunelat
e034f0bc9f [414174] - Panel background transition color bug
Summary:
Added animation on background color change.
Removed test for background color that is not needed any more.

BUG:414174
FIXED-IN:0.9.5

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: ognarb, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25392
2019-11-19 21:17:06 +02:00
Michail Vourlakos
e5250a9c36 show a smaller indicator for atScreenEdge applets
--this is a temporary fix in order to provide a
visually pleasant result until the final fix for
Fitt's law is applied.
2019-11-17 09:23:17 +02:00
Michail Vourlakos
37c1a45412 Fitt's Law improvements for applets
--each applets layout can not identify properly
which applet is the first/last visible from its
contents. This way we can now identify properly
at all cases which applets should remove their
margins in order to follow Fitt's Law at screen
edges. For example when a windows buttons applet
is found at the screen edge and suddently it
hides itself then the next visible applet should
be considered at screen edge and such should remove
its margins in order to touch the screen edge.
2019-11-17 09:08:16 +02:00
Michail Vourlakos
976e7a5ad9 remove exceptions for systray and indicators
--remove the layout exception for the plasma systray
and behave for this just all the rest applets
--fix indicators for applets in order to consider
properly the indicators padding and applets margins.
In other words the Latte indicators for applets should
not take up all the length provided but ONLY the
applet length + indicators padding (without at any
case the applet length margins)

BUG:414104
FIXED-IN:0.9.5
2019-11-14 21:17:16 +02:00
Michail Vourlakos
062fde2e80 dont crash when changing layouts
--occasionaly when the user was switching
layouts it could get some crashes. It looks
safer to unload first the Latte::Views objects
and their corresponding containments afterwards.
I tried in my system to switch multiple layouts
in plenty different configurations and I could
not get a crash. This patch should fix the
mentioned crash report if that was the root
of the issue.

BUG:412864
FIXED-IN:0.9.5
2019-11-13 16:21:00 +02:00
Michail Vourlakos
adc76ddbc2 dont drag/maximize windows from different desktops
--the last active window codepath provides a way to
drag and maximize/restore the last active window. This
should not occur when the last active window is not
in the current desktop and activity.

BUG:414089
FIXED-IN:0.9.5
2019-11-13 14:23:43 +02:00
Michail Vourlakos
556ecae3e2 improve option "Hide Background when not needed"
--when option "Hide Background when not needed" is
used on its own activates or not the forceTransparentPanel
code path. So when that option is enabled and any
window is touching the Latte::View then the force
transparency codepath should be disabled. In such
case the user background settings are applied.

BUG:414071
FIXED-IN:0.9.5
2019-11-13 13:50:29 +02:00
l10n daemon script
2437c87a1c 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"
2019-11-06 09:38:54 +01:00
l10n daemon script
953683d1e1 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"
2019-11-04 09:04:27 +01:00
l10n daemon script
09759bec1b GIT_SILENT made messages (after extraction) 2019-11-04 07:51:41 +01:00
Michail Vourlakos
f63200988e ignore Plasma panels in Latte heuristics 2019-11-02 16:53:27 +02:00
Michail Vourlakos
a946e485e0 indent fixes 2019-11-02 16:53:18 +02:00
Michail Vourlakos
36f7834cff fix typo that was creating an error build
BUG:413735
2019-11-02 16:50:29 +02:00
Michail Vourlakos
4ff84b4bde optimize delayed application data updating
--the previous code was updating the delayed application
data for each instance of lastactivewindow separately.
The new code is implementing this at the central
WM::WindowsTracker and just informs last active windows
to update their values
2019-10-31 17:37:23 +02:00
Michail Vourlakos
d5b7694d4d update application data after 1500ms from startup
--when an application is tracked from the lastactivewindow
infrastructure it is updating the application name/icon
1500 ms after its first startup in order to fix apps cases
where they update their StartupWMClass a bit delayed

BUG:413671
2019-10-31 17:07:08 +02:00
Michail Vourlakos
6849a4906d drop ksysguard dependency for kf5>=5.62
--following plasma updates for tasktools in order
to drop the ksysguard dependency which is also
costly
2019-10-31 16:35:32 +02:00
Michail Vourlakos
0a78fc01b8 update to version 0.9.4 v0.9.4 2019-10-27 15:15:16 +02:00
Michail Vourlakos
698ae15968 update changelog to v0.9.4 2019-10-27 15:13:58 +02:00
Michail Vourlakos
fdb002d919 optimize last active window color scheme update 2019-10-26 21:36:53 +03:00
Michail Vourlakos
6a7c959e6a expose colorScheme to lastActiveWindow(s)
--applets can now use the color scheme from lastActiveWindow
objects in order to paint some of their elements
2019-10-26 17:02:47 +03:00
Michail Vourlakos
904cdfe2af Import and Load layout runtime through dbus
--switchToLayout dbus interface is used in order to
switch at specific layout that it is already imported.
With this commit the same dbus interface can be used
in order to import and load afterwards any latte layout
file by sending its absolute filepath
2019-10-23 17:04:45 +03:00
Michail Vourlakos
b44e5f4c4c fix advanced switch button state
--improve how advanced settings state is triggered/changed

BUG:411624
2019-10-20 10:00:37 +03:00
Yuri Chornoivan
79a2b77e28 More i18n() 2019-10-05 17:41:29 +03:00
Yuri Chornoivan
4248e62eb7 Fix i18n 2019-10-05 17:41:19 +03:00
Michail Vourlakos
e04c57f403 search for Latte desktop file in more generic way
--there are distros that do not return /usr/share/applications
as their first global path for desktop files. It is better to not
just search for the "applications" path but rather the desktop
file also to make sure that we use the first one found.

BUG:412612
FIXED-IN:0.9.4
2019-10-05 17:39:58 +03:00
l10n daemon script
12ec3bf36c 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"
2019-10-02 09:06:26 +02:00
Michail Vourlakos
27aea9b4f6 update to version 0.9.3 v0.9.3 2019-09-29 17:05:28 +03:00
Michail Vourlakos
49fddd55ea update Changelog to v0.9.3 2019-09-29 17:04:05 +03:00
Michail Vourlakos
8f588ea3d2 remove obsolete fontmetrics libraries 2019-09-29 17:03:12 +03:00
Michail Vourlakos
d9dc659d7b update debug messages for wm::tracker 2019-09-16 23:12:39 +03:00
l10n daemon script
71f9e6b85a 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"
2019-09-15 08:34:59 +02:00
Michail Vourlakos
91cbc998f6 plasmoid use layout last used activity
--this way in multiple layouts mode when switching
different layouts the tasks/launchers are sliding in/out
only when we switch between different activities in
the same layout and NOT when switching between different
activities in different layouts
2019-09-13 21:58:10 +03:00
Michail Vourlakos
182831a808 improvements for automatic icon size code path
--this patch add two fixes concerning automatic
icon size when contents exceed the view maximum
length.
--A) when the function is called then it also
called one more time after 1sec to confirm that
the icon size found is valid. In the past that
approach was creating an endless loop that should
not be triggered any more
--B) the grow limit was made to be equal with
the shrink limit trying to be more predictive from
the user when the items will grow or shrink. In
the future we must take care of this if the items
grow or shrink endlessly

BUG:411860
FIXED-IN:0.9.3
2019-09-13 21:38:16 +03:00
Michail Vourlakos
3a2fc4ef2c dont draw latte indicator for view empty space 2019-09-12 20:30:03 +03:00
Michail Vourlakos
7d42891833 use automatic icon size for behaveAsPlasmaPanel
--this way the panel can be shrinked because it
exceeds screen boundaries even when view is used
as a plasma panel
2019-09-12 20:23:08 +03:00
Michail Vourlakos
2414a918bb do not overlay applets when icon found !visible
--many applets are changing layouts and during that
process the main icon becomes invisile, in that case
the latte overlaied icon should also been disabled and
let applet paint itself accordingly

FIXED-IN:0.9.3
2019-09-11 21:58:43 +03:00
Michail Vourlakos
c46d5e1f08 plasma_indicator not load background at empty areas
--from Latte v0.9.3 indicators can be loaded also as
a general background layer for the view. Do not load
the background layer in that case, we only need to
load the foreground one when the android-style click
animation is needed
2019-09-09 20:28:11 +03:00
Michail Vourlakos
c3f9177ec9 remove margins,!canbehovered applets in screen edges
--when an applet can not be hovered meaning to use
the parabolic effect and that applet is at the far
screen edge then margins can be disabled for this applet
in order to look exactly touching the screen edge
and at the same feel right following Fitt's Law
2019-09-08 05:14:06 +03:00
Michail Vourlakos
35d8b98abf dont use topleft corner at ghost win hiding mask
--this way the top-left screen corner is always
available even when left or top views are auto-hidden
or dodged
2019-09-08 04:56:05 +03:00
Michail Vourlakos
fb026b1cac multiple fixes for different margins
--multiple fixes for margins all over the place. More
specific how they are calculated and when they are
used
2019-09-08 04:48:03 +03:00