Commit Graph

118 Commits (7240134ec26892b88affda23420241945c99c553)

Author SHA1 Message Date
Michail Vourlakos 7240134ec2 add comments
Michail Vourlakos 6620cf54bd plenty fixes updates for MultipleTopLayouts
Michail Vourlakos 71435d4938 identify Touching windows for Multiple mode
--improve how the available screen geometry is
calculated because in MultipleLayouts mode we can
have different layouts that provide different
available screen geometries
Michail Vourlakos 385b0e0b20 update struts properly for TopLayouts
Michail Vourlakos dc9553b3ca fix crashes from loading/unloading layouts
Michail Vourlakos fb4508c6a7 simplify CMakeLists
Michail Vourlakos 2c8a0a83c1 update secondary config window position properly
Michail Vourlakos bbddfd3d48 REFACTOR:move code from Active to GeneralLayout
--huge refactor in order to split the logic of the
Layout file. One of small steps in order to end at
the following logic:
AbstractLayout->GeneralLayout->InterfacedLayout

InterfacedLayout->NormalLayout
InterfacedLayout->OnTopLayout

PresentedLayout, that will contain references for
one ActiveLayout and one OnTopLayout and will
act as a class to provide useful information to
layoutManager and all other classes that want
to work with Views.

GeneralLayout will gain a storage object
for all STORAGE properties that require
a CORONA to work
Michail Vourlakos 7d0905e379 refactor: rename Layout to ActiveLayout
--first steps to abstract the Layout code in
different classes
Michail Vourlakos ae69884e04 ignore PlasmaDesktop for windows tracking flags
BUG: 406235
Michail Vourlakos ae3c4d3cf0 update SecondConfigView when availableGeometryChanged
Michail Vourlakos bb3ef16dea fix RTL positioning for View::Settings windows
Michail Vourlakos 8b3920ef64 fix indicators warnings when removing a view
Michail Vourlakos 6e1dfe9670 comment deprecated code in view settings windows
Michail Vourlakos c735792c30 REFACTOR:replace all "foreach" statements
Michail Vourlakos d48d2da2cd add comment
Michail Vourlakos 3e19e553f1 add IndicatorInfo to have a global reference
Michail Vourlakos 915bb1bd39 provide visual limits for margins/padding
--based on the current indicator there minimum
thickness and indicator padding can be altered.
Providing some visual feedback for the user to
understand these limits is a good practice.
Michail Vourlakos e7eb06a63e optimize subtracked masking for wayland case
--under wayland masking does not break the visual
result of a window. For that reason under wayland
the editShadow can be masked out totally and not
only for its windows underlying parts.
Michail Vourlakos 92584e638c consider vertical views to position viewconfigs
Michail Vourlakos 8b6f250733 dont subtract sec.config win for vertical views
Michail Vourlakos 555fc966b0 activate config windows under wayland environment
--add heuristic method in wayland interface in order to
return the internal id of a window by using its appId
and its geometry
Michail Vourlakos 9f1b284f64 init earlier translation domain, indicatorconfigui
Michail Vourlakos d280b6e4aa button to remove locally installed indicators
Michail Vourlakos 9b1841e9e3 watch app paths for indicators changes
Michail Vourlakos ba08038bc0 add Latte/Indicator type and improve metadata
Michail Vourlakos 3d2d399072 add functionality to custom indicators
Michail Vourlakos 81204e3519 support importing indicators from compressed files
Michail Vourlakos fd74397bae support file dialog for indicators
Michail Vourlakos 4c613a1d47 support last used custom type
Michail Vourlakos 06c965248c support customIndicators interface under settings
--a new element is introduced for CustomIndicators
which is going to be responsible to choose between
them and download also online for new indicators
Michail Vourlakos 28ef36a774 simplify indicators names
Michail Vourlakos 9a464226bd improve loading for indigator config ui
--in order for all indicators infrastructure to
load the plugin correctly the configuration and
the component elements of ViewPart::Indicator
must be loaded first correctly and afterwards
the relevant Indicators to follow
Michail Vourlakos 0b90411b1d IMPORTANT: All new Indicators architecture
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
Michail Vourlakos b93588756a fix crash from Close button in config window
BUG: 405772
Michail Vourlakos 0c95180fde identify better active maximized windows
--more specific do not mess maximized windows all
together. Active maximized windows have higher
priority than all the rest normal maximized
windows.
Michail Vourlakos 9afafcc7c2 disable panel shadows only when active maximized
Michail Vourlakos 15d5ac59ec improve calculations for vertical settings windows
Michail Vourlakos 48a5a4690e decrease edge ghost window sensitivity for mouse
--this patch fixes the show timer delayer in combination
with KWin edges activation even more. The experience
now looks almost identical to NONE-KWin edge activation
Michail Vourlakos cab2055279 adjust secondary config win to new design
--secondary config window now follows the primary
config window design. Config windows now are just
simple windows !AboveAll and are activated from
Latte::View on demand. This way we can now have
demonstration of the parabolic effect during
editMode at all times
Michail Vourlakos 1dba8d1841 block requestActivate() for wayland
--requestActivate is not supported under wayland
Michail Vourlakos e9e0c04198 fix wayland crash when hiding config window
Michail Vourlakos c35849c9d8 take care config windows for X11 environment
--make the config windows to not show in pager,
switcher or taskbar under X11 environment
Michail Vourlakos 0816e2b8aa fix top masking during editMode
--improve also identifying when subtracting
edit mode mask is needed
Michail Vourlakos 11226428c6 update config window availScreenGeometry properly
Michail Vourlakos fabf6f44d2 show configuration windows only for one view
-- for each layout only one dock should show its configuration windows
otherwise we could reach a point that because a settings window
is below another Latte View its options are not reachable
Michail Vourlakos 94415e24b4 improve config windows calculated geometries
Michail Vourlakos 89fd411dab improve how config window size is calculated
Michail Vourlakos 83b5b2323a fix calculations for left subtracked mask
Michail Vourlakos 002d683dd9 fix calculations for left subtracked mask