1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-11 13:18:13 +03:00
Commit Graph

5170 Commits

Author SHA1 Message Date
Michail Vourlakos
82ce6b5140 simplify layouts icon drawing logic
--in the past a layout could draw more than
own icons in order to be identified. Now
things are simplified and at all cases ONLY ONE icon
is chosen for each layout based on criteria.
In all cases if the user has chosen a specific
icon for its layout that is respected for all
drawing cases.
2021-03-24 12:46:33 +02:00
Michail Vourlakos
d903da90e7 provide custom layout combobox
--custom layout combobox provides also the chosen
drawn layout icon
2021-03-24 12:26:52 +02:00
Michail Vourlakos
7bfb23fa45 settings draw layout icon in generic way 2021-03-24 11:14:35 +02:00
Michail Vourlakos
f11d6ec5f2 settings use layout isConsideredActive flag
--this way we track better which layouts are going
to be used in each user selected layouts mode meaning
single or multiple layouts mode.
2021-03-24 01:17:08 +02:00
Michail Vourlakos
6fb2762365 introduce layout data isconsideredactive state
--it can be used to identify activeness based on each
consumer criteria
2021-03-24 00:12:50 +02:00
Michail Vourlakos
4fa7831bc5 settings:decouple layout icon for active layout
--favorites icon is now moved in layout name edit box
and is going to indicate only the Active layouts at
some point
2021-03-22 19:52:57 +02:00
Michail Vourlakos
1348863b57 settings:initialize and set views in layouts model
--this action may be costly so it is executed only once
when Views dialog is requesting data for specific layout
2021-03-22 13:21:11 +02:00
Michail Vourlakos
f255de4ce6 viewdata improve debug visual feedback 2021-03-21 17:12:22 +02:00
Michail Vourlakos
622cc6988c provide debug messages for ViewsTable 2021-03-21 16:54:58 +02:00
Michail Vourlakos
a7ac422b31 support running views data from Layouts::Storage 2021-03-21 15:31:47 +02:00
Michail Vourlakos
87ddf1f6d6 update Layout::Storage to Data::View,ViewsTable 2021-03-21 14:36:25 +02:00
Michail Vourlakos
74da7bfb0f add more options in Data::View 2021-03-21 13:35:58 +02:00
Michail Vourlakos
155e589268 improve text string in details window 2021-03-21 13:17:29 +02:00
Michail Vourlakos
065a3ee9c4 add edge in view data 2021-03-21 00:18:28 +02:00
Michail Vourlakos
386e1bf284 introduce Layout ViewsTable 2021-03-21 00:13:16 +02:00
Michail Vourlakos
a48786a5e2 introduce ViewData Origin data 2021-03-20 23:48:53 +02:00
Michail Vourlakos
e7eeb4f9fd introduce ViewData and FIRSTSCREENID 2021-03-20 18:57:28 +02:00
Tranter Madi
f2cbbba0f6 Show Settings window when another instance is running 2021-03-15 16:40:50 +00:00
Michail Vourlakos
1e86067d0e fix margins in settings dialogs 2021-03-15 17:09:21 +02:00
Michail Vourlakos
9d4a059e65 improve exporttemlatehandler names 2021-03-15 16:51:15 +02:00
Michail Vourlakos
119ea9fd23 improve details handler naming 2021-03-15 16:49:53 +02:00
Michail Vourlakos
714b90e4a7 settings:provide views handler 2021-03-15 16:40:05 +02:00
Michail Vourlakos
b25492a6fb provide Views SubDialog in settings window 2021-03-15 11:14:45 +02:00
Michail Vourlakos
d5a434e994 provide views dialog ui 2021-03-15 10:52:52 +02:00
Michail Vourlakos
e2206afbfd rename Copy layout to Duplicate
--improve button name in Layouts Editor
from Copy to Duplicate
2021-03-14 13:12:56 +02:00
Michail Vourlakos
35ac94a5ec layouts:do not update column widths when no needed
--remove signal that is not needed to be sent
2021-03-13 19:50:48 +02:00
Michail Vourlakos
c65e7ce4df improve naming of positioner property 2021-03-13 17:28:19 +02:00
Michail Vourlakos
5bc5e684b5 protect from invalid screen connectors 2021-03-13 17:16:10 +02:00
Michail Vourlakos
76b6317f9e validate screen ids and store them properly
BUG:434343
2021-03-13 17:12:06 +02:00
Michail Vourlakos
32f4c3f7a1 update properly single layout with switch button
--when Switch button is used exactly after the user
is choosing single mode, the layouts model mode is also
updated directly in order to be consistent with
user options
2021-03-11 11:39:26 +02:00
Michail Vourlakos
a58dfde26c preserve indicator positioning for bouncing tasks 2021-03-10 22:51:47 +02:00
Michail Vourlakos
a153ed71f7 ignore MarginsAreaSeparators at PositionShortcuts 2021-03-10 13:12:12 +02:00
Michail Vourlakos
d6bf586ba7 fix crash from using Applet Alternatives option 2021-03-10 12:39:04 +02:00
Michail Vourlakos
e5f80a72a5 set 50% as maximum for background radius
--according to https://www.w3schools.com/howto/howto_css_rounded_images.asp
50% is considered the default maximum value for background
roundness.
2021-03-10 11:53:11 +02:00
Michail Vourlakos
bf016527b2 fix more centered Justify calculations 2021-03-09 21:11:44 +02:00
Michail Vourlakos
4132982486 layouter:fix Justify mode centered items size
--fix case of icons-only plasma taskmanager in order to
provide a way to center it. The user can add icon-only
taskmanager in center of Justify mode and add also
two latte expanding spacers around it in order center it.

BUG:434198
2021-03-09 20:59:42 +02:00
Michail Vourlakos
7b817893f0 fix #53,calculations for hidden input in LeftEdge 2021-03-08 21:46:37 +02:00
Michail Vourlakos
01eb69bbe5 update desktop geometry on startup
--when Plasma is started much later than Latte
the Plasma::Extended::ScreenGeometries should enable
its broadcasting interface when Plasma is first
registered in DBus

BUG:424356
2021-03-07 11:43:05 +02:00
Michail Vourlakos
f6e8125804 fix background paddings based on custom Roundness
--when custom roundness is applied then background paddings
should always respect it independent of the plasma theme
default roundness

BUG:433887
2021-03-07 08:35:50 +02:00
Michail Vourlakos
a4e6570b05 update mask properly for !compositing case
BUG:433887
2021-03-07 08:10:12 +02:00
Michail Vourlakos
b940d4df72 limit placeholder length to not be very big 2021-03-07 00:30:25 +02:00
Michail Vourlakos
069bbfc41a provide valid placeholderlength for autofill dragged 2021-03-07 00:25:11 +02:00
Michail Vourlakos
c8676170f9 fix offset changing for !compositing mode
--do not change offset faulty for !compositing mode
for all cases. In the past all Views in !compositing
mode they were working as behaveAsPlasmaPanels, this
is no more the case.

BUG:433887
2021-03-06 22:32:04 +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
b60e2ee5d9 enable floating gap hiding delay for all alignments 2021-03-06 17:58:13 +02:00
Tranter Madi
a1af4f6831 Delay floating gap hiding until mouse leaves 2021-03-06 15:51:19 +00:00
Michail Vourlakos
1f79546b39 fix indicators applet specific margin 2021-03-06 13:58:47 +02:00
Michail Vourlakos
83bdbced35 remove no needed variable 2021-03-06 13:35:18 +02:00