Editor settings opens a separate window on tiling window manager (Hyprland)
This has actually been going on since forever, I just never bothered to create an issue about it ;)
https://github.com/user-attachments/assets/7aeb8a32-a31a-45cd-b04f-b0ae3ce03ef0
- Opening the editor settings opens a separate window. In Hyprland, separate windows will always tile by default.
- Moving focus from the editor settings to the main window will close the editor settings
- If I use my shortcut to make a window tileable, the window can be resized but I can't scroll down if I make the window smaller.
- If I ensure the editor settings window is initially opened much smaller, the scrollbar does appear and works fine.
So I think the main problem is that the editor window is not classified as a popup, but rather a whole new window?
Interestingly, this doesn't occur when opening the editor settings in the kanban view, there it just opens and closes fine as a popup instead of a separate window.
@zjeffer It's that way since when you're in the text mode the right pane is using QWidgets and when in Kanban mode the right pane is in QML. And since the editor settings is written in QML, in order to open it while the QWidgets right pane is still showing, i.e. in order to open the editor settings as a popup, we need to create a new QWindowContainer that behaves like a popup and renders the QML. If the Kanban is open we simply wrap the EditorSettings component with Popup in QML and show it inside the QML view.
The proper solution (which must be done in any case IMO) is to re-create the right pane in QML. It should be fairly easy, I did that already for Daino Notes (the plain text view).