1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-13 05:17:48 +03:00
Commit Graph

3572 Commits

Author SHA1 Message Date
Michail Vourlakos
2501c6169d fix compatibility with qt>=5.14
--fix qml register type for deprecated
code reference
2019-12-04 23:04:06 +02:00
Michail Vourlakos
484741558e add comments 2019-12-02 16:12:14 +02:00
Michail Vourlakos
2493971f03 improve atScreenEdge code 2019-12-02 16:09:31 +02:00
Michail Vourlakos
747d4870a0 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:20:40 +02:00
Michail Vourlakos
2577c33b7d improvements for margins/paddings
--fix also how firstVisibleIndex is tracked for
AppletContainer(s)
2019-11-24 21:29:56 +02:00
Michail Vourlakos
5c5084f7bb improve some semantics in AppletItem 2019-11-24 21:29:47 +02:00
Michail Vourlakos
e05c5e2515 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:28:27 +02:00
Adrien Brunelat
a21f46d85f
[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 17:47:31 +01:00
Michail Vourlakos
bfd72413d9 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:25:26 +02:00
Michail Vourlakos
5aac422a65 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:25:16 +02:00
Michail Vourlakos
453ac890ab 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:20:39 +02:00
Michail Vourlakos
61016444fb 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:24:05 +02:00
Michail Vourlakos
6b5f4a952a 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:25:43 +02:00
Michail Vourlakos
63ed290593 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:51:08 +02:00
l10n daemon script
4b74474157 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 05:28:58 +01:00
l10n daemon script
a3e747188f 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 05:13:17 +01:00
l10n daemon script
d649e74bc9 GIT_SILENT made messages (after extraction) 2019-11-04 02:32:40 +01:00
Michail Vourlakos
702b53493b Merge branch 'v0.9' into fix 2019-11-03 09:58:32 +02: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
7215d30ff6 fix typo that was creating an error build
BUG:413735
2019-11-02 16:51:45 +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
c1a6cfc325 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:40:36 +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
189fb00426 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:09:40 +02:00
Michail Vourlakos
8d4e96ed44 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 17:09:31 +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
f27d8dac88 update changelog to v0.9.4 2019-10-27 15:16:22 +02:00
Michail Vourlakos
0a78fc01b8 update to version 0.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
fb8428bc20 optimize last active window color scheme update 2019-10-26 21:37:48 +03:00
Michail Vourlakos
fdb002d919 optimize last active window color scheme update 2019-10-26 21:36:53 +03:00
Michail Vourlakos
c2a1c20d92 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:03:54 +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
dc0a9a8f22 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:07:35 +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
61e9b10f95 fix advanced switch button state
--improve how advanced settings state is triggered/changed

BUG:411624
2019-10-20 12:46:19 +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
Michail Vourlakos
a69f3013d8 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:43:10 +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
l10n daemon script
7554e8c409 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 05:24:26 +02:00
Michail Vourlakos
d278ea171b update Changelog to v0.9.3 2019-09-29 17:06:59 +03:00
Michail Vourlakos
fac638c156 remove obsolete fontmetrics libraries 2019-09-29 17:06:48 +03:00
Michail Vourlakos
27aea9b4f6 update to version 0.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