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

3501 Commits

Author SHA1 Message Date
Michail Vourlakos
cab1b269dc update to v0.9.7 v0.9.7 2019-12-31 01:02:16 +02:00
Michail Vourlakos
cf50cd6e33 update changelog to 0.5.7 2019-12-31 00:58:31 +02:00
Michail Vourlakos
ca8aadf1a9 fixed compile with qt 5.9
FIXED-IN:0.9.7
BUG:415715
2019-12-30 23:58:00 +02:00
Michail Vourlakos
a545844de7 update to v0.9.6 v0.9.6 2019-12-30 19:52:26 +02:00
Michail Vourlakos
be97fc4d53 update Changelog to v0.9.6 2019-12-30 19:41:52 +02:00
Michail Vourlakos
d8e9a5688b [qt5.14]-restore dragged task to normal in the end
after dragging a task, the task should return to
normal state. In qt 5.14 default states that have
a "when" property do not play well

BUG:415333
FIXED-IN:0.9.6
2019-12-30 19:25:05 +02:00
Michail Vourlakos
32bcf26eaf [qt5.14] - restore editVisual to normal
--when the view settings window is closed then the
View must return to normal mode and disable
the editMode. In qt 5.14 default states that have a "when"
property do not play well

BUG:412940
2019-12-30 19:24:54 +02:00
Michail Vourlakos
a2edffa8e7 update PanelShadows to upstream code 2019-12-29 11:56:25 +02:00
Michail Vourlakos
d62e77eca7 remove QFontMetrics deprecated code 2019-12-29 11:56:17 +02:00
Michail Vourlakos
71e5d20144 fix Indicators tooltip for Download option 2019-12-28 14:26:21 +02:00
Michail Vourlakos
6b8e7a6361 new View::availableScreenRectChangedFrom triggers
--following the new design applied first at
View:availableScreenRegionChangedFrom instead of different
View parts to trigger directly m_corona relevant signal,
all View parts are triggering the View relevant signal
and as such the can be disabled all together
easily.
2019-12-28 14:09:57 +02:00
Michail Vourlakos
502571b09e set minimumLength for ScreenEdgeGhostWindow
--set a minimumLength in order to avoid the indicator
to become TOO SMALL and not noticable. The minimum
length has been set to be 25% of the screen edge length
that the view as attached.
2019-12-27 19:42:58 +02:00
Michail Vourlakos
9b6f597ce6 crash fix:from unloading views
--when as Always Visible view was unloaded from
a CentralLayout because its Activity was closing
it was creating a crash. This patch fixes the
situation by releasing sensitive view signals
earlier.
2019-12-27 19:17:50 +02:00
Michail Vourlakos
df5c2a2be3 wayland:fix crash from not found window 2019-12-26 22:24:45 +02:00
Michail Vourlakos
b1fb8fe2df improve publish task geometries code
--update the publish task geometries code
in order to identify also when the dock
has hide itself or is fully shown properly
and update the published task geometries
accordingly
2019-12-25 22:15:55 +02:00
Michail Vourlakos
0b5628ee1c only left click for applets neutral areas activate 2019-12-25 22:15:37 +02:00
Michail Vourlakos
2314e7c0c0 improve geometries publishing
--remove unneeded properties references
2019-12-24 17:25:46 +02:00
Michail Vourlakos
84d8abed91 remove deprecated SignalMapper at waylandinterface 2019-12-22 13:36:51 +02:00
Michail Vourlakos
45b37050d1 dont wait for dock to show for activate shortcuts
--when the application launcher is not a popup then
we do not have to wait for the dock show we can execute
the activation code immediately
--when Latte activates an entry can now understand
if a popup is going to be shown in order to delay
the execution. If a popup is NOT going to show either
for a latte task or an applet then the code is executed
immediately

BUG:415417
FIXED-IN:0.9.6
2019-12-21 20:21:51 +02:00
Michail Vourlakos
55cb8efb17 refactor:move qml handling from globalshortcuts
--all the qml handling code from globalshortcuts is
now moved to Latte::View::ContaimentInterface. This
way the code is cleaner and can be expanded easier.
2019-12-21 18:53:02 +02:00
Michail Vourlakos
d72745910a improve panel background is shown identification 2019-12-20 15:59:26 +02:00
Michail Vourlakos
51caa06615 improve criteria for side panels dyamic touching
--Latte panels when they touch each other are informing
each other in order to provide consistent appearance. For
example the Unity mode where a top panel and a left panel
exist at the same time. In such case if the left panel is
INBUSY background state then the top panel is informed and
because inBusy state also. This way the top border of left dock
background does not look out of place. ON THE OTHER hand if
the left dock is hidden because the use has chosen auto-hide
visibility mode or any of the dodge(s) choices then the top
panel does not have to stay in isBusy state. The patch fixes
this by applying this behavior only when the left dock is shown
e.g. the mouse has entered the dock or the dodge mode is not
activated

BUG:415347
FIXED-IN:0.9.6
2019-12-20 15:08:23 +02:00
Michail Vourlakos
c181e8d445 increase grow/shrink distance limits
--automatic icon sizer is using a prediction
algorithm in order to decide to grow or not the
items size. There is a chance that the prediction
calculations are executed too early and as
such grow/shrink limits it is better to not
be to near to each other. That approach should
make the AutomaticItemSizer implementation a little
more robust.
2019-12-11 09:39:19 +02:00
Michail Vourlakos
e11c429a24 fix wrong criteria for isMaximized state 2019-12-09 22:38:10 +02:00
Michail Vourlakos
d855ce2339 consider as isMaximized state only full screen case
--window manager provides two more states isMaxHorizontally,
isMaxVertically. These states can be ignored and be
considered as isMaximized only when both of these states
are valid

FIXED-IN:0.9.6
2019-12-09 22:19:05 +02:00
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