Commit Graph

96 Commits (00843b5b834a9b9dc73137b6339691ad434f4735)

Author SHA1 Message Date
Michail Vourlakos be9799b342 wayland:views now switch properly between screens 3 years ago
Michail Vourlakos b1d57051c2 wayland:support Plasma primaryscreen protocol
--use ScreenPool as reference for primary screen.
The new code uses PrimaryOutputWatcher class from
Plasma Shell in order to keep track of primary
screen at all cases.

BUG:448418
FIXED-IN:0.11.0
3 years ago
Michail Vourlakos 84fe31c318 panels:fix switch to explicit screens and back
--some improvements introduced to 0.10.7 broke the
screen switching codepath for panels. With this
fix users can again move panels around for their
screens

BUG:448569
FIXED-IN:0.10.8
3 years ago
Michail Vourlakos 60095bba3b fix #96,FEATURE:AllScreens and AllSecondaryScreens
--This is a HUGE FEATURE and so important for multi-screens
users. It is introduced as one single commit because it
reimplements plenty of infrastructure changes and it will
be easier to identify newly introduced bugs.
--Users can now choose for their docks and panels to belong
at various screen groups. The first two screen groups introduced
are AllScreens and AllSecondayScreens. In the future it might
be possible to provide CustomScreensGroup that the user will
be able to define specific screens in which a dock or panel
should be always present.
--Current solution specifies an Original dock or panel and clones/copies
itself automatically to other screens. So docks and panels in other screens
are just real docks and panels that reference themselves to original
docks and panels.
--Clones are destroyed during layout startup and are automaticaly
recreated. It is suggested to export your layouts through the
official Layouts Editor in order to share them because in that case
clones are not included in the new generated layout file. If in any
case you do not this and you share your layout with any previous
versions then your clones will just appear as separate docks and
panels that belong to specific screens.
--Automatic syncing was introduced in order to keep up-to-date
the configuration of Original docks and panels with their referenced
Clones.
--Automatic syncing currently works for all docks and panels settings,
for all normal applets configurations and for all subcontaiments
configuration such as systrays.
--Automatic syncing does not work for applets inside subcontainments
such as Group Plasmoid. In such case it is suggested to configure
your applets inside your Group Plasmoid in the original dock or panel
and afterwards to trigger a recreation for the relevant clones
--Manual recreation of clones is easily possible by just choosing
the dock or panel to be OnPrimary or OnSpecificScreen and rechoosing
afterwards the AllScreensGroup or AllSecondaryScreensGroup
3 years ago
Michail Vourlakos 8a0f18326e fix for vertical panels identifying top borders
--use also floating screen edge margin in order to identify
if the top or bottom borders of a vertical dock or panel
should be drawn
3 years ago
Michail Vourlakos 6fa1d1cc87 fix vertical docks/panels positioning
--identify correctly for vertical panels in right edge
when they need to draw or not their top and bottom borders.
This is enough in order to position properly these docks.

