Commit Graph

2256 Commits (9ac1ccd53c70af1e88e6248b84e04618dd128cb3)
 

Author SHA1 Message Date
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.
6 years ago
Michail Vourlakos 45a582d36b restore mouse wheel actions for tasks
BUG: 401380
FIXED-IN: 0.8.4
6 years ago
Michail Vourlakos 85e53e3e22 reduce interval for fill calculations 6 years ago
Michail Vourlakos fda4f86b40 missing object 6 years ago
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
6 years ago
Michail Vourlakos 7e43fafd19 preserve Justify applet order when applets missing 6 years ago
Michail Vourlakos ac72f4a088 update to version 0.8.3 6 years ago
Michail Vourlakos 6e44dfd535 update README to v0.8.3 6 years ago
Michail Vourlakos 09109bcf96 support plasmoid.screenGeometry properly
BUG: 401333
6 years ago
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
6 years ago
Michail Vourlakos 48673273c3 fix many typo(s) 6 years ago
Michail Vourlakos 2575ee43be fix maximum length calculation in qml side
--the maximum length calculation in qml side
was not calculated correctly for behabeAsPlasmaPanel
flag
6 years ago
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
6 years ago
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
6 years ago
Michail Vourlakos 5472a77c3b fix layout integrity check
--this check was returning false results
in some cases
6 years ago
l10n daemon script f51e6e2ee7 GIT_SILENT made messages (after extraction) 6 years ago
Michail Vourlakos cbb43978cf disable applet mouseareas for not loaded applets 6 years ago
Michail Vourlakos 2e74ea3602 update versions to 0.8.2 6 years ago
Michail Vourlakos 4ab8f0d066 update CHANGELOG to v0.8.2 6 years ago
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"
6 years ago
Michail Vourlakos bb70568304 remove no needed public api from visibilitymanager
(cherry picked from commit 37dbab99bf)
6 years ago
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 0bab344682)

BUG: 399456
FIXED-IN: 0.8.2
6 years ago
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 be7bbfe848)
6 years ago
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 f955c6a40c)
6 years ago
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
6 years ago
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
6 years ago
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.
6 years ago
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.
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
Michail Vourlakos bce9008374 update delete icons to plasma design
BUG: 398941
FIXED-IN: 0.8.2
6 years ago
Michail Vourlakos 73f656dba8 update to fix version 0.8.1 6 years ago
Michail Vourlakos 89a8108045 update CHANGELOG to v0.8.1 6 years ago
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 09fe5e385b)
7 years ago
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"
7 years ago
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 203c740980)
7 years ago
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 0f79c08e86)
7 years ago
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 fc8a531837)
7 years ago
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 ec0e16ca5a)
7 years ago
Michail Vourlakos daa25d5e03 simplify dodge(s) code and comment it
(cherry picked from commit cc0e0e7c47)
7 years ago
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 66817695fe)
7 years ago
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 156accc34f)
7 years ago
Michail Vourlakos 70a1d5c7f2 update to latest panel shadows
(cherry picked from commit 9e53fa727b)
7 years ago
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 b4dd016ed0)
7 years ago
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 afb34a85cf)
7 years ago
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 87094a6fe7)
7 years ago
Michail Vourlakos 472041db38 restore panel shadows for docks
(cherry picked from commit 6070d2b0f0)
7 years ago
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 81d3a12e91)
7 years ago