[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-07-24 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=465970

David Edmundson  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/-/commit/35adcfe36a
   ||613d5b949fea6f656c343aea570
   ||89f
 Resolution|--- |FIXED

--- Comment #9 from David Edmundson  ---
Git commit 35adcfe36a613d5b949fea6f656c343aea57089f by David Edmundson.
Committed on 24/07/2023 at 16:52.
Pushed by davidedmundson into branch 'master'.

delete platform cursor before Application

We want the platform cursor to have roughly the same lifespan as the
application.

By using QObject parent mechanism, this gets deleted after the
Application destructor in the QObject destructor.

This causes an issue that removing an event filter (used by the X11
cursor) calls into the application singleton which is no longer valid.

M  +5-4src/backends/x11/standalone/x11_standalone_backend.cpp
M  +2-1src/backends/x11/standalone/x11_standalone_backend.h
M  +2-2src/backends/x11/standalone/x11_standalone_cursor.cpp
M  +1-1src/backends/x11/standalone/x11_standalone_cursor.h
M  +2-3src/cursor.cpp
M  +1-1src/cursor.h
M  +2-1src/input.cpp
M  +3-3src/main.cpp
M  +3-1src/main.h
M  +3-2src/main_x11.cpp
M  +1-1src/main_x11.h
M  +2-2src/pointer_input.cpp
M  +1-1src/pointer_input.h

https://invent.kde.org/plasma/kwin/-/commit/35adcfe36a613d5b949fea6f656c343aea57089f

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-07-23 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=465970

--- Comment #8 from Natalie Clarius  ---
I'm no longer experiencing this bug so I'm afraid I can't test if the MR fixes
it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-07-23 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=465970

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #7 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/4261

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-02-21 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=465970

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-02-21 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=465970

--- Comment #6 from Natalie Clarius  ---
Disabling session restoration does not prevent the crash from happening.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-02-20 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=465970

--- Comment #5 from Natalie Clarius  ---
Also sometimes the same crash happens multiple times in direct succession after
logging in.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-02-20 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=465970

Natalie Clarius  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-02-20 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=465970

--- Comment #4 from Natalie Clarius  ---
A possibly relevant journal entry from kwin_x11 is:

Feb 20 14:09:10 montague kwin_x11[72612]: ASSERT: "qobject_cast(QCoreApplication::instance())" in file
/home/natalie/kde/src/kwin/src/main.h, line 383
Feb 20 14:09:10 montague kwin_x11[72612]:
QCoreApplication::applicationFilePath: Please instantiate the QApplication
object first

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-02-20 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=465970

--- Comment #3 from Natalie Clarius  ---
Maybe it has to do with session restoration. I'll try turning that off for a
while and see if the crash still occurs.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-02-20 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=465970

Vlad Zahorodnii  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #2 from Vlad Zahorodnii  ---
I'm confused why kwin quits at startup. Does kwin print anything before
quitting?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 465970] KWin crashes in XFixesCursorEventFilter

2023-02-17 Thread Natalie Clarius
https://bugs.kde.org/show_bug.cgi?id=465970

--- Comment #1 from Natalie Clarius  ---
Also sometimes happens in the middle of a session.

-- 
You are receiving this mail because:
You are watching all bug changes.