Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull KWin patches (2024-05-23 - 2024-09-14) #28

Merged
merged 17 commits into from
Oct 9, 2024
Merged

Conversation

romangg
Copy link
Member

@romangg romangg commented Oct 9, 2024

According to listings in #27.

Closes #27

romangg and others added 17 commits September 23, 2024 12:12
Plasma expects these functions to  exist in the D-Bus specs. For now we
implement them only as a stub.
Plasma::Dialog contains logic that we don't want for a kwin window and
is considered deprecated. Dialog uses the width of the main item which
results in an unavoidable binding loop.

PlasmaWindow allows us to propagate implicit sizes upwards correctly.

BUG: 420757
This improves the integration of the XcursorTheme class with the rest of
the Qt ecosystem, for example it should be possible to load cursor themes
from Qt resources.
The effect does not work very well for two main reasons:
Some clients will make a new popup rather than move an existing one, so
whether it does anything is highly unpredictable as a user.

Popups can be of massively different sizes with different amounts of
text. This means the text in the smaller popup gets resized which
doesn't look like a natural in-between state of the two popups. This
defeats the objective of looking smoother.

On top of that, it's rather glitchy.
This effect was purely visual, no functionality changes.

BUG: 473411
BUG: 466638
BUG: 416048
BUG: 461501
BUG: 466637
This effects is off by default, which means to instruct someone how to
use it for debugging purposes, you need to both tell them to enable it,
and then also teach them how to assign a shortcut for it.

Since it's off by default, there's no harm in setting a shortcut, which
simplifies the enablement instructions. I've chosen Meta+Ctrl+Alt+P,
which uses so many modifiers that it won't conflict with anything.
The target position is zero, so they just move into the top left corner,
which looks weird. With this commit, they just fade away without moving
Give label text background color to make it easier to distinct from the background.

BUG:483016
If two mouse areas are stacked on top of each other and a button press
event is sent so one of them accepts it, QMouseEvent::isAccepted() will
still return false. It's a QtQuick bug, see the associated upstream bug
report https://bugreports.qt.io/browse/QTBUG-126733.

On the other hand, given that the MenuButton implements its own input
handling, we can port it away from DecorationButton to mitigate the issue.

BUG: 488993
This should help avoiding the window heap delegaet labels drawing on top
of each other in Overview effect.

BUG:489595
This is problematic as then we do not catch changes to animation speed
settings, it also doesn't make the code more readable when it's
only used in one place.

BUG: 490703
It's the same as contentsRect
…top layout

Hiding the desktop bar based on the desktop layout produces unexpected
results.

BUG: 482023
The hotspot should be relative to the window item being dragged, the
scale applies to both.
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

Attention: Patch coverage is 40.69767% with 102 lines in your changes missing coverage. Please review.

Project coverage is 50.71%. Comparing base (14e9735) to head (7e03e50).
Report is 17 commits behind head on master.

Files with missing lines Patch % Lines
como/input/extern/xcursor.c 39.56% 51 Missing and 33 partials ⚠️
como/input/dbus/device.h 0.00% 7 Missing ⚠️
como/input/wayland/xcursor_theme.cpp 66.66% 4 Missing and 1 partial ⚠️
plugins/effects/backgroundcontrast/contrast.cpp 0.00% 2 Missing ⚠️
plugins/effects/blur/blur.cpp 0.00% 2 Missing ⚠️
plugins/effects/showpaint/showpaint.cpp 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   50.45%   50.71%   +0.25%     
==========================================
  Files         939      940       +1     
  Lines       87387    87387              
  Branches    44887    45172     +285     
==========================================
+ Hits        44093    44315     +222     
+ Misses      38599    38385     -214     
+ Partials     4695     4687       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@romangg romangg merged commit ba96461 into winft:master Oct 9, 2024
15 of 16 checks passed
@romangg romangg deleted the pick-kwin branch October 9, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate KWin patches (2024-05-23 - 2024-09-14)
6 participants