Commit Graph

68 Commits (074d9efee17806e16af0a651d2c386616be61c3a)

Author SHA1 Message Date
Michail Vourlakos ccbf2c88fd crash fix:from unloading views
--when as Always Visible view was unloaded from
a CentralLayout because its Activity was closing
it was creating a crash. This patch fixes the
situation by releasing sensitive view signals
earlier.
5 years ago
Michail Vourlakos f93bec8893 fixes for WindowsCanCover
--show immediately when view contains mouse
--hide only if view does not contain mouse
--never apply ByPassWM hint for WindowsCanCover
5 years ago
Michail Vourlakos 61016444fb dont crash when changing layouts
--occasionaly when the user was switching
layouts it could get some crashes. It looks
safer to unload first the Latte::Views objects
and their corresponding containments afterwards.
I tried in my system to switch multiple layouts
in plenty different configurations and I could
not get a crash. This patch should fix the
mentioned crash report if that was the root
of the issue.

BUG:412864
FIXED-IN:0.9.5
5 years ago
Michail Vourlakos 1a49238d57 track kwinrc file only on changes
--instead of reading the kwin values all the time
when needed from user actions we now read them
only on startup and when the kwinrc file was
updated/changed

BUG:411657
FIXED-IN:0.9.3
5 years ago
Michail Vourlakos 8fe5f8f843 add report error message for unknown screens 6 years ago
Yuri Chornoivan 9fd6bcd87f Fix minor typo 6 years ago
Michail Vourlakos 10939d410c Views Report Information for inactive layouts 6 years ago
Michail Vourlakos 8f50131088 copyView considers multiple systrays
--when copying a view and the view contains
muliple systrays in it this is NOW taken
into account and accomplished accordingly
6 years ago
Michail Vourlakos 3412b13148 present Views data for Active layout 6 years ago
Michail Vourlakos 7954a3ac39 improve Screens Report
--the new report identifies for all your layouts
when a screen has not been assigned any docks/panels.
That can help user to clean up the ScreensConnectors
if wants to
6 years ago
Michail Vourlakos eb0c52c52b improve settings windows shown trigerring behavior
--when the user uses Meta+A to cycle between the Views
configuration windows then in such case when NO Config
window is shown the LAST ONE USED should be shown again.
IF a Config View is already shown then the NEXT should
be shown afterwards
6 years ago
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
6 years ago
Michail Vourlakos 85e49d41bf improve view recreation code 6 years ago
Michail Vourlakos b71baccc14 fix screenForContainment in MulitpleShared mode 6 years ago
Michail Vourlakos 61e9e629c5 rename some global shortcuts texts
--protect also the Layout::lastConfigViewFor,
dont sent a view that is no longer available
6 years ago
Michail Vourlakos 96b86f4c49 remember lastConfigViewFor for shared layouts 6 years ago
Michail Vourlakos 7cd3b6201d remember the last created ConfigView per layout 6 years ago
Michail Vourlakos f822ece27a keep onPrimary flag when copying views 6 years ago
Michail Vourlakos 2d89e60030 fix layoutViewType for Shared Layouts 6 years ago
Michail Vourlakos 4e80801523 syncLatteViews when Central is assigned to Shared 6 years ago
Michail Vourlakos e13793df38 identify screen id at startup for primary screens 6 years ago
Michail Vourlakos c653bbe14b send view edge changed signal when copying views 6 years ago
Michail Vourlakos a661fbb032 refactor:drop LAYOUTSMANAGER apis moved to SYNCHER 6 years ago
Michail Vourlakos 24e25944db Shared Views have highest priority
--Shared views can be positioned to all free edges
including those occupied by Central layouts and the
Central layouts update their views accordingly
6 years ago
Michail Vourlakos c6cd3f4685 move layout connections in the view
--any view and view::containment() signals that
are related to layout are now moved in the
View::setLayout() in order to be reinitialized
properly when the view changes to another
layout
6 years ago
Michail Vourlakos 8c3d658a0d refactor:move Importer to "layouts" folder 6 years ago
Michail Vourlakos a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
6 years ago
Michail Vourlakos 29157f4636 refactor:rename managedLayout to layout/viewLayout 6 years ago
Michail Vourlakos b33f29bc42 Activate Shared Layout if it is not loaded yet 6 years ago
Michail Vourlakos e7568c8478 NO/ASSIGN active Shares to active Centrals 6 years ago
Michail Vourlakos 78d212ce8e SharedLayouts saving their settings from Layouts 6 years ago
Michail Vourlakos f2eb0b6b3a REFACTOR:DONT load MultipleLayouts in Central(s)
--no reason to load Mutiple layouts linked file
as a Pseudo Central layout. This way no needed
checks can be removed and things are still working
as before.
6 years ago
Michail Vourlakos 1f14405e63 REFACTOR: rename Active TO -> CENTRALLAYOUT 6 years ago
Michail Vourlakos be36b7cfaf unload SharedLayout when does not activeLayouts
--this code path is also used on Latte exit
6 years ago
Michail Vourlakos 9f338f38a4 dont set sharedLayout var if the layout not exist 6 years ago
Michail Vourlakos e417a8d4ba add type() to layouts 6 years ago
Michail Vourlakos cf0f22b44d fix crash,protect connector() calls
--connector calls must be done only when we
are sure that a screen id has already been
assigned

BUG: 407128
6 years ago
Michail Vourlakos e2ccad62d9 RENAME TopLayout to SharedLayout
--Shared is a better term to describe these
layouts that can be Shared and be OnTop of
other layouts in Multiple Mode
6 years ago
Michail Vourlakos 1c6ddcad10 Improve addView for ActiveLayouts
--take into account the TopLayout views before
adding a new View either on startup loading
or when the user adds it
6 years ago
Michail Vourlakos 0cb2bb38af plenty of fixes for TopLayouts and multi-screen(s) 6 years ago
Michail Vourlakos 6620cf54bd plenty fixes updates for MultipleTopLayouts 6 years ago
Michail Vourlakos 70640ae2e5 override functions for Active and TopLayouts 6 years ago
Michail Vourlakos 385b0e0b20 update struts properly for TopLayouts 6 years ago
Michail Vourlakos caedf9842e ActiveLayout override GeneralLayout::latteViews() 6 years ago
Michail Vourlakos bdca8f58e8 simplify GenericLayout::latteViews call 6 years ago
Michail Vourlakos 69af8d0e0c fix updating lastUsedActivity properly 6 years ago
Michail Vourlakos dc9553b3ca fix crashes from loading/unloading layouts 6 years ago
Michail Vourlakos 9236f18c4e add TopLayout and use combined with ActiveLayout 6 years ago
Michail Vourlakos 1ec19d6627 update syncLatteViewsToScreens
--update function to use new validViewsMap() function
in order to identify which views must be presented
and where. The validViewsMap function can be used also
from subclasses in order to indetify the Layout occupied
edges without applying the final map state to actual
views.
6 years ago
Michail Vourlakos d07956cbb4 multiple layouts import properly 6 years ago