1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-25 14:03:58 +03:00

469 Commits

Author SHA1 Message Date
Michail Vourlakos
2deed2d10c visibilitymanager use effects to hide/show mask 2020-11-30 21:06:24 +02:00
Michail Vourlakos
c7d11c443e fix hiding of panels with mask technique 2020-10-27 19:12:48 +02:00
Michail Vourlakos
043c65e36c remove irrelevant line 2020-10-27 18:36:03 +02:00
Michail Vourlakos
d610cd3419 wayland:dont show/hide views totally, use mask
--use mask to achieve this in order to not have to
handle wayland weirdness with surfaces and reattached
properties
2020-10-25 10:46:43 +02:00
Michail Vourlakos
5e50147848 fixes for dock settings window
--do not alter maxlength and offset incorrectly
when cycling between different views with different
relevant settings
2020-08-31 18:37:49 +03:00
Michail Vourlakos
eb627dd070 multiple mode:animate properly layouts unloading 2020-08-30 14:34:56 +03:00
Michail Vourlakos
d5e83280d2 refactor:simplify layout data access 2020-08-29 20:42:15 +03:00
Michail Vourlakos
419886b2ea identify dock changing layout in same visible area 2020-08-28 17:58:39 +03:00
Michail Vourlakos
c7d163fdb6 plenty of fixes for multiple layouts 2020-08-28 17:58:39 +03:00
Michail Vourlakos
42dedca86f fixes for multiple layouts new approach 2020-08-28 17:58:39 +03:00
Michail Vourlakos
3689cc406d retrieve available screen space through activityid 2020-08-28 17:58:39 +03:00
Michail Vourlakos
2e120f9446 make Multiple mode work correctly 2020-08-28 17:58:39 +03:00
Michail Vourlakos
caf9bf7b78 REFACTOR:Drop Shared Layouts infrastructure
--Move in a simpler layouts approach.
--Single Layout mode loads ONLY ONE Layout for ALL Activities
--Multiple Layouts mode loads any combination of Layouts based
on the following settings:
  -- OnAllActivities
  -- ForFreeActivities
  -- SpecificActivities
