Commit Graph

579 Commits (40034a363f6a61aa56e564e76d82c90341ac108b)

Author SHA1 Message Date
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
4 years ago
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
4 years ago
Michail Vourlakos 26af7e4091 add functionality for ExportViewTemplate 4 years ago
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
4 years ago
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
4 years ago
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
4 years ago
Michail Vourlakos 7af60c802d provide isHidingBlocked through MyView Ability 4 years ago
Michail Vourlakos df03f51fdc increase initial size for View 4 years ago
Michail Vourlakos e9ecec47dc containment: more improvements for indicators api 4 years ago
Michail Vourlakos 71e7bb6ec7 fix initialization/switching indicators settings
--fix case that indicators config uis were lost totally
during recreating a view that was using a custom indicator
and that custom indicator was updated.
--fix case that custom indicators were not assigned any
more to their original views when the dock settings
window was created first time for them.
4 years ago
Michail Vourlakos cfb382002b update containmentActions properly when recreating 4 years ago
Michail Vourlakos 52490c6d7c fix crash when updating indicators 4 years ago
Michail Vourlakos 3e055914c0 provide a dragging corner in dock settings window 4 years ago
Michail Vourlakos c777fca05a improve vastly user interaction with indicators uis 4 years ago
Michail Vourlakos 15c0220334 update dock settings window to use stackview 4 years ago
Michail Vourlakos 546b945fff fix how tasks model in update for destroyed 4 years ago
Michail Vourlakos 39ad54f9bb provide visual indicator for multiple tasks
--when the user changes Tasks tab settings between
different applets, the selected applet is providing an
animation
4 years ago
Michail Vourlakos f37fde5824 simplify dragging architecture
--simpler implementation both for plasmoid
mousehandler and containment droparea
4 years ago
Michail Vourlakos 397e1324e9 update name to view.inRelocationAnimation 4 years ago
Michail Vourlakos 7a4010abc1 instantiate properly widget explorer 4 years ago
Michail Vourlakos b6f4550c08 raise view window to set it in front layer 4 years ago
Michail Vourlakos 0edbd9a66a widgets explorer: initialize windows flags earlier
--this way we avoid in wayland to draw window decoration
4 years ago
Michail Vourlakos 754fb85133 avoid crash in wayland from Widgets Explorer 4 years ago
Michail Vourlakos 84d4d4cef7 provide latte internal widget explorer 4 years ago
Michail Vourlakos 81e4b19b59 improve SunkEvents implementation
--each origin mouse area is now informin
the SunkEvents handler for the relevant
origin areas at the same time and this way
there is no events breakage when changing
from one sunked event origin area to another
--the sunked events origin and destination areas
are now released only when the event is NOT inside
any origin area or any destination. This way
no events breakage is appearing when changing from
destination area to origin area and vice versa.
4 years ago
Michail Vourlakos 15c3b3630a wayland:fix struts crash
--when struts thickness during startup was zero
that was creating an invalid window geometry under
wayland and subsequently it was crashing the app.

BUG:431381
4 years ago
Michail Vourlakos e404abde4e fix editThickness for latte panels 4 years ago
Michail Vourlakos 9d3ebca4af provide stable struts thickness
--when a floating view is hiding its screen gap
there is no reason for struts to be added
during that phase. Published struts could be
the final expected window position in that case.

