1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 02:50:22 +03:00

2278 Commits

Author SHA1 Message Date
Michail Vourlakos
3c522825b0 update to v0.8.6 v0.8.6 2019-02-15 19:30:21 +02:00
Michail Vourlakos
d4c087ee97 update Changelog for v0.8.6 2019-02-15 19:26:06 +02:00
Mathias Tillman
58887ca7cd Fix window thumbnails not working since frameworks 5.55
Summary:
This fixes a problem where window thumbnails are no longer visible since KDE Frameworks 5.55. This is caused by https://cgit.kde.org/plasma-framework.git/commit/?id=b257029afc3bfcd6366d2c2b910b8d91403ab8a which no longer automatically updates the visibility of mainItem of PlasmaCore.Dialog.

BUG: 404234

FIXED-IN: 0.8.6

Test Plan: Ensure window thumbnails are working correctly now

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19002
2019-02-14 15:04:16 +02:00
Michail Vourlakos
d0f1a7ffe6 cleanup applet shortcuts on startup
--when Latte crashes the global shortcuts from applets
remain untouched in kglobalshortcutsrc file. That fact
based on the Latte architecture that can alter applet
ids during layout loading can break the global shortcuts
experience by creating multiple global shortcuts records
for the same applet and by disabling some shortcuts because
these shortcuts are already enabled for ghost applets of
the crashed layout. This patch fixes this by removing all
applet global shortcuts during startup. Applet global shortcuts
are already saved in the layout file based on the current
plasma architecture, that fact simplifies things a lot.

BUG: 401184
2019-01-27 19:57:15 +02:00
Pino Toscano
788e7ad4d9 fix project_license in appstream file
use the right SPDX tag
2019-01-27 08:58:32 +01:00
Michail Vourlakos
b7ef556e78 update to v0.8.5 v0.8.5 2019-01-26 18:02:14 +02:00
Michail Vourlakos
f94b190c76 update Changelog to v0.8.5 2019-01-26 17:57:37 +02:00
Michail Vourlakos
d54eda8630 IMPORTAT:fix splitters positioning 2019-01-23 20:26:08 +02:00
Michail Vourlakos
fd9fad0822 IMPORTANT:improve splitter positioning on startup
--when there was only one applet in the Center under
Justify mode then during startup its positioning broke
as it was placed faulty at the far right

BUG: 403469
2019-01-21 20:19:13 +02:00
l10n daemon script
c1ceb6bfc7 GIT_SILENT made messages (after extraction) 2019-01-20 07:31:00 +01:00
Michail Vourlakos
3ad09ec87b plasma 5.15 fixes for VirtualDesktops
--support new Virtual Desktops interface under
plasma 5.15
--improve readability of plasma 5.15 fixes

FIXED-IN: 0.8.5
2019-01-19 12:22:22 +02:00
Steffen Coenen
dd7ed6b2cf Adjust Latte Dock to libtaskmanager API changes for Wayland
Summary:
Changes in libtaskmanager in Plasma 5.15 currently
break several Latte Dock features.
This patch ensures that Latte Dock will continue to work when Plasma 5.15 is released.

BUG: 403358

FIXED-IN: 0.8.5

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #latte_dock, #plasma

Differential Revision: https://phabricator.kde.org/D18375
2019-01-19 12:15:30 +02:00
Michail Vourlakos
88e2e9ddd6 Wait forever until the lock file can be locked
Summary:
- `timeout = 3000` is a bit short on some computer. Use `timeout = -1` will work for any case.

BUG: 401041

FIXED-IN: v0.8.5

Test Plan: BUG: 401041 is fixed on my computer.

Reviewers: mvourlakos, #latte_dock

Reviewed By: mvourlakos

Tags: #latte_dock, #plasma

