1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-08-13 09:49:22 +03:00

609 Commits

Author SHA1 Message Date
d346e54d41 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
2022-01-16 21:57:17 +02:00
57ec2b3851 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
2022-01-16 03:40:40 +02:00
06a293eb80 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
2022-01-16 02:27:40 +02:00
ea88cb57a3 position kwinedgehelper properly after startup
BUG:448433
FIXED-IN:0.10.8
2022-01-16 01:43:34 +02:00
2cf8e80df9 x11:center applet config window on screen 2022-01-14 20:56:28 +02:00
fe4e4f8978 do not shrink vertical docks/panels on startup 2022-01-14 20:20:25 +02:00
a5df2865ba view:unblock events when user undo removal
--this way when a dock or panel is scheduled for
removal but the user undo that removal all
events for main dock/panel window are forwarded
correctly. As  a side fix parabolic effect works
just fine now is such scenario.
2022-01-14 20:03:11 +02:00
4e1d2f4def kwinedge:calculations improvements 2022-01-08 21:18:17 +02:00
2cd15da13a kwinedges:fix calculations and positioning 2022-01-08 20:59:25 +02:00
1c6e60a8f4 view:enable OnAllDesktops during creation
--try to avoid corner cases that wm ignores OnAllDesktops
flag for specific views during startup. This patch should
protect these corner cases.

BUG:447689
FIXED-IN:0.10.7
2022-01-01 21:03:15 +02:00
0f7a4bcd10 always trust KWin for setting struts
--when kwin is running then we should always
trust it in order to provide correct struts.
That applies also under x11 where other wms
might fail.

BUG:447595
FIXEX-IN:0.10.7
2021-12-29 18:50:27 +02:00
3c21f5475e 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
2021-12-27 22:47:57 +02:00
e25988ff93 fix broken initialization of windows tracking
--some improvements of 0.10.5 broke the windows tracking
initialization. This is a fix in order for windows tracking
to be enabled/disabled properly per dock/panel during
startup phase.
2021-12-17 11:52:10 +02:00
88603f6aaf more startup improvements
--visibility: simplify and improve code
for restoring and saving values
--enable visibility mode early on the startup
sequence
--enable windows tracking after startup phase
has ended
--windows tracking respect also view geometry
changes and not only window changes from the
desktop environment
2021-12-15 21:30:27 +02:00
4f3fef1fda enable strtus fro all alternative DEs 2021-12-14 17:03:24 +02:00
87efe01a96 view:copy properly screen edge margin
Consider -1 as screen edge margin default value
and not zero. This way when duplicating a default
dock AllBorders are not enabled in the new dock.

BUG:446903
FIXED-IN:0.10.5
2021-12-13 23:47:35 +02:00
4725cd7f2b do not allow struts when view is offscreen 2021-12-13 23:01:21 +02:00
80fa1022a5 multiscreen:disable struts under x11 when overlap
--when multiple screens placement have edges that overlap
with each other, at that edges struts must be disabled
to provide much better windows behavior. For example when
dragging a window between such screens and there is
an AlwaysVisible panel or dock between them.

BUG:445595
FIXED-IN:0.10.5
2021-12-12 14:34:28 +02:00
544b83ebeb 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.
2021-12-12 11:48:21 +02:00
50177a8406 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.
2021-12-12 11:45:43 +02:00
ee2493ba1a add missing signal 2021-12-12 03:29:06 +02:00
e04900ecf2 position vertical docks/panels more accurately
--send more availableRect/Region changed signals
for more cases and as such all views update
their positioning properly.
--for example when a horizontal view updates its
offset or max length independent of its visibility mode
the neighbour vertical views need to update
and validate their position.
2021-12-11 19:29:01 +02:00
dd5e0778a7 improve responsiveness for DynamicStruts Scenario
--add a timer blocker in order to reduce struts calls
at window manager. This way the entire desktop experience
becomes more stable and fluent.
2021-12-10 17:07:11 +02:00
6bf2994840 Indicators API:Extend animations capabilities
extend indicator.level.requested signals with:
  --taskLauncherActivated
  --taskGroupWindowAdded
  --taskGroupWindowRemoved

extend indicator.level.requested properties with:
  --isIndicatorTaskLauncherAnimationRunning

extend indicator info with:
  --providesInAttentionAnimation
  --providesTaskLauncherAnimation
  --providesGroupedWindowAddedAnimation
  --providesGroupedWindowRemovedAnimation

