Commit Graph

349 Commits (6b3d0933cedd573f01abb0e2da24201f15910c5f)

Author SHA1 Message Date
Michail Vourlakos b8dca987f6 latte plasmoid support new v0.9 Communicator 6 years ago
Michail Vourlakos b418923c03 move from luminas to brightness
--the luminas functions didnt work well
for all cases. Latte is now using brightness
functions as described at:

   https://www.w3.org/TR/AERT/#color-contrast

this patch fixes all cases mentioned in the bug
that Latte contrast identification did not work well

BUG: 402115
6 years ago
Michail Vourlakos f84043d28e REFACTOR:change dock in containment to latteView 6 years ago
Michail Vourlakos d8621a9435 refactor:plasmoid rename latteDock to latteView 6 years ago
Michail Vourlakos 67253eda9d REFACTOR:update qml to new Latte.Types 6 years ago
Michail Vourlakos 74f80cd4db 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
6 years ago
Michail Vourlakos b191d72144 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 694e25ef6b restore mouse wheel actions for tasks
BUG: 401380
FIXED-IN: 0.8.4
6 years ago
Michail Vourlakos 8294bd892c support plasmoid.screenGeometry properly
BUG: 401333
6 years ago
Michail Vourlakos 6c58115f9b 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
6 years ago
Michail Vourlakos 530dd8d655 simplify more the communicator 6 years ago
Michail Vourlakos 37b89f2830 move qml luminance calculations to js files 6 years ago
Michail Vourlakos 9dae7f7170 add Colorizing properties in Communicator
--add properties in order for the Communicator
to inform applet when to use the LatteColorScheme
6 years ago
Michail Vourlakos e44bbffc78 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 6f0bde510c 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 8db41a9ec2 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 beb28b1a9f 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 892becd5f0 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
Yuri Chornoivan 7323068f36 Fix minor EBN issues 7 years ago
Michail Vourlakos b4dd016ed0 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
7 years ago
Michail Vourlakos afb34a85cf 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
7 years ago
Michail Vourlakos b4a7b1ac84 restructure windows previews to plasma design
--previews showed some strange behavior by
re-introducing faulty or empty previews under
X11. Best way to approach this is to follow up
plasma design idea in order for the code to be
comparable. The code was updated and the introduced
issue shows to be fixed but this wants users
feedback.

BUG: 397193
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 9a69323293 smarter badges identifier for activation shortcuts
--with this commit now Latte is able to identify what are
the global shortcuts used for each activation entry and
also to not show at all any badge for activation entries
that are disabled from the user

BUG: 397128
7 years ago
Michail Vourlakos ffe2995493 delayer for tasks wheel events
-- touchpads and fast wheel scrolling for
tasks was creating an unpredicted effect
from user point view. The solution was
already tested from audio badges, applets
wheel activation but hadnt got into
for Tasks.

BUG: 396737
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos c64d39172e increase volumestep for audio badges wheel 7 years ago
Michail Vourlakos 3ea01dfafc fix badge text warning and border.color 7 years ago
Michail Vourlakos e6d87a0097 fix for filtering tasks based on launchers 7 years ago
Michail Vourlakos d7070d6a34 dont update spacers in launcher bouncing animation 7 years ago
Michail Vourlakos 0c6f9be0e7 some improvements to hidden spacers 7 years ago
Michail Vourlakos 1365d2f444 improvements for hidden spacers animations 7 years ago
Michail Vourlakos ff2b895fed fix launch feedback for plasma 5.13
--in plasma 5.13 there are cases the libtaskmanager
shows two launchers because we delay the launcher
removal for the bouncing animation. A way
to fix this by the user is to disable all startups
through plasma systemsettings->launch feedback
for the taskmanager. But because this is a
default plasma option many users would feel
uncomfortable when the launching animation
breaks. Such apps were gimp and inkscape.
This patch handles that case in order to provide
a nice no-breaking launcher animation for
these apps also.
7 years ago
Lukas Holecek 79df6cbe2c Activate next task in group on shortcut
Clicking a task group shows a tooltip with list of tasks. This tooltip
cannot be controlled by keyboard and it will stay open unless mouse is
used.

This patch changes the behavior so that when a global shortcut activates
a task group (usually Win+1, Win+2 etc.) a next task in the group is
activated without showing a tooltip.
7 years ago
Michail Vourlakos 8866047099 fix #1031,limit tooltip to 80characters 7 years ago
Michail Vourlakos 568ccd6e26 localization strings improvements 7 years ago
Michail Vourlakos 33f104215a fix #976,dont hide startups when having launchers 7 years ago
Michail Vourlakos 83be8d9b20 fix #986,option to not group tasks
--give the user option to group or not
tasks of the same application by default
7 years ago
Michail Vourlakos 2d9b5376b7 add missing license headers in javascript files 7 years ago
Michail Vourlakos 7c593c7112 fix #977,improve geometries publishing 7 years ago
Michail Vourlakos 7f89bd99b0 fix #985,use same style for tasks/applets numbers 7 years ago
Michail Vourlakos e9ad5cd660 fix #981,single window titles in title tooltips 7 years ago
Michail Vourlakos 6881d8fbbe fix #970,parabolic effect fix
During dock sliding-in because the parabolic
effect isnt trigerred immediately but we wait
first the dock to go to its final normal
place we might miss the activation of the
parabolic effect. By catching that signal
we are trying to solve this.
7 years ago
Michail Vourlakos 7b77a71980 dont disable restore zoom for previews 7 years ago
Michail Vourlakos 3b7f4f4997 [wayland] improve previews behavior 7 years ago
Michail Vourlakos 5ea2cfa79e [wayland] - fix previews crash
-- disable the use of PlasmaCore.WindowThumbnail
under Wayland in order to fix a crash that was
appearing after a while when the user was using
previews

BUG: 392865
7 years ago
Michail Vourlakos 6de8417007 fix #970,dont show previews when sliding in/out 7 years ago
Michail Vourlakos 6d7d53e454 improve removal animation
-- when removing a task and there are surrounding
separators then the hidden spacers are updated
immediately for the neighbour tasks. In such case
in order to not break the removal animation a small
margin must applied.
7 years ago
Michail Vourlakos 39d837da1d increase separators update signals
--add a delayer in order to syncLaunchers to avoid
a crash when multiple docks exist that are synced
together.
7 years ago
Michail Vourlakos 544642903b fix warnings under wayland 7 years ago
Michail Vourlakos 18fb040b84 dont break the bouncing animation 7 years ago
Michail Vourlakos 9c15b90f78 update tasks edges when task becomes shown/hidden 7 years ago