Differential Revision: https://phabricator.kde.org/D18258
2019-01-15 21:20:48 +02:00
Michail Vourlakos
630160c6af create local autostart folder if is missing
BUG: 402934
FIXED-IN: 0.8.5
2019-01-06 20:56:42 +02:00
l10n daemon script
f6921063d2 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-01-06 08:36:19 +01:00
Michail Vourlakos
6fc4e467f4 IMPORTANT:improve vastly fillWidth(s)/Height(s)
--the new improvements are trying to make Latte panels
and Plasma panels to look and behave almost the same.
This way implementing applets for any of them wont be
needing adjustments or workarounds to work properly
for both.
2019-01-05 16:48:13 +02:00
Michail Vourlakos
6ccf025a09 fix max length ruler for panels 2019-01-02 17:20:11 +02:00
Michail Vourlakos
f92d707793 update to v0.8.4 v0.8.4 2018-12-28 23:56:51 +02:00
Michail Vourlakos
7a31098b51 update Changelog to v0.8.4 2018-12-28 23:54:12 +02:00
John Zimmermann
bd04553b03 Update Void Linux URL in README.md
Reviewers: #latte_dock, apol

Reviewed By: apol

Subscribers: mvourlakos, apol, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17367
2018-12-11 20:38:05 +02:00
Michail Vourlakos
c9b99434ed improve fill(s) calculations for single alignments
--improve how the applet size is calculated for fill(s)
applets when such applets are used in Left/Center/Right
alignments. This also fixes the bug that the plasma
taskmanager was not updating its size properly when tasks
were added after the initialization phase.

BUG: 401456
FIXED-IN: 0.8.4
2018-11-27 23:12:01 +02:00
Michail Vourlakos
a353c5eb36 sync launchers when needed
--this way all synced docks/panels are all
updated concerning where their launchers are
placed and in which activities are shown
2018-11-25 02:24:31 +02:00
Michail Vourlakos
9ac1ccd53c simplify TaskWindows and avoid a crash
--during dragging the DelegateModel inside
TaskWindows may not catch up with TasksModel
modelIndex() function and that could create
crashes. In order to avoid such crashes the
DelegateModel is not updated during dragging
and we give it also a little time to update
after the dragging has finished.
2018-11-25 02:07:55 +02:00
Michail Vourlakos
45a582d36b restore mouse wheel actions for tasks
BUG: 401380
FIXED-IN: 0.8.4
2018-11-25 00:54:28 +02:00
Michail Vourlakos
85e53e3e22 reduce interval for fill calculations 2018-11-24 19:48:52 +02:00
Michail Vourlakos
fda4f86b40 missing object 2018-11-24 19:29:02 +02:00
Michail Vourlakos
ba76515c83 update sizes for fillWidth/Height more regular
--this way applets wont stack up in a size that is not
following panel available size and applets Layout sizes
settings
2018-11-24 19:27:14 +02:00
Michail Vourlakos
7e43fafd19 preserve Justify applet order when applets missing 2018-11-23 23:08:53 +02:00
Michail Vourlakos
ac72f4a088 update to version 0.8.3 v0.8.3 2018-11-23 18:33:44 +02:00
Michail Vourlakos
6e44dfd535 update README to v0.8.3 2018-11-23 18:32:41 +02:00
Michail Vourlakos
09109bcf96 support plasmoid.screenGeometry properly
BUG: 401333
2018-11-23 17:01:00 +02:00
Michail Vourlakos
7264b658bc add launchers validator for syncing launchers
--moving a task now is not synced immediately to
other docks. Syncing takes place only in the end.
The dock in which the user changed the launchers
order sends a signal to other docks to update
theirs launchers order.

