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

2718 Commits

Author SHA1 Message Date
Michail Vourlakos
c5c61dffe3 storage:use knownErrors both for errors and warns 2021-04-30 19:03:33 +03:00
Michail Vourlakos
c33623a809 storage:provide orphaned parent applet checker 2021-04-30 09:39:44 +03:00
Michail Vourlakos
ceda380e49 improve errors semantics 2021-04-30 08:19:49 +03:00
Michail Vourlakos
a5d289eb89 storage errors fix adding error data 2021-04-30 01:38:02 +03:00
Michail Vourlakos
27d9f209ea layout:drop isBroken in favor of errors/warnings 2021-04-30 01:01:31 +03:00
Michail Vourlakos
51044ce630 layout:provide errors/warnings structured nicely 2021-04-30 00:26:47 +03:00
Michail Vourlakos
2be67b11c5 storage:provide appletAndContainmentSameId checker 2021-04-29 19:15:25 +03:00
Michail Vourlakos
c74f5cf7fc appletdata:provide storageId
--in case any consumer wants to use that info
2021-04-29 18:49:47 +03:00
Michail Vourlakos
11aa2abd2e storage provide differentAppletsSameId checker 2021-04-29 18:39:32 +03:00
Michail Vourlakos
849e66fd80 storage:provide orphaned subcontainments checker 2021-04-29 18:21:42 +03:00
Michail Vourlakos
a2bf28054f add known errors in layouts storage 2021-04-29 17:58:45 +03:00
Michail Vourlakos
7eedf8f8a2 introduce errordata and errorinformationdata 2021-04-29 17:42:17 +03:00
Michail Vourlakos
ecd582eaf9 layoutseditor:clear consideredactive on duplicate 2021-04-29 17:19:12 +03:00
Michail Vourlakos
d5a34c7c84 settingsdialog:fix Del shortcut to remove entries 2021-04-29 14:48:41 +03:00
Michail Vourlakos
2927ed04f2 layout:fix crash from removeView
--when removeView is called the relevant containment
should be first removed from containments relevant
layout list in order to not be reenabled through
syncLatteViewsToScreens
2021-04-29 14:28:50 +03:00
Michail Vourlakos
462e15b428 viewsdialog:reduce opacity for cutted views
--this way we follow the filemanagers approach that
cutted records are appearing with big transparency
in order for the user to be informed about which
records are going to be moved after paste action
2021-04-29 13:45:20 +03:00
Michail Vourlakos
2abebf487e viewsdialog:make changed options italic
--this way is simpler for the user to identify
which options have changed
2021-04-29 12:35:38 +03:00
Michail Vourlakos
3c60da8ddb viewsdialog:consistent look for table headers 2021-04-29 10:29:17 +03:00
Michail Vourlakos
b7fbe2dad3 settingsdialog:introduce import submenu
--import from local file and download from kde
store are semantically the same so they are combined
in the same import submenu
2021-04-29 10:17:28 +03:00
Michail Vourlakos
cbf480ad44 viewsdialog:enable sorting path for all columns 2021-04-29 09:40:59 +03:00
Michail Vourlakos
31b10d9c58 viewsdialog:nice screens visuals for all choices 2021-04-28 23:40:24 +03:00
Michail Vourlakos
432f80ebe8 viewsdialog:provide screen icons in menuitems 2021-04-28 21:08:29 +03:00
Michail Vourlakos
b5f483abf8 viewsdialog provide custom menu items 2021-04-28 20:23:10 +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
1e487a4b1c widgetexplorer:delete on each hiding 2021-04-28 00:47:07 +03:00
Michail Vourlakos
53827549d7 widgetsexplorer:instantiate model on each showing 2021-04-28 00:22:50 +03:00
Michail Vourlakos
0aad703b45 viewsdialog:remove views without user confirmation
--this is because view removals from viewsdialog have
already been confirmed from the user
2021-04-27 17:49:36 +03:00
Michail Vourlakos
3c8ae2fde2 add internal CompactApplet qml implementation 2021-04-27 11:24:52 +03:00
Michail Vourlakos
7fcfcbc6e5 viewsdialog:concrete implementation for move
--these are the last pieces of code in order for
moving active views between different active layouts
to work properly
2021-04-27 10:36:13 +03:00
Michail Vourlakos
6bffba2b16 viewsdialog:support all cases move active views
--moving views between different active layouts can be
tricky because three different scenario should be handled:
--- onscreen_view -> onscreen_view in different active layouts
--- onscreen_view -> offscreen_view in different active layouts
--- offscreen_view -> onscreen_view in different active layouts
2021-04-27 01:43:38 +03:00
Michail Vourlakos
18233dc6ee viewsdialog:support moving between active layouts 2021-04-27 01:22:29 +03:00
Michail Vourlakos
5fd18ee0af add LayoutsManager::moveView function
--moveView for active layouts under MultipleLayouts
becomes more generic and can be used either from
onscreens and offscreens views
2021-04-27 00:08:16 +03:00
Michail Vourlakos
6362d662b7 viewsdialog:create safe cut/paste codepath
--cut/paste can be applied only if there are no changes
in reality otherwise copy/paste is happening
2021-04-26 20:00:18 +03:00
Michail Vourlakos
26e4f13bf6 viewsdialog:improve paste action informative message 2021-04-26 18:36:22 +03:00
Michail Vourlakos
14c560a38a viewsdialog:fixes for cut scenario 2021-04-26 18:31:37 +03:00
Michail Vourlakos
dfa0949330 viewsdialog:implement cut action (send path)
--this is implementation when a user selects views
and chooses to Cut them so they are temporary stored
in the clipboard
2021-04-26 18:11:43 +03:00
Michail Vourlakos
c6ee04c8cf data::view split moving flag in two values
--isMoveOrigin/isMoveDestination are flags used
to identify view records during Cut operation
2021-04-26 17:18:39 +03:00
Michail Vourlakos
a4df805520 viewsdialog:add clipboardContentsChanged signal 2021-04-26 13:37:13 +03:00
Michail Vourlakos
bfb7c95ff5 viewsdialog:fix next select index after removals
--the best user friednly index is the own that will
let the user to remove multiple views sequentely
2021-04-26 13:34:19 +03:00
Michail Vourlakos
76bc442ade viewsdialog:fixes for paste action 2021-04-26 13:28:00 +03:00
Michail Vourlakos
ddd25a0215 viewsdialog:provide paste action 2021-04-26 13:16:56 +03:00
Michail Vourlakos
c6aadab090 viewsdialog:provide copy function
--adjust also the duplicate action properly
2021-04-26 13:09:41 +03:00
Michail Vourlakos
1b72a68bc6 templatekeeper provide clipboard functions 2021-04-26 12:50:07 +03:00
Michail Vourlakos
8b00409d14 viewsdata:add isScheduledForMove flag
--it will help during Cut operations to identify
views that must be moved
2021-04-26 12:36:50 +03:00
Michail Vourlakos
8021602a33 viewsdialog:use templateskeeper for duplicate
--this way storedViews are reproduced only when
really needed. If an action has already produced
a storedView and no changes may have happen when
that storedView is used at all cases
2021-04-25 19:43:27 +03:00
Michail Vourlakos
4976c1e256 settingsdialog:introduce templateskeeper 2021-04-25 18:48:39 +03:00
Michail Vourlakos
3fa524f06c viewsdialog:update duplicate to multiple selection 2021-04-25 11:28:54 +03:00
Michail Vourlakos
f273da26db viewsdialog:update remove to multiple selection 2021-04-25 11:17:58 +03:00
Michail Vourlakos
073d6c1d60 viewsdialog:allow multi-selection of rows
--the user can use Ctrl and Shift in order to select
multiple rows in table view
2021-04-24 20:56:59 +03:00
Michail Vourlakos
e0ed86bd41 viewsdialog:show/hide views context menu actions
--based on a view is selected or not the relevant
actions are shown in the context menu
2021-04-24 20:52:26 +03:00
Michail Vourlakos
05b2a59f25 viewsdialog:provide context menu for views 2021-04-24 19:57:08 +03:00
Michail Vourlakos
945b8ba5ea expose margin values in pixels for the user
--margin values are in percentage, now the user
is able to hover over these values in order
to be informed how much they are calculated in
pixels
2021-04-24 15:06:37 +03:00
Michail Vourlakos
a718d8d58a support aboutToQuit application signal on exit
--add also shadows to tasks window thumbnails
2021-04-24 12:33:40 +03:00
Michail Vourlakos
447f0e549c do not delay exit at all cases
--in the past a delay was needed in order for
docks panels to slide out nicely, this is not
needed any more because kwin takes responsibility
for this.
2021-04-22 13:44:22 +03:00
Michail Vourlakos
00a3d15478 fix #64,position views properly under wayland
--last week commit about beautiful slide in/out through
kwin infrastructure broke the wayland placement for
docks and panels. This commit fixes the issue
and at the same time provide beautifule slide in/outs
for docks panels during their creation and removal.
2021-04-22 10:11:20 +03:00
Michail Vourlakos
a25760df5d use Containment::action("remove") directly
--update Layout::removeView implementation in order
to call containment "remove" function directly.
That approach works more reliable than the previous
one and we are that in the end no orphaned containment
config data will be present in the layout file.
2021-04-22 00:38:44 +03:00
Michail Vourlakos
1a910a73e4 viewsdialog:provide duplicate action 2021-04-21 20:43:18 +03:00
l10n daemon script
e94f3ba475 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"
2021-04-21 01:18:53 +00:00
l10n daemon script
702d664b9e GIT_SILENT made messages (after extraction) 2021-04-21 00:20:14 +00:00
Michail Vourlakos
def1e8b87f viewdialog:remove cut/copy/paste buttons
--these actions will be supported only through right
click context menu and by using the de facto
shortcuts Ctrl+X/C/V
2021-04-20 20:41:45 +03:00
Michail Vourlakos
a14312b227 Storage:sync containment config before storedView 2021-04-20 20:40:05 +03:00
Michail Vourlakos
1afe12ad71 fix how not-installed plugins are identified 2021-04-18 12:18:46 +03:00
Michail Vourlakos
aa608f1bf5 use ::storedView approach for Duplicate View 2021-04-18 11:20:05 +03:00
Michail Vourlakos
9d113ba754 provide Storage/Layout::storedView function
--it is going to be used in order for
Duplicate/Cut/Copy functionality to be supported
properly. Its main purpose is to accept a
layout and a containment_id and based on
that to provide a stored view temp file
which is going to be used as a template
for any future addition.
2021-04-18 11:03:22 +03:00
Michail Vourlakos
2c8d7134bd simplify Layout::newView calls
--template file is already provided from Data::View
so there is no real reason to expose it one
more time
2021-04-18 10:19:14 +03:00
Michail Vourlakos
49faec250c viewsdialog:update active state after ::save() 2021-04-17 19:58:06 +03:00
Michail Vourlakos
4d76005325 viewsdialog:update model data for newly added views 2021-04-17 19:32:40 +03:00
Michail Vourlakos
1fac17d6ba Storage:update newView for views editor
--trying to support newView that works in all the
cases between inactive/active layouts
2021-04-17 14:37:09 +03:00
Michail Vourlakos
dc56e61e64 Storage::simplify a bit newUniqueIdsFile function 2021-04-17 13:11:35 +03:00
Michail Vourlakos
54e9fcdcec storage:adjustments to newUniquedIdsFile 2021-04-17 12:37:10 +03:00
Michail Vourlakos
9e4c233816 Storage::update uniqueIdsFile function 2021-04-17 12:30:23 +03:00
Michail Vourlakos
6254a971cb settingsdialog:fix ConsideredActive for model 2021-04-15 01:07:48 +03:00
Michail Vourlakos
7bd55c202f viewdialog:provide remove views functionality 2021-04-15 00:58:41 +03:00
Michail Vourlakos
585864df8c viewsdialog:protect view removal-confirmate dialog 2021-04-14 21:20:59 +03:00
Michail Vourlakos
938dcdef6c settingsdialog:reorder Dock,Panels button 2021-04-14 11:49:35 +03:00
Michail Vourlakos
bc86878b91 detailsdialog:fix save confirmation dialog behavior
--most importantly Discard acts properly now meaning
that layout is updated and previous settings are discarded
2021-04-14 11:45:28 +03:00
Michail Vourlakos
447c08e95e viewsdialog:fix save confirmation dialog behavior
--apply also consistent "Apply Now" text for confirmation
dialog
2021-04-14 11:39:45 +03:00
Michail Vourlakos
a0bcd9503d increase visual indicator margin
--increase its value to 5px. this way
the two margins and the indicator equals
to 16px. 5+5+6
2021-04-14 11:00:35 +03:00
Michail Vourlakos
8c23f267ed smooth slide-in/out after startup and view removal 2021-04-13 13:02:14 +03:00
Michail Vourlakos
f68aac0501 slide-out views when deleted 2021-04-13 12:46:39 +03:00
Michail Vourlakos
02ff6cc808 fixes for offline properties updates 2021-04-13 12:16:41 +03:00
Michail Vourlakos
050b454b5a support screen changes for offline containments 2021-04-13 10:56:15 +03:00
Michail Vourlakos
2b754dde97 provide inactive views update functionality 2021-04-13 10:20:48 +03:00
Michail Vourlakos
32566ea6ae storage:provide update view containment 2021-04-13 00:54:42 +03:00
Michail Vourlakos
d420a75b8a view nextLocation show properly after slidein
--show view completely after slide-in and after the
slide-in animation has completed trigger visibiliy
checks based on regular visibility criteria
2021-04-12 19:25:22 +03:00
Michail Vourlakos
67095d9520 viewsmodel:fix wrongly showing change state 2021-04-12 18:00:43 +03:00
Michail Vourlakos
38d3de5962 settingsdialog:provide docks,panels button 2021-04-12 17:43:36 +03:00
Michail Vourlakos
b03be80410 disable visibility toggleHidden for no sidebars
--that code can create issues during startup that
visibility mode is not yet set properly and it has
not yet been specified what is going to be its
proper behavior for no-sidebars visibility modes
2021-04-12 12:48:22 +03:00
Michail Vourlakos
b235e6cc96 update view alignment to new architecture
--view alignment can now be updated either by
editdock window or through views dialog in
settings window
2021-04-12 12:24:22 +03:00
Michail Vourlakos
15039f7b8b update view name when changed from user 2021-04-12 09:19:24 +03:00
Michail Vourlakos
92f12b6f63 view:update move to layout
--update to new infrastructure that is able to
switch view location by combining multiple
changes at the same time
2021-04-12 09:10:48 +03:00
Michail Vourlakos
cc4f901cf1 viewsdialog:support updating screen 2021-04-12 00:17:59 +03:00
Michail Vourlakos
cedcbddd4d viewsdialog:do not update layouts model for views 2021-04-11 20:02:09 +03:00
Michail Vourlakos
195a24b33c viewsdialog:apply live screen edges changes 2021-04-11 19:37:54 +03:00
Michail Vourlakos
9a37926348 view::set reposition changes immediately if needed 2021-04-11 18:34:18 +03:00
Michail Vourlakos
3ec142d3a2 drop deprecated screen edge relocation codepath 2021-04-11 18:26:56 +03:00
Michail Vourlakos
f0065279f4 update view:positioner relocation properties 2021-04-11 17:45:13 +03:00
Michail Vourlakos
be636de5ce viewsdialog:show view screen edge margin if any 2021-04-11 11:56:58 +03:00
Michail Vourlakos
ba9ff6342a viewsdialog:compute screen max_ratio 2021-04-11 11:46:25 +03:00
Michail Vourlakos
2a85a7afae viewsdialog:draw screen with real screen factor 2021-04-11 11:22:25 +03:00
Michail Vourlakos
00a1fc05ef viewsdialog:center screen icon properly 2021-04-11 11:09:40 +03:00
Michail Vourlakos
f94bd35ad9 viewsdialog:support vertical screens 2021-04-11 10:19:14 +03:00
Michail Vourlakos
f87fd55199 start a little later on startup
--this way give time to window manager to be up
and running
2021-04-11 09:29:32 +03:00
Michail Vourlakos
c26600e9c0 dialogs:provide drawings remained rectangle 2021-04-11 02:34:01 +03:00
Michail Vourlakos
f92f54f041 viewsdialog:improve name edit box geometry 2021-04-11 02:28:35 +03:00
Michail Vourlakos
ab1be1280d viewsdialog:support screenedges and alignments 2021-04-11 02:14:37 +03:00
Michail Vourlakos
7630064b36 viewsdialog: view data improvements 2021-04-11 01:14:27 +03:00
Michail Vourlakos
b899ed19ae viewsdialog:draw view on screen icon 2021-04-11 01:06:08 +03:00
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
Michail Vourlakos
d437ed8c3d specify plasma default color scheme 2021-02-19 14:42:19 +02:00
Michail Vourlakos
c70ffb5b92 automatic update screen geometries in screen pool 2021-02-17 15:12:27 +02:00
Michail Vourlakos
a01c18a551 update geometrics for screenpool records 2021-02-17 14:20:44 +02:00
Michail Vourlakos
ad0f9901b7 provide single screens data table 2021-02-17 13:37:02 +02:00
Michail Vourlakos
41ebee5a71 update screenpool api 2021-02-17 12:24:36 +02:00
Michail Vourlakos
864a3520f2 remove no needed primary connector logic 2021-02-17 12:14:46 +02:00
Michail Vourlakos
42757668cf provide specific screen data structure 2021-02-17 12:02:52 +02:00
Michail Vourlakos
da3fbca477 organize new>layout templates action menu 2021-02-16 16:46:52 +02:00
Michail Vourlakos
5b9ec2ee06 provide option to import layout templates easily
--when the user imports a layout in its system,
a message is appearing to inform him that he can
also import it as custom layout template
2021-02-16 16:16:50 +02:00
Michail Vourlakos
a58ecc08d7 provide installCustomLayoutTemplate in manager 2021-02-16 15:23:56 +02:00
Michail Vourlakos
cc044d8483 layout editor:provide layout changed indicator
--following plasma systemsettings changes indicator,
layout editor is now also providing an orange circle
in order to indicate that a layout has changes
2021-02-16 10:58:24 +02:00
Michail Vourlakos
c922aec8a5 cleanup exported layout template settings
--cleanup activities and preferredforshortcuts touched
2021-02-15 20:53:40 +02:00
Michail Vourlakos
466e989c28 always show chosen single layout first
--the user selected single layout must be first
of all at all times in settings dialog window
2021-02-14 21:08:34 +02:00
Michail Vourlakos
5e3b9f61eb center single/multiple buttons in settings dialog 2021-02-14 20:26:44 +02:00
Michail Vourlakos
761305af61 improve text for Single/Multiple layouts 2021-02-14 20:23:55 +02:00
Michail Vourlakos
22fa4c8fc8 rename property single active layout
--renaming active layout in single mode is a little
tricky in order to not leave any deprecated data behind.
Successful steps would be:
1. unload current single layout
2. load new single layout for the new file
3. remove deprecated layout file after new file loaded correctly
2021-02-14 20:11:25 +02:00
Michail Vourlakos
4806a7c5e2 fix single mode active layout ordering
--simplify also some code parts in layouts handler
2021-02-14 18:39:30 +02:00
Michail Vourlakos
4a89138a6e provide functionality for Enabled layout action 2021-02-14 18:00:08 +02:00
Michail Vourlakos
da6478fc8e add functionality for activities explorer 2021-02-14 17:07:04 +02:00
Michail Vourlakos
684bf9dc80 provide two new actions in Layouts Editor
--Activities to trigger Plasma activities manager
--Enabled to assign/unassign layouts to different
activities
2021-02-14 16:43:34 +02:00
Michail Vourlakos
ad4095855e fix custom templates dir tracking 2021-02-14 00:30:44 +02:00
Michail Vourlakos
ea3d913757 improvements for view templates handling 2021-02-13 21:12:32 +02:00
Michail Vourlakos
7e92a79d4c add missing signal for export dialog handler 2021-02-13 20:04:07 +02:00
Michail Vourlakos
26af7e4091 add functionality for ExportViewTemplate 2021-02-13 19:52:52 +02:00
Michail Vourlakos
a9301ebf7b move syncing layout files into export dialog 2021-02-13 13:15:51 +02:00
Michail Vourlakos
c7404e55a9 custom templates in FullBackupConfiguration 2021-02-13 12:57:13 +02:00
Michail Vourlakos
440b4b5736 improve templates signaling 2021-02-13 12:38:34 +02:00
Michail Vourlakos
57fc8ec375 support applets relative path icons 2021-02-13 02:20:31 +02:00
Michail Vourlakos
d5f6dcad6d track custom templates removal 2021-02-13 02:01:13 +02:00
Michail Vourlakos
4ad8654970 visual feedback for templates extraction
--update templates list when adding new templates
2021-02-13 01:43:49 +02:00
Michail Vourlakos
53f32b6f3b do not remove configuration for subcontainments 2021-02-13 01:27:03 +02:00
Michail Vourlakos
a8d4bdf82d provide basic Export functionality 2021-02-13 01:22:44 +02:00
Michail Vourlakos
16c1a849b6 init UserSpecified templates in templatemanager 2021-02-12 21:02:42 +02:00
Michail Vourlakos
08327326ff provide functionality for ChooseDialog in Export 2021-02-12 20:51:27 +02:00
Michail Vourlakos
2dee058fdc provide Choose File Dialog for ExportTemplate 2021-02-12 19:10:23 +02:00
Michail Vourlakos
ea214c5297 increase View initial thickness
--this way during startup a big thickness is
provided in order for slide-in during startup
to play nicely and give the time to view
its proper thicknesses
2021-02-10 20:13:15 +02:00
Michail Vourlakos
f020400aec provide ExportTemplate::Reset functionality 2021-02-10 20:05:13 +02:00
Michail Vourlakos
c57a69ae05 rename function in settings handler 2021-02-10 19:10:24 +02:00
Michail Vourlakos
6f58d09d06 reorganize settings dialogs in better structure 2021-02-09 20:22:31 +02:00
Michail Vourlakos
484270f416 disable clickable for AppletsTable Header Columns 2021-02-09 19:29:00 +02:00
Michail Vourlakos
869df6316c fix applets table data
--ignore applets data that are not valid
2021-02-09 19:15:51 +02:00
Michail Vourlakos
d40cdfceab improve CheckBox behavior in AppletsTable 2021-02-09 19:04:44 +02:00