Summary: | Crash when dragging from a window | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Aleix Pol <aleixpol> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, kde, nate |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kwin/26ce4869a09e0061061c3f1e2cf2333a4ab1eb02 | Version Fixed In: |
Description
Aleix Pol
2020-02-20 15:20:53 UTC
A drag of what from what? I can't reproduce, but I have seen this report before I think it was a URL/link. It crashes when it goes over the plasmashell. It might have been from an X11 client. possible duplicate of bug 398440 *** This bug has been marked as a duplicate of bug 416499 *** Git commit 26ce4869a09e0061061c3f1e2cf2333a4ab1eb02 by David Edmundson. Committed on 06/04/2020 at 22:22. Pushed by davidedmundson into branch 'master'. [xwl] Fix crash if same data is requested twice Summary: m_dataRequests is a list of transfers for a given selection. It exists primarily as a ref counting mechanism that matches up transfers with selections. If the same data is requested twice we would insert two items into the list with matching timestamps for the original selection. This then confuses the callback handling. Test Plan: kwin_wayland + chromium drag and drop a URL onto desktopview. kwin used to crash here Now a context menu now appears and I can add a link Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D28630 M +1 -2 xwl/drag_x.cpp https://commits.kde.org/kwin/26ce4869a09e0061061c3f1e2cf2333a4ab1eb02 |