Skip to content

Conversation

@guihkx
Copy link
Collaborator

@guihkx guihkx commented Sep 15, 2025

Qt docs note that QWidget::createWindowContainer has a number of known limitations, with one of them being focus handling.

On Wayland, that limitation seems to be preventing us from typing anything into the Kanban view, because it never gains focus.

Fixes #617


I've tested this on Linux (on both X11 and Wayland sessions), Windows 10, and I didn't notice any difference in behavior compared to the previous approach.

I've also tested the pre-built DEB and RPM packages on their appropriate target distros.

cc @nuttyartist: Can you please test this on macOS? Thanks!

@nuttyartist
Copy link
Owner

Thanks a lot for this and sorry for the delay! I'll be testing this now...

@nuttyartist
Copy link
Owner

nuttyartist commented Oct 12, 2025

So, this PR causes macOS windows to default to the default title bar. But I got a fixed for that. I''ll create a separate PR.

I can't really test on a Linux machine so I'm taking your word that it works. @guihkx can you just also make sure it works in X11 session so we don't have any regression? After testing, please merge this.

I tested on Windows - seems to work well.

@guihkx
Copy link
Collaborator Author

guihkx commented Oct 12, 2025

Thanks for testing!

can you just also make sure it works in X11 session so we don't have any regression

Yup, I did. And I tested on Wayland and on Windows 10 well. Everything looks the same to me.

I'll just rebase against current master and merge it. Thanks!

Qt docs note that QWidget::createWindowContainer has a number of known
limitations, with one of them being focus handling. [1]

On Wayland, that limitation seems to be preventing us from typing
anything into the Kanban view, because it never gains focus.

[1] https://doc.qt.io/qt-6/qwidget.html#createWindowContainer
@guihkx guihkx force-pushed the fix-kanban-typing-wayland branch from 2865f1f to 155819c Compare October 12, 2025 17:21
@guihkx guihkx merged commit 155819c into nuttyartist:master Oct 12, 2025
12 checks passed
@guihkx guihkx deleted the fix-kanban-typing-wayland branch October 12, 2025 17:30
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.

Editing the Kanban board doesn't work on wayland

3 participants