1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-24 17:33:50 +03:00
Commit Graph

3702 Commits

Author SHA1 Message Date
Michail Vourlakos
8e614468bc imrove applets scroll wheel activation
--the new implementation works at all cases even
when the ParabolicEffect MouseArea is not really
enabled (e.g. real panels)
2020-01-31 18:00:17 +02:00
Yuri Chornoivan
734c191578 Use safe hardcoded value for ProvidersUrl
https://marc.info/?l=kde-core-devel&m=158043297319851&w=2
2020-01-31 11:58:46 +02:00
Michail Vourlakos
8ab5779bcb compute blur area correctly on startup
--improve calculations for Effects area during startup
and at the same time when the dock is totally hidden
so it should not paint any effects area at all.

BUG:416928
FIXED-IN:0.9.9
2020-01-30 22:02:53 +02:00
Michail Vourlakos
ebd749fd00 dont break Task.IconItem size calculations startup
--remove no-needed anchors changes state for Task.IconItem
and at the same time fix the size calculations for IconItem.
There were cases for Views that did not use the parabolic effect
at all and Tasks contained single windows tasks (that did not
have launchers assigned), these specific tasks were
appearing at minimum icon size 16px. even though the user
had set much greater values.
2020-01-30 18:48:26 +02:00
Michail Vourlakos
bc2e070960 update Changelog to 0.9.8.1 2020-01-29 20:37:56 +02:00
Michail Vourlakos
b5233ddfe0 option for tasks to scroll and minimize them
--a new Wheel action is introduced to Tasks and
the user can now choose to disable wheel actions
only for tasks OR cycle through grouped tasks OR
upwards cycles trhough grouped tasks and downwards
minimizes them.