BUG:448519
FIXED-IN:0.10.8
3 years ago
Michail Vourlakos 6187f4d997 do not shrink vertical docks/panels on startup 3 years ago
Michail Vourlakos c98f6679b8 fix plasma available geometry broadcasting
--ignore docks and panels for availableScreenRect(s) etc.
when they are in startup and they are painted offscreen
--plasma is not ready to accept availableScreenRegion(s) because
after startup moves desktop widgets to the left even though
it should not
--fix availableScreenRegion calculations for Centered and Justified
docks and panels
3 years ago
Michail Vourlakos 5e0feef0f6 do not allow struts when view is offscreen 3 years ago
Michail Vourlakos c2b20852ea recreateview:fix launchers group assignment
--after recreating a view, launchers group is now
assigned again correctly. As it appears the problem
was that Host.MyView ability was sending an isReady
signal that was not accurate enough.
3 years ago
Michail Vourlakos aeb934d0fb improve smoothness of animations during startup
--This new approach paints all docks and panels during
starup offscreen. This way especially under x11 not a lot of
visual glitches are appearing all over the place.
After startup time has ended docks and panels are
moved at their original and valid placement and slide in
animations are triggered.
3 years ago
Michail Vourlakos 7eff55b793 wayland:multiple layouts load properly on activities 4 years ago
Michail Vourlakos 7bc31fc9ea support wayland activities since kf5>=5.81 4 years ago
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Michail Vourlakos 7f994dfa7e reset view::positioner::slideoffset for Dock case
--when the View is changing from Panel to Dock mode,
panel slideoffset should update also
4 years ago
Michail Vourlakos 18233dc6ee viewsdialog:support moving between active layouts 4 years ago
Michail Vourlakos 00a3d15478 fix #64,position views properly under wayland
--last week commit about beautiful slide in/out through
kwin infrastructure broke the wayland placement for
docks and panels. This commit fixes the issue
and at the same time provide beautifule slide in/outs
for docks panels during their creation and removal.
4 years ago
Michail Vourlakos 8c23f267ed smooth slide-in/out after startup and view removal 4 years ago
Michail Vourlakos f68aac0501 slide-out views when deleted 4 years ago
Michail Vourlakos d420a75b8a view nextLocation show properly after slidein
--show view completely after slide-in and after the
slide-in animation has completed trigger visibiliy
checks based on regular visibility criteria
4 years ago
Michail Vourlakos b235e6cc96 update view alignment to new architecture
--view alignment can now be updated either by
editdock window or through views dialog in
settings window
4 years ago
Michail Vourlakos 92f12b6f63 view:update move to layout
--update to new infrastructure that is able to
switch view location by combining multiple
changes at the same time
4 years ago
Michail Vourlakos cc4f901cf1 viewsdialog:support updating screen 4 years ago
Michail Vourlakos 9a37926348 view::set reposition changes immediately if needed 4 years ago
Michail Vourlakos 3ec142d3a2 drop deprecated screen edge relocation codepath 4 years ago
Michail Vourlakos f0065279f4 update view:positioner relocation properties 4 years ago
Michail Vourlakos c65e7ce4df improve naming of positioner property 4 years ago
Michail Vourlakos 03bd034898 fix user changing screen behavior
--wait for the actual screen change to really
happen in order to reshow the dock afterwards

BUG:433876
4 years ago
Michail Vourlakos 397e1324e9 update name to view.inRelocationAnimation 4 years ago
Michail Vourlakos f8cce7acfa fix normalThickness value 4 years ago
Michail Vourlakos 746f32050d adjust mouse events relevant to view paddings 4 years ago
Michail Vourlakos eb627dd070 multiple mode:animate properly layouts unloading 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 3689cc406d retrieve available screen space through activityid 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 0bcc45e633 use KWin slideouts when switching layouts 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
Martijn Vogelaar 2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in #19.
5 years ago
Michail Vourlakos ca0e065441 improvements for calculations 5 years ago
Michail Vourlakos ff01f266e4 fix panels positioning when sliding out 5 years ago
Michail Vourlakos 0b8fa321bc dont crash when panels change location 5 years ago
Michail Vourlakos ea7940dffe hide length screen gaps after slide in 5 years ago
Michail Vourlakos 19eb9f9ff5 fix edge margin adjustment 5 years ago
Michail Vourlakos 166ee1899a multiple fixes to PrimaryConfig geom calcs
--provide also instant layout switching when
View changes a layout between central and shared
layout in the same view port
5 years ago
Michail Vourlakos 7084953672 wayland:fix multi-config views behavior 5 years ago
Michail Vourlakos c2df25649e update Canvas geometry when editThickness altered 5 years ago
Michail Vourlakos e74e013f43 provide CanvasGeometry from View::Positioner
--View::Positioner is now responsible to provide
the proper Canvas config window geometry
5 years ago
Michail Vourlakos edb943db6b fixes for spacers and positioning of behaveAsPanel
--fix positioning for Right/Bottom alignments when
View behavesAsPlasmaPanel
5 years ago
Michail Vourlakos b4de1e3cad update Positioner::syncGeometry in specific case
--when a behaveAsPlasmaPanel is sliding-in and View
is in editMode, it is a good idea to calle
Positioner::syncGeometry() in order to validate
the View window geometry in edit mode. The problematic
case example was a right SideBar Panel that when
was hidden and the user was using Meta+A to
show its settings, the View did not change its
geometry properly in the end.
5 years ago