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

2460 Commits

Author SHA1 Message Date
Michail Vourlakos
f42fe460b3 dialogs:use same code for changesindicators 2021-04-10 20:59:06 +03:00
Michail Vourlakos
b78b7e1fe8 viewsdialog:draw changes indicator when needed 2021-04-10 20:28:44 +03:00
Michail Vourlakos
25c0a22e6a viewsdialog:color properly optional name text 2021-04-10 20:06:27 +03:00
Michail Vourlakos
16280a3a53 viewsdialog:provide name delegate 2021-04-10 19:13:32 +03:00
Michail Vourlakos
8ba60ea89a viewsdialog:show active screens with bold 2021-04-10 13:45:45 +03:00
Michail Vourlakos
6351d4e892 viewsdialog:provide data changed roles 2021-04-10 12:53:20 +03:00
Michail Vourlakos
230738f4ae disable KWin::reconfigure under wayland
--as long as KWin is not able to be reconfigured under
wayland without issues this codepath is blocked
2021-04-09 13:52:56 +03:00
Michail Vourlakos
961ae8f431 viewsdialog:hide ids for temporary view records 2021-04-09 11:53:28 +03:00
Michail Vourlakos
4d5986a7ff dialogs:use same text formatted line 2021-04-09 11:13:23 +03:00
Michail Vourlakos
0589b2b0fb viewsdialog:provide formatted text for options 2021-04-09 10:55:24 +03:00
Michail Vourlakos
ac7e7b1c6d viewsdialog:support remove dock/panel action 2021-04-08 20:17:57 +03:00
Michail Vourlakos
a13e157686 dialogs:disable messages animated show
--it was not smooth so it is disabled
2021-04-08 14:51:05 +03:00
Michail Vourlakos
8824c6e454 dialogs:support multiple information widgets 2021-04-08 14:39:29 +03:00
Michail Vourlakos
749cbca3e8 viewsdialog:add view name when from view template 2021-04-08 14:12:28 +03:00
Michail Vourlakos
81c31edaa4 viewsdialog:provide view name and update it also 2021-04-08 13:53:45 +03:00
Michail Vourlakos
49e7cc3dd3 viewsdialog:consistent tableview selecting row 2021-04-08 13:41:52 +03:00
Michail Vourlakos
23fe87e736 viewsdialog:add properly new temporary views 2021-04-08 13:39:44 +03:00
Michail Vourlakos
5dde3fdfc5 provide append/removeView in dialog views model 2021-04-08 12:59:18 +03:00
Michail Vourlakos
2bb170fba8 expose views templates in Views New dialog button 2021-04-08 12:33:39 +03:00
Michail Vourlakos
5577a0c328 connect all parts of viewsdialog
--inform about data changes and enable
also the Reset button
2021-04-06 08:52:22 +03:00
Michail Vourlakos
4e7d7aba5f update values in the views model through menus 2021-04-04 17:14:05 +03:00
Michail Vourlakos
b29a8fa9b3 provide screens options in views dialog 2021-04-04 12:25:20 +03:00
Michail Vourlakos
c27727c9e7 provide options for views settings 2021-04-04 11:55:03 +03:00
Michail Vourlakos
2b1464fb1b provide genericbasictable through meta system 2021-04-04 11:07:45 +03:00
Michail Vourlakos
55018eae0d consistent appearance for views tableview 2021-04-03 18:14:25 +03:00
Michail Vourlakos
89f15b420a remove QProcess include file 2021-04-02 00:07:53 +03:00
Michail Vourlakos
e207451848 remove QProcess from universal settings
--it should fix the issue related to borderless windows
under wayland
2021-04-01 23:46:33 +03:00
Michail Vourlakos
7adcd450d7 fix views initialization table layout id
--by chosing the current layout id we can be sure
that even newly created layouts will expose their
views
2021-04-01 12:40:06 +03:00
Michail Vourlakos
7aa94bede1 expose views data through views dialog 2021-04-01 12:12:08 +03:00
Michail Vourlakos
c7932ea83a view settings:include name column 2021-04-01 11:16:55 +03:00
Michail Vourlakos
5af4f9c434 provide name for views 2021-04-01 11:00:59 +03:00
Michail Vourlakos
82c0029526 do not update ids in multiple mode continuously 2021-03-31 18:14:07 +03:00
Michail Vourlakos
06f90877d5 rephrase menu to Edit Layouts... 2021-03-31 12:11:35 +03:00
Michail Vourlakos
e04dd29d89 settings:store Details dialog size 2021-03-31 12:04:13 +03:00
Michail Vourlakos
089b24dbe5 settings:store views dialog window size 2021-03-31 11:57:30 +03:00
Michail Vourlakos
634e68b857 settings:store views column widgets/criteria 2021-03-31 11:44:32 +03:00
Michail Vourlakos
9d68f6b32a provide views table header 2021-03-31 11:03:36 +03:00
Michail Vourlakos
a71c2cc96b hide copy/paste actions for views 2021-03-30 10:30:54 +03:00
Michail Vourlakos
c7a11ba7ea settings:introduce views controller 2021-03-30 10:26:59 +03:00
Michail Vourlakos
4719201b4d settings:introduce views model 2021-03-28 13:36:34 +03:00
Michail Vourlakos
b8229ac199 draw custom text color for default custombackground 2021-03-24 13:18:07 +02:00
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
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
a4e6570b05 update mask properly for !compositing case
BUG:433887
2021-03-07 08:10:12 +02:00
Michail Vourlakos
393db028b7 provide access below screen margin for Docks
--using hidden VisibilityManager::floatingGapWindow
implementation in order to provide full access for
the area which is below the screen margin when the
user has disabled user interaction for that area

