1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-24 18:03:53 +03:00

573 Commits

Author SHA1 Message Date
Ömer Fadıl Usta
03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 2021-05-22 13:45:10 +00:00
Michail Vourlakos
7f994dfa7e reset view::positioner::slideoffset for Dock case
--when the View is changing from Panel to Dock mode,
panel slideoffset should update also
2021-05-21 17:28:08 +03:00
Michail Vourlakos
a001eab39c provide isSidebar flag for view::visibility 2021-05-21 17:28:08 +03:00
Michail Vourlakos
f2dda7347c set input mask properly for hidden sidebars
--do not enable any input mask for hidden sidebars
2021-05-21 17:28:08 +03:00
Michail Vourlakos
76549a9f99 shortcuts:wait for view to fully shown properly
--the new approach is not using timers but actual
events from View in order to identify when the
view is fully shown and when their popup is actual
visible. This way popup showing and view slide-in
is always synchronized properly

BUG:425078
2021-05-13 20:09:05 +03:00
Michail Vourlakos
8028efaa6c expose isShownFully to ViewPart::Visibility 2021-05-13 19:14:33 +03:00
Michail Vourlakos
c74b60c7da subcontainments considered Expandable 2021-05-08 19:23:06 +03:00
Michail Vourlakos
597ee4af5f respect always appletIsExpandable flag
--this way applets that during start were
expandable and now they are not, they do
not trigger expanded codepaths
2021-05-08 14:48:10 +03:00
Michail Vourlakos
16b83772e3 fixes for Sidebars hiding/showing behavior 2021-05-03 23:24:23 +03:00
Michail Vourlakos
940bee9408 Latte::Quick use layout popUpMargin
--this way we can support three different
popup styles. Plasma/AllBorders/Far From Edge
2021-05-03 03:11:09 +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
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
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
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
aa608f1bf5 use ::storedView approach for Duplicate View 2021-04-18 11:20:05 +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
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
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
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
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
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
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
5af4f9c434 provide name for views 2021-04-01 11:00:59 +03:00
Michail Vourlakos
a7ac422b31 support running views data from Layouts::Storage 2021-03-21 15:31:47 +02:00
Michail Vourlakos
c65e7ce4df improve naming of positioner property 2021-03-13 17:28:19 +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
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
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
965644ce2c add duplicate view in context menu 2021-02-28 17:27:04 +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
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
26af7e4091 add functionality for ExportViewTemplate 2021-02-13 19:52:52 +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
1b0b43e0e0 fix #43,set NULL mask() for behaveAsPlasmaPanel
--this way plasma frameworks are informed correctly
that they can use the window geometry to position
their popups
2021-02-08 19:03:02 +02:00
Michail Vourlakos
6cd47840fb improve how identification of expanded applets
--take into account AppletQuickItem.switchWidth/Height
values in order to identify or not if an applet
is expanded in a popup window
2021-02-06 12:32:54 +02:00