BUG:431255
4 years ago
Michail Vourlakos f8cce7acfa fix normalThickness value 4 years ago
Michail Vourlakos 919b0cbf8c rename view property 4 years ago
Michail Vourlakos 1181fc472c dont update GTK_FRAME_EXTENTS for floating state
--dont update when a floating Dock is hiding its screen
edge for a maximized window.
4 years ago
Michail Vourlakos b9b41317ca reduce interval for Parabolic Nullifier 4 years ago
Michail Vourlakos da1df5bc0c parabolic:improve clearZoom responsiveness
--fix also a case the even though mouse was out of the
view the zoomed items where not restoring
4 years ago
Michail Vourlakos 6a6e47c657 plenty of fixes for moving/dragging applets 4 years ago
Michail Vourlakos 2fd5f51e8d fixes for justify alignment arrangement 4 years ago
Michail Vourlakos 2e7dcb5428 refactor rely on c++ to provide justify alignment
--c++ takes the burden to validate the Justify alignment
4 years ago
Michail Vourlakos c2595ba170 fix missing header 4 years ago
Michail Vourlakos c7fedca8b6 remove margins from SinkAreas 4 years ago
Michail Vourlakos 1b23e3669b field QQuickItem pointers for Parabolic/EventsSink
--avoid crashes when the relevant destination/origin
quickitems are deleted during their events processing
4 years ago
Michail Vourlakos de6f2282e6 remove all padding events code
--in favour of EventsSink approach that will
probably solve all corner cases of view sunk
events
4 years ago
Michail Vourlakos bc50b437e9 introduce View::EventsSink 4 years ago
Michail Vourlakos 60aa17dada fix missing header 4 years ago
Michail Vourlakos ba9233684e view:separate parabolic c++ code from view
--The parabolic effect c++ part of View now
leaves in its own class
4 years ago
Michail Vourlakos b5ceb4d91a tasksparabolic:use view triggering values 4 years ago
Michail Vourlakos 259f04f7c9 view:forward ParabolicEnter from c++ 4 years ago
Michail Vourlakos 17865ee21a task parabolic more fixes for its implementation 4 years ago
Michail Vourlakos dcde80e6ed view::use a timer to nulify currentParabolicItem 4 years ago
Michail Vourlakos a1ec6de412 tasks:make parabolic effect fixes 4 years ago
Michail Vourlakos 345d2823f6 simplify parabolic criteria in view 4 years ago
Michail Vourlakos ae9836ccba first iteration for new parabolic 4 years ago
Michail Vourlakos bc5ba50147 refactor:plenty of fixes for masks/input events
--use only input events in order to identify the area
from which a window accepts input and also remove almost
every mask-qml code handling
--by reducing mask usage to minimum we fix also the
BLACKLINE bug under X11
4 years ago
Michail Vourlakos ba94315ecb REFACTOR:input events and mask area
-- The new approach reduces mask area calls to
barely minimum. Input mask is used instead to
specify the area for which we accept input.
-- The new approach solves also the BLACKLINE issue
when hovering the view at startup. This is because
at all times the full window area is drawn.
4 years ago
Michail Vourlakos 4bf562c17b remove unneeded line 4 years ago
Michail Vourlakos 0c153de58f sinkedevents:optimize calculations 4 years ago
Michail Vourlakos 167a19b748 sinked events:respect Fitts Law 4 years ago
Michail Vourlakos 259d183179 dont be so verbose for sinked events
--so debug messages only for pressed sinked event
4 years ago
Michail Vourlakos 74d9065f1f change applets margins/paddings approach 4 years ago
Michail Vourlakos 96fd421e9f sinked events:various fixes
--disable sinked events when parabolic effect is
enabled. It needs to be rethought how this could work
properly with parabolic effect.
4 years ago
Michail Vourlakos 746f32050d adjust mouse events relevant to view paddings 4 years ago
Michail Vourlakos b06e164f53 expose view padding through qml 4 years ago
Michail Vourlakos 2deed2d10c visibilitymanager use effects to hide/show mask 4 years ago
Michail Vourlakos c7d11c443e fix hiding of panels with mask technique 4 years ago
Michail Vourlakos 043c65e36c remove irrelevant line 4 years ago
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
4 years ago
Michail Vourlakos 5e50147848 fixes for dock settings window
--do not alter maxlength and offset incorrectly
when cycling between different views with different
relevant settings
4 years ago
Michail Vourlakos eb627dd070 multiple mode:animate properly layouts unloading 4 years ago
Michail Vourlakos d5e83280d2 refactor:simplify layout data access 4 years ago
Michail Vourlakos 419886b2ea identify dock changing layout in same visible area 4 years ago
Michail Vourlakos c7d163fdb6 plenty of fixes for multiple layouts 4 years ago
Michail Vourlakos 42dedca86f fixes for multiple layouts new approach 4 years ago
Michail Vourlakos 3689cc406d retrieve available screen space through activityid 4 years ago
Michail Vourlakos 2e120f9446 make Multiple mode work correctly 4 years ago
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
4 years ago
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
5 years ago
Michail Vourlakos bd16a0da69 provide self-calculated theme corners mask 5 years ago
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
5 years ago
Michail Vourlakos 3de29ece9b drop subContaiment functions from genericlayout
--responsibility is now at Layouts::Storage singleton
class
5 years ago
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
5 years ago
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
5 years ago
Michail Vourlakos 0bcc45e633 use KWin slideouts when switching layouts 5 years ago
Michail Vourlakos b808fa2559 reduce minimum hide timer interval to zero 5 years ago
Michail Vourlakos 7e4791fdbc fixes for hiding/showing signaling 5 years ago
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
5 years ago
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.
5 years ago
Michail Vourlakos c64354c048 update CustomIndicator button onParentView change 5 years ago
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
5 years ago
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.
5 years ago
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.
5 years ago
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
5 years ago
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.
5 years ago
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.
5 years ago
Michail Vourlakos 3b3388d673 rename SideBar to SidebarOnDemand
--improve semantics all over the place now
that we provide two different sidebar
visibility modes
5 years ago
Michail Vourlakos 0784c0dacd improve View isFloatingPanel semantics 5 years ago
Martijn Vogelaar 2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in #19.
5 years ago
Michail Vourlakos e00ec530c9 update primary config advanced mode properly
--each View has its own advanced level identification.
5 years ago
Michail Vourlakos 5e78a0a3c7 provide all background corners option
--provide an option to force showing of all background
corners
5 years ago
Michail Vourlakos af37c31f36 support theme length paddings
--update layouter, background and layoutscontainer
in order to take into account the background length
paddings
5 years ago
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.
5 years ago
Michail Vourlakos 6de05c92e8 support XCP::SHAPE for Views
--views can now specify their input area under X11 and
give valuable space to underlying windows
5 years ago
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.
5 years ago