BUG:416096
2020-01-28 21:33:47 +02:00
Michail Vourlakos
690fd5516c update Changelog to v0.9.8 2020-01-26 10:35:02 +02:00
Michail Vourlakos
210057af21 take into account roundness for pseudo-blur
--in editing mode the panel background blur takes
into account inside the qml window, it is used
as a demonstration for the user. This patch
takes into account the blurred area roundness
in order to not blur faulty areas that are not
going to be blurred in the end.
2020-01-25 12:36:20 +02:00
l10n daemon script
da145bb57c 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"
2020-01-25 05:44:10 +01:00
Tranter Madi
77c170c8f7 Update from Plasma for ToolTipInstance.qml
Summary: Just pull the update from Plasma

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: mvourlakos, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26760
2020-01-24 15:34:19 +07:00
Michail Vourlakos
0458d53ec9 Left/RightEdge calculations for availableScrRegion
--preparing the infrastructure calculations in order
to publish to Plasma 5.18 and greater the
availableScreenRectagle and availableScreenRegion
that Latte leaves free in current running
screens.
2020-01-22 21:36:30 +02:00
Michail Vourlakos
4b1580c0bd move View::HelperWindows in their own directory
--at the same time create a base SubWindow class for
all window helpers used by Views. Now ScreenEdgeGhostWindow
and FloatingGapWindow use the same window implementation
2020-01-22 19:45:13 +02:00
Michail Vourlakos
a0582ac409 improve FloatingGapWindow creation/deletion
--create FloatingGapWindow the first time needed
from VisibilityManager if it is not already created.
--remove FloatingGapWindow when View::screenEdgeMarginEnabled
is disabled
2020-01-22 14:06:53 +02:00
Michail Vourlakos
ad61f897af improve semantics 2020-01-22 13:51:18 +02:00
Michail Vourlakos
b681836232 expose WindowAbilities from LastActiveWindow API
--expose isClosable,isMinimizable, isMaximizable etc..
through the LastActiveWindow API for applets or containments
to use
2020-01-22 13:02:00 +02:00
Michail Vourlakos
3f68665300 introduce floating gap window
--this window responsibility is to check
if the mouse is still inside the real floating
gap and in such case to prevent the dock from
hiding
2020-01-22 00:28:07 +02:00
Michail Vourlakos
35ce0496ec periodically checking containmouse after slidein 2020-01-22 00:28:07 +02:00
Michail Vourlakos
4d3d6b244d increase hide timer max value 2020-01-22 00:28:07 +02:00
Michail Vourlakos
b32171fe21 Revert "hide timer for floating views"
This reverts commit 706a80cae3.
2020-01-22 00:28:07 +02:00
l10n daemon script
881d0b47ec 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"
2020-01-21 06:00:38 +01:00
Michail Vourlakos
58fcd834d7 fix draging responsiveness for active window 2020-01-19 20:05:07 +02:00
Michail Vourlakos
2a7a009046 dont drag active window with mid click 2020-01-19 19:54:59 +02:00
l10n daemon script
3593ed48c6 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"
2020-01-19 05:31:57 +01:00
Michail Vourlakos
1175f099d8 improve translation string 2020-01-18 20:37:55 +02:00
Michail Vourlakos
88cd15af63 add a mouse wheel delayer for EmtpyAreas
--add a mouse wheel delayer like in other Latte
MouseArea(s) in order to limit the actions
executed through mouse wheel in one second.
The user can now execute five actions at maximum
in one second.
2020-01-18 20:29:31 +02:00
Michail Vourlakos
dabc7bfe88 option to toggle windows minimized state
--mouse wheel can now be used from panel empty areas
in order to minimize windows or cycle between them.
The action is called ScrollToggleMinimed. When that
option is used the user can also use Ctrl+ScrollUp
in order to maximize a window or Ctrl+ScrollDown
to restore it
2020-01-18 20:29:31 +02:00
Michail Vourlakos
77b66e85e0 option to close active window with mid click
--an option to close active window with middle
click from empty areas
2020-01-18 20:29:31 +02:00
l10n daemon script
2b8978c2b4 GIT_SILENT made messages (after extraction) 2020-01-18 02:38:35 +01:00
Michail Vourlakos
5288aa6e38 protect floating views appearance
--floating views is a strange situation for which
plasma theme do not have any way to be protected for
their drawing (there is a chance that shadows and content
overlap). Latte in order to protect from that situation
now uses the auto-discovered plasma theme roundness to be used
in order to calculate the minimum thicknes for panel
background.
2020-01-17 17:50:23 +02:00
l10n daemon script
a9aeb81d62 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"
2020-01-17 06:03:00 +01:00
Michail Vourlakos
87f2f7e644 dont update dock settings mask for compositing
--follow PlasmaQuick::Dialog:Popup window approach
and dont apply any mask when compositing is active
2020-01-16 19:26:54 +02:00
Michail Vourlakos
670c0cf405 remove debug message 2020-01-16 18:51:40 +02:00
Michail Vourlakos
154038c245 consider edge margin for applets shorcut badges 2020-01-16 18:50:52 +02:00
l10n daemon script
5980e4de5c 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"
2020-01-16 05:40:24 +01:00
Laurent Montel
fc5c5c0b0c It alreadys adds by kaboutdata 2020-01-15 13:48:24 +01:00
Michail Vourlakos
f0b37635c8 add indicator option for hidden common settings
--this is an option introduced to v0.10 in order to
inform indicators config settings that the two depracated
settings, "lengthPadding, enabledForApplets" are now
indicators responsibility to provide
2020-01-13 21:53:49 +02:00
Michail Vourlakos
b7e1f6b142 introduce new PlasmaTabStyle indicator
--this indicator is used only internally from Latte
in order to draw default plasma applets tab style
indicators when the user has chosen to not draw
latte specific indicators. A good example of its
usage is when the plasma theme contains tabbar
indicator which is used in applets and the Latte
overlayed icon applets need to use the same visual
with the regular plasma applets.
2020-01-13 21:53:49 +02:00
Michail Vourlakos
4809703e9f remove common global indicators options
--enabledForApplets and lengthPadding for indicators
has now moved to indicators responsibility to handle
--as a consequence usesPlasmaStyle has been removed
from indicators API. The corner cases that indicators
conflict with plasma theme applets should be handled
differently and in a different way
2020-01-13 21:53:49 +02:00
Michail Vourlakos
9aa1aacb7a move TasksAnimations from Effects to Tasks
--be more meaningful by moving Tasks Animations
from Effects Page to Tasks
2020-01-13 21:53:49 +02:00
Michail Vourlakos
7d0d8f74f7 fix applets edge margins calculations
--different applets situations request different
margins for indicators and margins between them
in order to draw them properly. This fix takes
into account when edge margins are disabled from
wrapper and in that case the edge margins for these
are calculated bettter.
2020-01-13 21:53:26 +02:00
Michail Vourlakos
266499a485 support dialogs/background for dock settings wins
--use a different shadows manager for dialogs such as
dock settings window through the Latte::Corona class.
The new shadow manager is responsible to draw
"dialogs/background" shadows for windows instead of
the PanelShadows original class which is responsible
to draw "widgets/background" shadows
2020-01-12 23:51:46 +02:00
Michail Vourlakos
8b1526bc0d Revert "apply proper shadows for dock settings window"
This reverts commit 9e78fab4ce.
2020-01-12 22:23:54 +02:00
Michail Vourlakos
16a04684df blur dock settings window properly
--the new approach is always using the background
mask of the window from the FrameSvgItem background
applied.