adjust Latte Tasks in order to support properly
animations implemented through indicators.
2021-10-30 14:32:00 +03:00
b839283d5b support X11::GlobalScaling properly
--as it appears many users are using Plasma GlobalScaling
in conjuction with PLASMA_USE_QT_SCALING. This commit
provides plenty of fixes for that scenario in order to
make things workable.
--adjust X11::InputMask based on devicePixelRatio()
--adjust X11::GtkFrameExtents based on devicePixelRatio()
--adjust View::absoluteGeometry() based on devicePixelRatio()
--adjust WM::Tracker based on devicePixelRatio()
--adjust WM::AbstractInterface based on devicePixelRatio()

BUG:444222
FIXED-IN:0.10.3
2021-10-24 16:31:40 +03:00
008a9c6038 disable "CanBeAboveFullscreen" properly
--fix how CanBeAboveFullscreen windows option can be
enabled/disabled properly and work correctly
--fix how Blur is handled for docks and panels that
can be AboveFullScreenWindows under X11. Blur is now
working correctly for them but of course GtkFrameExtents
do not work at all because they are intended to work
based on KWin implementation.

BUG:443536
2021-10-22 21:31:21 +03:00
c521112cea disable frame_extents for X11::ByPassWM()
--fix blur positioning for docks panels that
have chosen to ByPassWM() under X11 environment
2021-10-22 20:41:50 +03:00
5c2b24530b unblock Meta event properly for all launchers 2021-10-22 20:03:48 +03:00
4ad9bceb27 activate through mouse wheel more applets
--when an applet is not identified as expandable
but on the other hand has activated the flag
activationTogglesExpanded then for those
applets the mouse wheel option should also
trigger an activation event
2021-10-15 01:38:24 +03:00
a7cd06c2ef dont block visibility function after Meta trigger
--Menu11 and SimpleMenu applets are using a custom
plasmoid approach in order to be able to position their
popups differently on the screen. This patch considers
this in a more generic way and does not use the default
codepath to show popups from these applets. More
importantly the Needs/RequiresAttention status is used
in order to determine the panel/dock visibility for
these applets.

BUG:441053
2021-10-15 01:08:26 +03:00
40034a363f fix focus behavior when notes applet is used
BUG:443236
2021-10-07 18:07:40 +03:00
7eff55b793 wayland:multiple layouts load properly on activities 2021-06-12 15:23:29 +03:00
7bc31fc9ea support wayland activities since kf5>=5.81 2021-06-12 14:18:03 +03:00
9790b0cdad set userconfiguring early enough on first creation 2021-05-30 08:59:28 +03:00
117e8e2dc3 windowscancover:update hidden state based on mouse
--use containsmouse flag to show/hide windowscancover
like all the rest visibility modes
2021-05-29 20:16:04 +03:00
505379ed04 Use spdx syntax for all files 2021-05-27 15:01:00 +00:00
03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 2021-05-22 13:45:10 +00:00
7f994dfa7e reset view::positioner::slideoffset for Dock case
--when the View is changing from Panel to Dock mode,
panel slideoffset should update also
2021-05-21 17:28:08 +03:00
a001eab39c provide isSidebar flag for view::visibility 2021-05-21 17:28:08 +03:00
f2dda7347c set input mask properly for hidden sidebars
--do not enable any input mask for hidden sidebars
2021-05-21 17:28:08 +03:00
76549a9f99 shortcuts:wait for view to fully shown properly
--the new approach is not using timers but actual
events from View in order to identify when the
view is fully shown and when their popup is actual
visible. This way popup showing and view slide-in
is always synchronized properly

BUG:425078
2021-05-13 20:09:05 +03:00
8028efaa6c expose isShownFully to ViewPart::Visibility 2021-05-13 19:14:33 +03:00
c74b60c7da subcontainments considered Expandable 2021-05-08 19:23:06 +03:00
597ee4af5f respect always appletIsExpandable flag
--this way applets that during start were
expandable and now they are not, they do
not trigger expanded codepaths
2021-05-08 14:48:10 +03:00
16b83772e3 fixes for Sidebars hiding/showing behavior 2021-05-03 23:24:23 +03:00
940bee9408 Latte::Quick use layout popUpMargin
--this way we can support three different
popup styles. Plasma/AllBorders/Far From Edge
2021-05-03 03:11:09 +03:00
f5fb12e8da position latte panels pop ups really nice
--expose appletsLayoutGeometry through Latte::View
dynamic properties and allog LattQuick::Dialogs to
use it in order to be positioned nicely
2021-04-28 15:52:17 +03:00
1e487a4b1c widgetexplorer:delete on each hiding 2021-04-28 00:47:07 +03:00
53827549d7 widgetsexplorer:instantiate model on each showing 2021-04-28 00:22:50 +03:00
18233dc6ee viewsdialog:support moving between active layouts 2021-04-27 01:22:29 +03:00