BUG:433820
2021-03-04 19:18:42 +02:00
Michail Vourlakos
b6f43057ce accept Explicit and Primary on same screen edge
--we now accept Explicit Views in the same screen edge
with OnPrimary Views At ALL CASES and we do not remove
them until the Screens properties have created a deprecated
valid Screens Views Map
2021-03-03 22:21:36 +02:00
Michail Vourlakos
03bd034898 fix user changing screen behavior
--wait for the actual screen change to really
happen in order to reshow the dock afterwards

BUG:433876
2021-03-03 22:04:25 +02:00
Michail Vourlakos
f6df7a7df1 introduc fast layout manager for containment 2021-03-02 19:33:24 +02:00
Michail Vourlakos
c07b42b0b2 exportdialog rephrase export button in second time
BUG:433735
2021-03-01 19:22:27 +02:00
Michail Vourlakos
ddcfe56eda improve exported view template name
--use also the layout name as first part of the
proposed name
2021-03-01 19:14:13 +02:00
Michail Vourlakos
fe5d2d7a63 context menu:provide Add view through templates 2021-03-01 19:04:21 +02:00
Michail Vourlakos
631f4a9d6e provide moveView through context menu
--the user can now user the ContextMenu in order
to move a view between different active layouts
2021-03-01 17:15:12 +02:00
Michail Vourlakos
7f64126d5f improve and simplify context menu data 2021-03-01 16:18:43 +02:00
Michail Vourlakos
56b142eca0 same way everywhere to expose containmentActions
--tasks applet is now using a generic way to show
Latte containmentActions for its context menu and
this can be easily reused by any other applet that
creates its own ContextMenu
2021-02-28 21:06:38 +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
5fa77e05eb contextmenu:add export as template 2021-02-28 17:40:53 +02:00
Michail Vourlakos
965644ce2c add duplicate view in context menu 2021-02-28 17:27:04 +02:00
Michail Vourlakos
c159753c4f whitelist margins separator for exported templates 2021-02-28 14:58:07 +02:00
Michail Vourlakos
b49d5eb084 layouts window:store column widths properly 2021-02-28 14:49:11 +02:00
Michail Vourlakos
f39e46fd68 hide settings window InMenu for inMultipleMode
--inMultipleMode only Plasma Activities Explorer can
enable/disable layouts
2021-02-28 14:11:32 +02:00
Michail Vourlakos
b1de2a3905 contextmenu:hide inactive layouts at MultipleMode 2021-02-28 13:47:45 +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
Michail Vourlakos
a44c5fa821 provide remove dock action in context menu 2021-02-28 11:56:09 +02:00
Michail Vourlakos
b31792cd7b fix primaryconfig maximum height
--the new approach uses canvas geometry and
computes properly the maximum available screen
height in order for Primary Dock Settings window
to use screen height effectively
2021-02-27 20:00:00 +02:00
Michail Vourlakos
373b8c5b56 do not break user view template file on first use 2021-02-27 18:34:06 +02:00
Michail Vourlakos
2b59a085e4 clear more options for exported templates 2021-02-27 18:07:47 +02:00
Michail Vourlakos
bb0b5cbd26 clear layoutId when exporting view template 2021-02-27 17:29:32 +02:00
Michail Vourlakos
53231392ba position properly primary config win on first call
--sometimes when the primary config window is first called
it was wrongly positioned at most bottom-left screen corner
2021-02-26 17:12:59 +02:00
Michail Vourlakos
9e487b613b identify applet isMarginAreaSeparator 2021-02-26 17:04:49 +02:00
Michail Vourlakos
674b6ea754 plasma theme extended:separator area margins
--discover and expose plasma theme margins for
separator areas
2021-02-26 16:49:42 +02:00
Michail Vourlakos
7a1b920aba init default color scheme based on plasma version 2021-02-19 18:05:26 +02:00