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

2581 Commits

Author SHA1 Message Date
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