2020-08-28 17:58:39 +03:00
Michail Vourlakos
1142950f69 provide effect/masks regions for custom backgrounds
--PlasmaExtended::Theme produces QRegions based on corners
radius that can be consumed afterwards from Effects calculations
in order to provide correct QRegions for custom backgrounds
produced from custom background radius option
2020-08-22 18:15:01 +03:00
Michail Vourlakos
bd16a0da69 provide self-calculated theme corners mask 2020-08-22 18:15:01 +03:00
Michail Vourlakos
343c1e632a provide consistent slots naming
--onSomethingChanged syntax is preferred for all
slots that are triggered from somethingChanged signals
--doThis syntax is preferred for generic slots that
are triggered from various different codepaths
2020-08-20 19:58:45 +03:00
Michail Vourlakos
3de29ece9b drop subContaiment functions from genericlayout
--responsibility is now at Layouts::Storage singleton
class
2020-08-19 17:10:00 +03:00
Michail Vourlakos
5d7ea7c9c7 fix crash at primary config when switching layouts
--fix crash at primary config when switching layouts
--load on demand view type options at vertical latte
views as memory improvement
2020-08-05 19:33:33 +03:00
Michail Vourlakos
e323f31645 use universal inAdvancedMode for edit settings
--for all view edit windows are now using the same
flag in order to identify basic and advanced level
for editing their settings
2020-08-03 12:13:03 +03:00
Michail Vourlakos
0bcc45e633 use KWin slideouts when switching layouts 2020-08-03 00:29:59 +03:00
Michail Vourlakos
b808fa2559 reduce minimum hide timer interval to zero 2020-08-02 03:23:00 +03:00
Michail Vourlakos
7e4791fdbc fixes for hiding/showing signaling 2020-08-02 02:36:12 +03:00
Michail Vourlakos
8c1d0d34e5 rename internal containments to subcontainments
--applets that act as internal containments are now called
subcontainments because they are containments inside
main containments
2020-08-02 01:22:25 +03:00
Michail Vourlakos
c3e430e356 fix crash when unloading layouts
--when unloading layouts applets are deleted
and subsequently all the heuristics for identifying
expanded applets are removed. In such case
there were rare cases that applet()->id() was
trying to be accessed and that was subsequently
creating crashes because applet did not exist
anymore. AppletQuickItems probably are deleted
after applet has already been destroyed.
2020-08-01 20:40:23 +03:00
Michail Vourlakos
c64354c048 update CustomIndicator button onParentView change 2020-07-31 20:22:51 +03:00
Michail Vourlakos
45d09b2cd4 editdock:support indicatorsuimanager
--the new approach is much more memory efficient
as the same indicator config ui is used for ALL
views and anything related to config uis is now
handled by the manager instead of each diffent
view on its own
2020-07-31 20:16:14 +03:00
Michail Vourlakos
582de7afe3 each view now keeps one indicator configui
--curent view indicator config ui is not deleted
when the PrimaryConfigView changes its parent view.
For each view there is one indicator config ui
that is kept available to be shown when appropriate.
This way we avoid unnecessary recreations of indicator
config uis when the user cycles between different views
settings.
2020-07-31 02:13:34 +03:00
Michail Vourlakos
a3250cf7ca fixed for View::inEditMode flags
--inEditMode is now updated directly from
containment()->inUserConfiguring()
--add again hiding blockers when View gets
into edit mode. That was lost during last commits
because it was part of Visual qml code that
has been moved to another window.
2020-07-29 01:20:45 +03:00
Michail Vourlakos
6cb97068c2 SidebarAutoHide support floating gap contains mouse
--floating gap window is now activated independently of
kwin edges supports and only when really needed.
SidebarAutoHide visibility mode has been adjusted in order
to work nicely with floating gap window helper
2020-07-29 00:58:21 +03:00
Michail Vourlakos
0d02a92733 increase hide timer specific SidebarAutoHide msecs
--when the user has triggered its showing. It must be
given enough time for the user to observed the sidebar
contents before checking out if the sidebar must hide.
2020-07-29 00:20:58 +03:00
Michail Vourlakos
01a17ea9ba visibility:update hide timer interval handling
--hide timer now has a default/user set value but
it can also become with different intervals if
specific codepaths require it.
2020-07-29 00:13:16 +03:00
Michail Vourlakos
3b3388d673 rename SideBar to SidebarOnDemand
--improve semantics all over the place now
that we provide two different sidebar
visibility modes
2020-07-29 00:02:50 +03:00
Michail Vourlakos
0784c0dacd improve View isFloatingPanel semantics 2020-07-28 23:50:05 +03:00
Martijn Vogelaar
2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in #19.
2020-07-28 15:49:55 +00:00
Michail Vourlakos
e00ec530c9 update primary config advanced mode properly
--each View has its own advanced level identification.
2020-07-20 20:20:32 +03:00
Michail Vourlakos
5e78a0a3c7 provide all background corners option
--provide an option to force showing of all background
corners
2020-07-20 19:20:33 +03:00
Michail Vourlakos
af37c31f36 support theme length paddings
--update layouter, background and layoutscontainer
in order to take into account the background length
paddings
2020-07-20 15:16:03 +03:00
Michail Vourlakos
22acd85d9c struts calculations at screen_edge coordinates
--as it appears in wayland the struts calculations must be
applied for exact screen_edge coordinates and use only the
view shown thickness. During the process floating panels
struts were not accurate at all cases and as such they
were fixed also for x11.
2020-07-19 17:13:50 +03:00
Michail Vourlakos
6de05c92e8 support XCP::SHAPE for Views
--views can now specify their input area under X11 and
give valuable space to underlying windows
2020-07-19 15:04:46 +03:00
Michail Vourlakos
cf1cb1ca8e always now Views when needed
--when View::Visibility::mustBeShown signal is
triggered then the Views should always be shown
even when KWin has hide it with no real reason
--force appling activities to ALL View related windows
when changing current Activity. This way we make
sure that when KWin makes faulty assignments,
Latte is coming to the rescue.
2020-07-18 19:42:20 +03:00
Michail Vourlakos
81bc74f49d dont recreate view unnecessary
--FrameExtents are working fine with margins 0,0,0,0
and Plasma 5.19.3
2020-07-18 19:27:47 +03:00
Michail Vourlakos
79d95371d7 fix #9,panel/dock buttons
--fix panel/dock mode buttons from configuration
windows.
2020-07-18 18:57:55 +03:00
Michail Vourlakos
e4437b7f66 abilities:introduce UserRequests 2020-07-18 17:39:34 +03:00
Michail Vourlakos
02e1e87d59 smoothen anim for hide length screen gaps 2020-07-17 17:03:14 +03:00
Michail Vourlakos
ca0e065441 improvements for calculations 2020-07-16 11:22:37 +03:00
Michail Vourlakos
ff01f266e4 fix panels positioning when sliding out 2020-07-16 11:02:08 +03:00
Michail Vourlakos
0b8fa321bc dont crash when panels change location 2020-07-16 09:44:44 +03:00
Michail Vourlakos
ea7940dffe hide length screen gaps after slide in 2020-07-15 18:53:24 +03:00
Michail Vourlakos
1698afc2e8 add missing header 2020-07-14 09:28:19 +03:00
Michail Vourlakos
ac996f1721 fixes for View:layout activities windows updates 2020-07-12 15:33:40 +03:00