| Summary: | KDE6-rc1 Alternative window decorations breaking title bars | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Edoardo Lolletti <edoardo762> |
| Component: | decorations | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | nate |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 5.92.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/8ed28586d933e20e14e4112b23666238a3eec14e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Edoardo Lolletti
2024-01-30 12:53:14 UTC
aurorae accepts button release events regardless of what's actually clicked. This cancel the double click timer. /*!
Handle \a event on behalf of this delivery agent's window or subscene.
*/
void QQuickDeliveryAgentPrivate::handleMouseEvent(QMouseEvent *event)
{
Q_Q(QQuickDeliveryAgent);
// We generally don't want OS-synthesized mouse events, because Qt Quick does its own touch->mouse synthesis.
// But if the platform converts long-press to right-click, it's ok to react to that,
// unless the user has opted out by setting QT_QUICK_ALLOW_SYNTHETIC_RIGHT_CLICK=0.
if (event->source() == Qt::MouseEventSynthesizedBySystem &&
!(event->button() == Qt::RightButton && allowSyntheticRightClick())) {
event->accept();
return;
}
Qt has this code that accepts all button release events
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5086 Git commit 93b9fdd391c7b19bb61b9b9ee2ba6bc3890af5ff by Xaver Hugl, on behalf of Vlad Zahorodnii. Committed on 02/02/2024 at 01:00. Pushed by zamundaaa into branch 'master'. effect: Fix initialization of QEvent::isAccepted() in cloned events in OffscreenQuickView QEvent::isAccepted() is initialized to true by default. M +6 -0 src/effect/offscreenquickview.cpp https://invent.kde.org/plasma/kwin/-/commit/93b9fdd391c7b19bb61b9b9ee2ba6bc3890af5ff Git commit 8ed28586d933e20e14e4112b23666238a3eec14e by Xaver Hugl, on behalf of Vlad Zahorodnii. Committed on 02/02/2024 at 01:06. Pushed by zamundaaa into branch 'Plasma/6.0'. effect: Fix initialization of QEvent::isAccepted() in cloned events in OffscreenQuickView QEvent::isAccepted() is initialized to true by default. (cherry picked from commit 93b9fdd391c7b19bb61b9b9ee2ba6bc3890af5ff) M +6 -0 src/effect/offscreenquickview.cpp https://invent.kde.org/plasma/kwin/-/commit/8ed28586d933e20e14e4112b23666238a3eec14e Tested the latest KDE Neon live image, and can confirm that the double click now works, but the issue with the right click menu still remains. Right clicking is tracked in https://bugs.kde.org/show_bug.cgi?id=480864 |