Commit Graph

102 Commits (ca87504535e8fa4d820bca68cfbbe060c023ddb9)

Author SHA1 Message Date
Michail Vourlakos ca87504535 fix crash
Michail Vourlakos e6ab9385d8 fix crash when destoying config window
Michail Vourlakos dea32cb37a update SecConfigView to new design
--SecConfigView is created only once and
use afterwards for all Views
Michail Vourlakos d01d1f60a4 use primary config single instance for all views
Michail Vourlakos 5c22b8f8ed update View:: config views creators
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 e1c38213b9 introduce viewsettingsfactory
--is going to be responsible to hold only
one instance of view config windows
Michail Vourlakos 5bd1fe955d dont initialize global launchers group from config
Michail Vourlakos 631837e199 Tasks fixes for disableAllWindowsFunctionality
Michail Vourlakos 6f3367225d new Effects API for config windows subtract region
Michail Vourlakos 741eedfc3c improve Primary Config view syncGeometry
--fix also a crash when updateInlineProperties
was called
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 afb4279e09 fix View::Settings::updateEffects() area
--update effects area should be consistent with
settings dialog backgroud. Currently that has
changed to more apporpriate "dialogs/background"
Michail Vourlakos e16ca1f87b release indicator config ui when window closes
Michail Vourlakos 381675ac57 reduce kconfig.sync() calls
--improves startup times in some cases because
it does not write to disk that often.
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 e368d03222 fix crash from configwindow when switching layouts
Michail Vourlakos e525596a04 refactor:split Latte Types to Tasks and Types
--move also irrelevant types to their owner. For
example LayoutsPage is moved to Settings::Dialog
namespace
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 4defd31669 fix compatibility with frameworks 5.38
--FrameSvgItem::mask() was introduced after
frameworks 5.58. Restore a bit the old
implementation

FIXED-IN:0.9.11
BUG:419678
Michail Vourlakos d3a07b5371 improvements for multips views and sidebars
Michail Vourlakos d1faaedc59 improve availableScreen..WithCriteria api
--improve its semantics in order to be more
understandable
Michail Vourlakos 6bc604feca new wayland id discovery for settings windows
Michail Vourlakos 9d30eb6257 support stick options for vertical views
--the user can now choose for vertical views to
stick their edges at the top or bottom screen edge
and ignore any top or bottom views accordingly. These
options are available in the Transparent Settings
area for vertical views and in advanced settings
mode.
Michail Vourlakos 87f2f7e644 dont update dock settings mask for compositing
--follow PlasmaQuick::Dialog:Popup window approach
and dont apply any mask when compositing is active
Michail Vourlakos 670c0cf405 remove debug message
Michail Vourlakos 266499a485 support dialogs/background for dock settings wins
--use a different shadows manager for dialogs such as
dock settings window through the Latte::Corona class.
The new shadow manager is responsible to draw
"dialogs/background" shadows for windows instead of
the PanelShadows original class which is responsible
to draw "widgets/background" shadows
Michail Vourlakos 8b1526bc0d Revert "apply proper shadows for dock settings window"
This reverts commit 9e78fab4ce.
Michail Vourlakos 16a04684df blur dock settings window properly
--the new approach is always using the background
mask of the window from the FrameSvgItem background
applied.

BUG:416177
FIXED-IN:0.9.8
Michail Vourlakos 9e78fab4ce apply proper shadows for dock settings window
--copy and use plasmaquick/dialogshadow class from
plasma framework library

BUG:416175
FIXED-IN:0.9.8
Michail Vourlakos 411017c0f6 [wayland,crash]-fix showing advanced dock settings
--fix showing advanced settings window in order to update
the window geometry ONLY WHEN there are availableScreenGeometry
changes from Latte::View(s).
--As a side effect changing docks/panels location under wayland
when they have enabled their background blur has reduced crashes
during location changes.
Michail Vourlakos 8946ded107 improve availableScreenR*WithCriteria functions
Michail Vourlakos d0aa28a60d dock settings window not overlap plasma panels
--when dock settings window is shown it is good to
NOT overlap with plasma panels. Under X11 this is
possible because the real availableScreenGeometry
is exposed through QScreen.
Michail Vourlakos c88329d278 x11:improve experience for Windows Always Cover
--simplify also some parts from windows calling window
manager values
Michail Vourlakos 72777d18c1 add functionality to latte window manager
--the Latte window manager has gained now
functions in order to set the window flags
properly and to update KeepAbove/KeepBelow
flags for windows
Michail Vourlakos fac638c156 remove obsolete fontmetrics libraries
Michail Vourlakos 18728015e3 fix configview.h reference
BUG:410371
Michail Vourlakos c5b1e9bbf5 x11:drop QWindow::setVisible() function
--this function creates irrelevant crashes even
under x11 environment... Dropped in favour of
show()/hide() functions that seem to not create
any issues
Michail Vourlakos 3a465782e1 wayland:improve latte windows id discovering
Michail Vourlakos 1ef328bd3a avoid wayland crashes from QWindow::setVisible
Michail Vourlakos c85d24ac37 use WM:IgnoredWindows infrastructure for wayland
--improvements for IgnoredWindows infrastructure
all over the relevant classes
Michail Vourlakos 79f392723e wm:support ignored windows
--x11 implementation is in place and wayland
case must be updated accordingly
Michail Vourlakos ba6460e919 update indicators runtime
--fixes to signals in ViewParts in order to avoid
crashes. Currently the recreateView approach is used
in order to reload indicators runtime dynamically.
The "View::setSource" approach does not reload the
indicators properly
Michail Vourlakos 99ec9cb2fd move WM:Trackers in its own directory
Michail Vourlakos 7cd3b6201d remember the last created ConfigView per layout
Michail Vourlakos ad788130ab REFACTOR:add WindowSystem namespace