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

2298 Commits

Author SHA1 Message Date
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
Michail Vourlakos
80ace6c187 open dropped urls for launchers in Global group
--dropped paths/urls on launchers of Global or
Layout launchers group did not open because the
synced infrastructure was breaking the QJsonArray
in that case.

FIXED-IN: 0.8.2
2018-10-01 21:14:10 +03:00
Michail Vourlakos
23a1225c33 respect shrink margins for thickBase
--increase also the minimum for thickHigh in order
to follow plasma design

BUG: 398950, 398951
FIXED-IN: 0.8.2
2018-09-23 11:45:05 +03:00
Michail Vourlakos
b3aa9bb61e dont hide preview when hovering player buttons
--when the user was hovering the preview player
buttons the preview was hiding itself. This patch
fixes the situation in order to identify properly
that the mouse is still in the preview in such
case.

BUG: 398962
FIXED-IN: 0.8.2
2018-09-22 21:01:29 +03:00
Michail Vourlakos
a89001f891 show full text in previews tooltips
--add some margins in order to be able to draw full
text at launchers previews

BUG: 398948
FIXED-IN: 0.8.2
2018-09-22 18:57:59 +03:00
Michail Vourlakos
bce9008374 update delete icons to plasma design
BUG: 398941
FIXED-IN: 0.8.2
2018-09-22 18:57:49 +03:00
Michail Vourlakos
73f656dba8 update to fix version 0.8.1 v0.8.1 2018-09-15 09:38:37 +03:00
Michail Vourlakos
89a8108045 update CHANGELOG to v0.8.1 2018-09-15 09:33:05 +03:00
Michail Vourlakos
10dfc62347 on startup explicit dock faulty moving onPrimary
--multi-screen fix for explicit docks. There were
cases that explicit docks during startup were
moving to onprimary screen even though they shouldnt
based on the new multi-screens implementation.
Bug was tracked down at a faulty series of signals
that were overwriting dockView config values
to default values and that was creating the fault.
-- one more fix for multi-screens, a missing return
statement in case an explicit dock is called and its
edge at that specific screen is occuppied by an
onPrimary one.

BUG: 398219
FIXED-IN: 0.8.1
(cherry picked from commit 09fe5e385b4df76afbd342fab61afe6c642aaaf1)
2018-09-04 19:52:55 +03:00
l10n daemon script
d39028104b 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-09-03 07:42:49 +02:00
Michail Vourlakos
ceacb5745c IMPORTANT FIX:show dodged dock at corner cases
When there was only one latte dock and the last
active window was closed, the dock wasnt showing
afterwards. The dodge logic now has been improved
in order to not lose any window manager signals
that could help indicate when to show/hide a
dodge capable dock

BUG: 398052
FIXED-IN: 0.8.1
(cherry picked from commit 203c740980c594e5e90b4f4b54261561a89c35f0)
2018-09-01 17:49:33 +03:00
Michail Vourlakos
43f78605d4 simplify code readability for panelShadowsActive
--fix also a case that the user hasnt enabled to
show panel background at all from the Show option
and the shadows where shown because they were
chosen before it was disabled by the user

(cherry picked from commit 0f79c08e862932fe78c161d0bfc3601a81e72761)
2018-09-01 11:38:32 +03:00
Michail Vourlakos
d080b9a89f fix disabled monochrome contents for no background
--when the user had chosen monochrome contents and had
disabled the panel background totally the case wasnt
activating monochrome contents when needed

(cherry picked from commit fc8a531837f835b421465a9d5369e505c6024020)
2018-09-01 11:01:10 +03:00
Michail Vourlakos
a5a20c0af7 consider preferredSize(s) only for >0 values
--do not consider preferredWidth or preferredHeight
for applets when that value is <=0 otherwise that
applet it may become invisible. Such case is the
plasma analog clock when it is locked at a vertical
dock

BUG: 398098
FIXED-IN: 0.8.1
(cherry picked from commit ec0e16ca5a16809e1ce947a80dc6f7e71a093338)
2018-08-31 18:42:58 +03:00
Michail Vourlakos
daa25d5e03 simplify dodge(s) code and comment it
(cherry picked from commit cc0e0e7c47e4f5aefe7524e72e94d1e827c9e6ea)
2018-08-31 16:53:02 +03:00
Michail Vourlakos
fbb7f79974 raise docks when there isnt any active window
--there are cases that the window manager doesnt
return any active window at all. In such cases
we can assume that our docks/panels dont have to
be hidden.

BUG: 398052
FIXED-IN: 0.8.1
(cherry picked from commit 66817695feb76c521b5f7a3dfa1f917b39c4de7b)
2018-08-31 15:32:50 +03:00
Tobias C. Berner
4a2db533d5 Fix build on FreeBSD by including <array>.
Summary:
latte-dock-0.8.0/app/dock/dockview.h:367:44:
    error: implicit instantiation of undefined template 'std::__1::array<QMetaObject::Connection, 4>'
    std::array<QMetaObject::Connection, 4> connectionsManagedLayout;
                                           ^

