1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-25 19:21:41 +03:00
Commit Graph

5418 Commits

Author SHA1 Message Date
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
47aa383723 set maximum length for dndspacer 2021-04-15 19:24:24 +03:00
Michail Vourlakos
926593aa76 fix where dropped applets are added
--the new code is more consistent and calculates the
appropriate place to add an applet much better
based on the distance that dropped applet is
having with each layout.
2021-04-15 19:05:19 +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
8d0c26a2e1 provide Dark/Light Colors options
--this way a layout designer can force to its users
the desired color palette for each dock and panel.

BeCareful: designers should be very careful with this
because they take responsibility to disable latte auto-coloring
at per-applet basis in order for chromatic applets to NOT
be autocolored from latte because they already provide enough
contrast.

BUG:435714
2021-04-14 10:44:59 +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
64ffeaefc4 dont block hiding for sidebars 2021-04-12 12:43:51 +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