1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-09 16:58:16 +03:00

248 Commits

Author SHA1 Message Date
Aroun Olorin
4f93251d8c fix: read plasmashell version more reliably
In some cases, `plasmashell -v` crashes, which makes `readAllStandardOutput`
fail, although the version is printed out by the process before crashing.
See https://bugs.kde.org/show_bug.cgi?id=467696 and
https://bugreports.qt.io/browse/QTBUG-112258 for the details of the crash.

Instead, read the libtaskmanager version from CMake, which is much more
reliable.
2023-03-31 15:30:03 +00:00
Michail Vourlakos
b7c7e9ebd4 wayland workaround:respect popupmargin 2022-05-22 18:38:54 +03:00
Michail Vourlakos
59b422448b fix #100,introduce parabolic edge spacers for main
--new introduced external spacers of main layout are
used from parabolic effect in order to keep the contents
of main layout in balance. That produces a much better
visual result for the user because when the user hovers
an item, that item is zoomed and the mouse is still
present at first hovered position.
2022-02-27 17:24:48 +02:00
Michail Vourlakos
f1472db653 parabolic:simplify linear code
--define the mathematical approach more appropriately
in order to be extended and understood much easier
2022-02-21 16:28:45 +02:00
Michail Vourlakos
097ceed7d2 split thickness margins to tail and head
--make head thickness margin and tail thickness
margin totally independent
--ability item: reanchor it based on the screen edge
like applets are already doing
--adjust tasks animations in order to take into
account the anchoring
--parabolic effect adjust calculations to use
new thickness margins
2022-01-30 13:25:51 +02:00
Michail Vourlakos
219e901e87 zoom:improve response on first and last items
--improve zoom behavior for first and last items when
the user hovers them before any other item is hovered
and zoomed
2022-01-23 00:28:43 +02:00
Michail Vourlakos
60095bba3b fix #96,FEATURE:AllScreens and AllSecondaryScreens
--This is a HUGE FEATURE and so important for multi-screens
users. It is introduced as one single commit because it
reimplements plenty of infrastructure changes and it will
be easier to identify newly introduced bugs.
--Users can now choose for their docks and panels to belong
at various screen groups. The first two screen groups introduced
are AllScreens and AllSecondayScreens. In the future it might
be possible to provide CustomScreensGroup that the user will
be able to define specific screens in which a dock or panel
should be always present.
--Current solution specifies an Original dock or panel and clones/copies
itself automatically to other screens. So docks and panels in other screens
are just real docks and panels that reference themselves to original
docks and panels.
--Clones are destroyed during layout startup and are automaticaly
recreated. It is suggested to export your layouts through the
official Layouts Editor in order to share them because in that case
clones are not included in the new generated layout file. If in any
case you do not this and you share your layout with any previous
versions then your clones will just appear as separate docks and
panels that belong to specific screens.
--Automatic syncing was introduced in order to keep up-to-date
the configuration of Original docks and panels with their referenced
Clones.
--Automatic syncing currently works for all docks and panels settings,
for all normal applets configurations and for all subcontaiments
configuration such as systrays.
--Automatic syncing does not work for applets inside subcontainments
such as Group Plasmoid. In such case it is suggested to configure
your applets inside your Group Plasmoid in the original dock or panel
and afterwards to trigger a recreation for the relevant clones
--Manual recreation of clones is easily possible by just choosing
the dock or panel to be OnPrimary or OnSpecificScreen and rechoosing
afterwards the AllScreensGroup or AllSecondaryScreensGroup
2022-01-16 13:38:13 +02:00
Ömer Fadıl Usta
d0f4bcfa33 Freebsd compile fix
(try#1)
2022-01-08 02:20:00 +00:00
Michail Vourlakos
98f39e17e3 parabolic:fix applets clearing issue 2022-01-07 14:32:38 +02:00
Michail Vourlakos
b1c3594367 provide ParabolicEffect spread option
--this way the user can choose to use a much
greater parabolic effect that will influence five
or seven of its neighbours instead of just three.
The new option can be found at Latte Global Preferences.
2022-01-07 10:17:36 +02:00
Michail Vourlakos
78b124e8f4 align properly thintooltips on vertical edges 2022-01-04 15:01:39 +02:00
Michail Vourlakos
fc8c439787 anchor tooltip for all latte specific applets 2021-12-31 12:30:22 +02:00
Michail Vourlakos
ce15e4e511 hide thin tooltip properly
--update current visual parent for thin tooltip
even when this tooltip showing is blocked. Such
a case is when a different applet popup is triggered.

BUG:443645
FIXED-IN:0.10.7
2021-12-30 03:31:49 +02:00
Michail Vourlakos
9351277cd7 anchor thin tooltips on their visual parents
BUG:447631
2021-12-30 03:12:18 +02:00
Michail Vourlakos
c2b20852ea recreateview:fix launchers group assignment
--after recreating a view, launchers group is now
assigned again correctly. As it appears the problem
was that Host.MyView ability was sending an isReady
signal that was not accurate enough.
2021-12-12 14:39:27 +02:00
Michail Vourlakos
e642087e31 Indicators API:Extend animations capabilities
extend indicator.level.requested signals with:
  --taskLauncherActivated
  --taskGroupWindowAdded
  --taskGroupWindowRemoved

extend indicator.level.requested properties with:
  --isIndicatorTaskLauncherAnimationRunning

extend indicator info with:
  --providesInAttentionAnimation
  --providesTaskLauncherAnimation
  --providesGroupedWindowAddedAnimation
  --providesGroupedWindowRemovedAnimation

adjust Latte Tasks in order to support properly
animations implemented through indicators.
2021-10-30 14:37:02 +03:00
Michail Vourlakos
eda019016d Indicators:expose more options for Icons
--the following options are exposed to indicators
in order to use them to their preference:
----iconTransformOrigin
----iconOpacity
----iconRotation
----iconScale
2021-10-28 12:33:29 +03:00
Michail Vourlakos
7e1b0bc2ee fix binding loops in Indexer client ability 2021-10-28 10:05:03 +03:00
Michail Vourlakos
1aeae6d256 restore indicator iconOffset when changing styles 2021-10-23 13:02:18 +03:00
Michail Vourlakos
c86878f6c7 [indicators api] - new background corner margin
--introducing in Indicators API a new option to
specify the indicator preference for the distance
between the indicator and panel background roundness.
By altering the option the indicator can get into
the panel background roundness.

BUG:442675
2021-10-03 09:23:50 +03:00
Michail Vourlakos
47702a59be respect indicators iconOffsetX/Y values properly
BUG:440283
2021-07-26 09:55:42 +03:00
Michail Vourlakos
c2a3298b5b abilityitem:fix bindingloop headIsVisibleSeparator 2021-05-31 22:07:16 +03:00
Michail Vourlakos
e85c3229ca indexerclient:do not double add indexes 2021-05-31 21:04:42 +03:00
Alexander Lohnau
505379ed04 Use spdx syntax for all files 2021-05-27 15:01:00 +00:00
Ömer Fadıl Usta
108bc0af05 Update declarativeimports/core/iconitem.cpp 2021-05-22 13:45:10 +00:00
Ömer Fadıl Usta
03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 2021-05-22 13:45:10 +00:00
Michail Vourlakos
117d68749b plasmoid:fix monochromized icons implementation 2021-05-17 22:01:38 +03:00
Michail Vourlakos
1a038e1999 popup margin:apply it also to screen length
-- creates a much better visual result the popup
margin to be applied also to the screen length
margins and not only to thickness one
2021-05-09 23:01:34 +03:00
Michail Vourlakos
690ce51d75 override Dialog::popupPosition
--instead of adjustGeometry we now use
popupPosition which is used in more places
in order to place the PlasmaQuick popups
correctly based on Latte requirements
2021-05-09 20:47:17 +03:00
Michail Vourlakos
15d384e812 fix #69,specify preview window parent screen edge 2021-05-09 19:29:13 +03:00
Michail Vourlakos
836aba7ba4 ShorcutBadge:ignore marginsareaseparator placement 2021-05-08 13:06:13 +03:00
Michail Vourlakos
27e1619cf0 fix indicators special download button
--update also Default layout to something
upgraded
2021-05-05 17:08:36 +03:00
Michail Vourlakos
05b53d01fb abilityitem:separator is always drawn same
--remove any worksaround concerning the case
that parabolic effect is disabled
2021-05-03 10:28:59 +03:00
Michail Vourlakos
397cacf112 calculate properly popup dialogs positioning 2021-05-03 04:14:56 +03:00
Michail Vourlakos
940bee9408 Latte::Quick use layout popUpMargin
--this way we can support three different
popup styles. Plasma/AllBorders/Far From Edge
2021-05-03 03:11:09 +03:00
Michail Vourlakos
01c7eae42a set indicator.screenedge minimum value to zero 2021-04-29 00:39:34 +03:00
Michail Vourlakos
f5fb12e8da position latte panels pop ups really nice
--expose appletsLayoutGeometry through Latte::View
dynamic properties and allog LattQuick::Dialogs to
use it in order to be positioned nicely
2021-04-28 15:52:17 +03:00
Michail Vourlakos
2bf647db8e provide nice internal Compact.qml implementation 2021-04-27 16:58:50 +03:00
Michail Vourlakos
0d1661f942 move Latte::Dialog to LatteCore library
--this way we can use it to plenty places
2021-04-27 15:10:17 +03:00
Michail Vourlakos
f0065279f4 update view:positioner relocation properties 2021-04-11 17:45:13 +03:00
Michail Vourlakos
f242bdf3bd for #58,support plasma theme switch svg 2021-04-02 19:37:48 +03:00
Michail Vourlakos
d82faa359c remove no needed lines 2021-04-02 12:29:55 +03:00
Michail Vourlakos
2fb98156d6 improve layouting for switch style 2021-04-02 12:14:27 +03:00
Michail Vourlakos
a58dfde26c preserve indicator positioning for bouncing tasks 2021-03-10 22:51:47 +02:00
Michail Vourlakos
f9e277a9a5 latte indicator:thickness margin option 2021-03-06 19:41:08 +02:00
Michail Vourlakos
f50d01fa90 increate Latte indicator size
--provide also an option for increase its size

BUG:430587
2021-03-06 19:31:41 +02:00
Michail Vourlakos
765fd490c3 move Duplicate Dock in Add... menus
BUG:433688
2021-03-06 18:33:54 +02:00
Michail Vourlakos
ac8a88d700 improve AddItem visual
--make it Square with small roundness in order to
fit better at all cases
2021-03-01 01:17:12 +02:00
Michail Vourlakos
d51f2d99a3 context menus add more sections
--move elements around in order for the user to find
them at the same positions for all cases independent
if the user triggers context menu from applets or
empty containment areas
2021-02-28 18:26:55 +02:00
Michail Vourlakos
87ae24dae1 add myView.action() to reach view actions
-this way things are more clear how the actions
are applied and reordered
2021-02-28 13:16:40 +02:00