Reviewers: #freebsd, mvourlakos, davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14534

(cherry picked from commit 156accc34f4470c6a7f984a5ffec19586c1383b7)
2018-08-31 15:32:39 +03:00
Michail Vourlakos
70a1d5c7f2 update to latest panel shadows
(cherry picked from commit 9e53fa727bbd142e685e1d5b3516ecf2bf25859c)
2018-08-30 14:04:22 +03:00
Michail Vourlakos
abf8b5c772 delay hiding previews when creating contextmenu
-- there are cases that hiding previews too early
can create crashes under wayland. Such a case is
when the user uses the touchpad to emulate a right-click
event to create a context menu for specific task

BUG: 397635
FIXED-IN: 0.8.1
(cherry picked from commit b4dd016ed0d861e9c1676cbd6edb425edbe6c966)
2018-08-28 19:42:26 +03:00
Michail Vourlakos
56b4be6f8e dont crash plasmoid from too fast mouse events
make sure that we delete a valid contextMenu and
not a ghost reference. This could occur from
two-fingers emulating right-click in wayland.

BUG: 397635
FIXED-IN: 0.8.1
(cherry picked from commit afb34a85cf7c30eed343e51ceb1d1f73ba7a65a2)
2018-08-28 19:41:42 +03:00
Michail Vourlakos
60f488f3a1 dont draw panel shadows when theme doesnot provide
when the plasma theme was not supporting shadows then
Latte was double drawing the panel background when
the user has chosen that wanted shadows

BUG: 397980
FIXED-IN: 0.8.1
(cherry picked from commit 87094a6fe7c23de7cb14be1237ccaf1fba28d25e)
2018-08-28 14:07:15 +03:00
Michail Vourlakos
472041db38 restore panel shadows for docks
(cherry picked from commit 6070d2b0f01aff4d94b624b05a1f0c5fbdefdc00)
2018-08-28 10:25:52 +03:00
Michail Vourlakos
87f5650b3c respect different panel backgrounds from theme
--many plasma themes provide a different panel
background per edge, with different styles or
transparency levels. Latte now respects the
plasma theme concerning the panel backgrounds
found in a plasma theme.

(cherry picked from commit 81d3a12e914126205c2a11b87070bf0dd6a30f5b)
2018-08-27 22:58:54 +03:00
Michail Vourlakos
72f7d3c4f1 ignore systrays at multi-screen considerations
--if a dock/panel was containing a systray there
was a chance that the systray was messing the
calculations for adding/removing docks based on
the screen and edges changes

(cherry picked from commit 285a2f87643f9b0387d4364ae6e3a53dceb9fe24)
2018-08-24 01:29:19 +03:00
Michail Vourlakos
7f97714e2b remove deprecated code from old multi-screens arch
--Latte will no longer try to be too smart concerning
the multi-screens behavior. At the old implementation
Latte wouldnt let you reach at a state that you dont
have a tasks plasmoid available. Such a case could be
when the user moves a dock from primary to explicit
screen and disables the screen afterwards. That case
should be thought better in the future in order to be
identified and handled properly without making the
code unnecessary complex. Such an example could be by
identifing the case and asking the user for actions.

(cherry picked from commit b2f1f98b5729fabdb00512ff0c90ffcbf44c12fd)
2018-08-22 18:42:34 +03:00
Michail Vourlakos
f61f1a58fe identify maximized window screen differently
--there are cases that the window geometry isnt consistent
for maximized windows. That was breaking the previous
implementation of dynamic background because of:
https://bugs.kde.org/show_bug.cgi?id=397700
the new implementation is using only the window center in
order to identify the screen in which a window is
present

BUG: 397344
FIXED-IN: 0.8.1
(cherry picked from commit bb8835f156c6cf828d2d8f89d335f813c79dd6a1)
2018-08-21 15:13:13 +03:00
Michail Vourlakos
2bf6d36acb use current transparency to update effects
--the background contrast effect should be applied
only when the dock/panel is visually solid otherwise
it may block the transparency settings

BUG: 397431
FIXED-IN: v0.8.1
(cherry picked from commit 78b41eff914e565041598e2777a2eaaa98f74a8f)
2018-08-21 00:53:12 +03:00
l10n daemon script
47f96e1e05 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-08-20 07:23:51 +02:00
l10n daemon script
1176aff7b6 GIT_SILENT made messages (after extraction) 2018-08-15 06:24:35 +02:00
l10n daemon script
3c1d55886f 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-08-08 07:39:26 +02:00
l10n daemon script
0feffd08da GIT_SILENT made messages (after extraction) 2018-08-08 06:28:04 +02:00