BUG: 401232
FIXED-IN: 0.8.3
2018-11-21 21:02:19 +02:00
Michail Vourlakos
48673273c3 fix many typo(s) 2018-11-19 22:30:14 +02:00
Michail Vourlakos
2575ee43be fix maximum length calculation in qml side
--the maximum length calculation in qml side
was not calculated correctly for behabeAsPlasmaPanel
flag
2018-11-18 20:59:11 +02:00
Michail Vourlakos
7e1c780de5 fixes for applets that fillWidth/Height
--copying the new improved behavior for applets
that fillWidth/Height such as plasma taskmanagers
and in that way support them beautifully for
Left/Center/Right alignments
2018-11-18 16:14:53 +02:00
Michail Vourlakos
fea6088695 consider maximumWidth=0 as valid
--for applets that fillwidth and have
also set their maximumWidth we take that
value into account even when maximumWitdth=0
2018-11-18 15:59:34 +02:00
Michail Vourlakos
5472a77c3b fix layout integrity check
--this check was returning false results
in some cases
2018-11-11 09:31:07 +02:00
l10n daemon script
f51e6e2ee7 GIT_SILENT made messages (after extraction) 2018-11-08 06:43:50 +01:00
Michail Vourlakos
cbb43978cf disable applet mouseareas for not loaded applets 2018-11-07 21:17:44 +02:00
Michail Vourlakos
2e74ea3602 update versions to 0.8.2 v0.8.2 2018-10-26 19:02:28 +03:00
Michail Vourlakos
4ab8f0d066 update CHANGELOG to v0.8.2 2018-10-26 18:57:12 +03:00
l10n daemon script
b618ddc626 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"
2018-10-20 07:54:59 +02:00
Michail Vourlakos
bb70568304 remove no needed public api from visibilitymanager
(cherry picked from commit 37dbab99bf43b641ef04c36935afa3b67c0ffaaa)
2018-10-14 22:33:11 +03:00
Michail Vourlakos
ac9f1d2a34 fixes for multi-screen behavior
--fix wrong placement at multi-screen environment
during startup. freeEdges function was not sufficient for
reconsiderScreen() because there was a chance to
exclude edges that even though they were available
it returned fault results. Such case is when
a view request available edges for specific screen
and the edge of that specific view is also exluded
because that view has not finished its movement
to the new assigned screen.

--fix re-adding an explicit dock when its screen
is activated. A check was missing in order to
confirm that a primary dock is occuping that
edge but we must check also that the primary
screen is the same with the explicit one.

--add/improve debug messages

(cherry picked from commit 0bab34468207b1472c1906c768323f2a9f2b1b12)

BUG: 399456
FIXED-IN: 0.8.2
2018-10-12 19:05:14 +03:00
Michail Vourlakos
f019479f9a dont call syncGeometry when some cases
--dont call costly syncGeometry when drawShadows
externally is called. In such case only updating
shadows/borders is needed.

(cherry picked from commit be7bbfe848fe753239dcd4d9f506a70078212181)
2018-10-07 21:13:42 +03:00
Michail Vourlakos
3b0c39cc53 improve reconsiderScreens code for multi-screens
--try to make screens assignment and window geometry
more consistent. There are three variables in a dock
window for its screen and positioning to be accurate,
screen(), m_screenToFollow, m_screenToFollowId

BUG: 399456
FIXED-IN: 0.8.2
(cherry picked from commit f955c6a40c00fb06754223cbdc16ba40e379ca59)
2018-10-07 21:13:16 +03:00
Michail Vourlakos
f62f7485c0 dont break BorderlessMaximized window default
--dont update the BorderlessMaximized value if
the user hasnt explicitly enabled it from Latte
options.

BUG: 399462
FIXED-IN: 0.8.2
2018-10-07 01:14:07 +03:00
Michail Vourlakos
9613531651 imrove windowChanged signal under X11
--the new code contains more comments and except
blacklisting all NET::Properties2 signals that are
not accompanied with NET::Properties it also
whitelists specific states for NET::WMState.
This should lower a lot the calculations needed
in order to support the dodge visibility modes.
At the same time apps that are abusing X11 signals
should be ignored totally because the whitelisted
states and NET::Properties are only set by the
user or the window manager.

BUG: 399149
FIXED-IN: 0.8.2
2018-10-06 16:35:52 +03:00
Michail Vourlakos
84261746fa hovering disable media buttons broke previews
--when back/forward media buttons in previews
where disabled and the mouse was hovering them
then the preview was hiding itself and the
previews experience was broken.
2018-10-06 13:10:46 +03:00
Michail Vourlakos
d2a83c780f dont break parabolic effect when dropping url
--when the user was dropping a file onto a launcher
after the new window was created the parabolic
effect was showing a faulty triggering.
2018-10-03 22:44:31 +03:00