BUG:416177
FIXED-IN:0.9.8
2020-01-12 21:56:46 +02:00
Michail Vourlakos
9e78fab4ce apply proper shadows for dock settings window
--copy and use plasmaquick/dialogshadow class from
plasma framework library

BUG:416175
FIXED-IN:0.9.8
2020-01-12 21:20:01 +02:00
Michail Vourlakos
80ceea98e2 respect plasma theme color palette always
--identify better what is the plasma theme color
palette the creator has chosen and use ALWAYS
the same color palette that Plasma is also using.
In the past, Latte was trying to protect the
color palette because Latte REVERSED colors mode
did not work fine for all plasma themes. That
approach is abandoned, Latte will use the same
colors group with plasma themes and it is on
the creators responsibility to provide enough
contrast
2020-01-12 10:52:45 +02:00
Michail Vourlakos
63971f4429 enable normal Latte Tasks removal action
--requesting from users a different way to remove
the Latte Tasks plasmoid if they want to is not
a good hig. Reenabling the classic ways to remove
Latte Tasks. The user can now use the applet tooltip
to remove it or by right clicking it in Latte
edit mode. Because of this the Tasks->Recycling
button is not needed any more.

BUG:415274
2020-01-11 18:33:54 +02:00
Michail Vourlakos
34d6c2cd78 identify highest priority application launcher
--provide a new way to identify which application
launcher has the highest priority in order to be
triggered. When an application launcher applet
has a global shortcut assigned to it then that
application launcher applet has the highest
priority in order to be triggered through
"Super" global key.
2020-01-10 17:58:34 +02:00
Michail Vourlakos
411017c0f6 [wayland,crash]-fix showing advanced dock settings
--fix showing advanced settings window in order to update
the window geometry ONLY WHEN there are availableScreenGeometry
changes from Latte::View(s).
--As a side effect changing docks/panels location under wayland
when they have enabled their background blur has reduced crashes
during location changes.
2020-01-10 16:47:57 +02:00
Michail Vourlakos
706a80cae3 hide timer for floating views
--for floating views the hide timer can do
the trick about when to make the checks
that the view must become hidden. In floating
views should support different default and
current value because it should be greater
that the normal use cases.
2020-01-07 17:54:48 +02:00
Michail Vourlakos
87f86ebc75 trying to support masking for floating 2020-01-07 17:54:48 +02:00