Commit Graph

104 Commits (7f64126d5f68acdff83cb85dd66fb08f1c1baa83)

Author SHA1 Message Date
Michail Vourlakos 965644ce2c add duplicate view in context menu
Michail Vourlakos 87ae24dae1 add myView.action() to reach view actions
-this way things are more clear how the actions
are applied and reordered
Michail Vourlakos 26af7e4091 add functionality for ExportViewTemplate
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
Michail Vourlakos df03f51fdc increase initial size for View
Michail Vourlakos cfb382002b update containmentActions properly when recreating
Michail Vourlakos 84d4d4cef7 provide latte internal widget explorer
Michail Vourlakos f8cce7acfa fix normalThickness value
Michail Vourlakos 919b0cbf8c rename view property
Michail Vourlakos de6f2282e6 remove all padding events code
--in favour of EventsSink approach that will
probably solve all corner cases of view sunk
events
Michail Vourlakos bc50b437e9 introduce View::EventsSink
Michail Vourlakos ba9233684e view:separate parabolic c++ code from view
--The parabolic effect c++ part of View now
leaves in its own class
Michail Vourlakos 259f04f7c9 view:forward ParabolicEnter from c++
Michail Vourlakos 17865ee21a task parabolic more fixes for its implementation
Michail Vourlakos dcde80e6ed view::use a timer to nulify currentParabolicItem
Michail Vourlakos ae9836ccba first iteration for new parabolic
Michail Vourlakos 167a19b748 sinked events:respect Fitts Law
Michail Vourlakos 746f32050d adjust mouse events relevant to view paddings
Michail Vourlakos b06e164f53 expose view padding through qml
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.
Michail Vourlakos 0784c0dacd improve View isFloatingPanel semantics
Michail Vourlakos e4437b7f66 abilities:introduce UserRequests
Michail Vourlakos a4445a3e9a provide context menu for Canvas config window
Michail Vourlakos bf2c7ebbd9 expose Colorizer to itw own View c++ class
Michail Vourlakos 7fd56aebfb compute editThickness in View c++ level
Michail Vourlakos 37248789f6 improvements to view config windows abstraction
Michail Vourlakos 91449e06f0 remove option delete hidden config windows
--it is not needed any more because config windows
are now using a singleton design in order to be
created only one time.

BUG:423268
Michail Vourlakos d01d1f60a4 use primary config single instance for all views
Michail Vourlakos 6c2dcfbab8 drop Plasma::ConfigView for View primary window
--this is a step forward in order for all Views to
use the same Config Windows which is more memory
efficient.
Michail Vourlakos cb368c504d drop old Tasks identification code paths
Michail Vourlakos 46760a04de cycle properly config views with Meta+A
Michail Vourlakos d6fc66a7a3 user option for hiddenConfigWindowsAreDeleted
--when hidden configuration windows are deleted memory
consumption is improved and provides much lower values
--when hidden configuration windows are not deleted
memory consumption increases but their responsiveness
for hiding/showing is instantly
Michail Vourlakos 1dcf799d42 a way to not delete hidden config windows
Michail Vourlakos ec949948b6 fix View recraetion and frameExtents freezes
--View recreation path was broken from new implementation
for Latte::Interfaces that pass objects to containment
interface. This is now fixed and Interfaces::View object is updated
and broadcasted correctly when changed
--when GtkFrameExtents are zeroed for behaveAsPlasmaPanels
then it is better to recreate the view to avoid freezes and
hidings of the view because of compositor strange behavior
Michail Vourlakos e83f7e551e redraw panel shadows after !visible workarounds
--use a single slot when View triggers its workarounds
for the kwin issue that kwin hides panels when an activity
stops. In such case the view shadows are also redrawn.
Michail Vourlakos 8b32be15b9 support GtkFrameExtents under X11
--this way to dock windows can now snap beautifully
with windows around them, very beautiful behavior!
That was pretty annoying in the past.
Michail Vourlakos 1e144fc3e7 solution for Unity style layouts top view shadow
--when a vertical view that acts as a unity-style one
is activated, it sends a signal to top view to update
their visibility in order to stay on top
Michail Vourlakos 1e48d053f7 fix crash when switching layouts
-- the faulter was containmentinterface that was
calling containment()->applets() during view
destroying phase
Michail Vourlakos 9be7822b98 upgrade to LatteApp.Interfaces containment access
Michail Vourlakos 441fbdf635 plenty of improvements to position Latte panels
--used a video demonstrating multiple panels at the
bottom edge with padding between them
--max/minLength and offset are changed to float values
--max/minLength and offset can now be adjusted with
Ctrl+Wheel over their label in Appearance tab page. Clicking
the previous mentioned label will round the values
--introduce an autoSizeEnabled value in order to block
auto size mechanism when it becomes annoying. Such issue
appears more often to Latte panels
--block MenuZ from Latte icon heuristics
Michail Vourlakos 63187ce5b4 remove Latte library as requirement
--implement things simpler by using the same
CoreTypes header file both for LatteCore.Types
import statement and App c++ implementation.
Let's leave in the future to decide if
a LibLatte is really necessary.
Michail Vourlakos 9919952239 bring back Settings::inAdvancedMode
--ViewSettings::complexityLevel is not needed
any more... View::Settings will keep only two
states, Basic and Advanced mode
Michail Vourlakos 6e4779e6ab require new official Latte library
Michail Vourlakos ac3ccb5b98 try to support a public liblatte library
Michail Vourlakos 5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
Michail Vourlakos 0046c904d1 View:Move expanded applets code to View::Interface
Michail Vourlakos fa65462dea move View::deactivateApplets to extendedInterface
Michail Vourlakos 50c136b56f provide View::ExtendedInterface to qml parts
Michail Vourlakos c333e11cdb update applets expanded tracking on every startup
--even when the views is recreated
Michail Vourlakos f63a467b1e improvements for applet isExpanded tracking