Pattern editor opening without its window

#8565 · open · 4 comments

View on GitHub ↗

Itreza2

### System Information Ubuntu 26.04, KDE Plasma 6.6.6 ### LMMS Version(s) 1.3.0-alpha.1.991+ce0a4d5 ### Most Recent Working Version Unknown _(I believe I already encountered this bug on 1.2 years ago)_ ### Bug Summary As you can see on the screenshot below, the pattern editor widget was opening without its window widget (*). As a consequence of what it was impossible to move the widget inside the workspace, to toggle maximize it, or to detach it. (*) It might be confusing but I'm not referring to `PatternEditorWindow` (the widget with the toolbar), which is opening well ### Expected Behaviour The editor should be inside a "window" ### Steps To Reproduce I have no clue about how to reproduce this bug. After a restart, everything was back to normal, with the same project opened. ### Logs _No response_ ### Screenshots / Minimum Reproducible Project <img width="936" height="496" alt="Image" src="https://github.com/user-attachments/assets/bf9d2a88-620a-4561-bfe9-8eb1856c79f6" /> For reference, here is the expected window: <img width="754" height="418" alt="Image" src="https://github.com/user-attachments/assets/bb3125fb-839a-4ba9-8d34-6deec26e6b32" /> ### Please search the issue tracker for existing bug reports before submitting your own. - [x] I have searched all existing issues and confirmed that this is not a duplicate.

Comments

yohannd1

Oh, I've had this issue happen to me before as well, though usually with maximized windows. Also haven't been able to replicate, but I feel like it's related to the ~~lovely~~ subwindow bugs we've been having lately.

musikBear

> I have no clue about how to reproduce this bug. "JooHuuu" ..A random bug. They are sooo amusing But have to say, i have _never_ seen that. It _is_ in a Nightly (+ce0a4d5), so it does make sense to upgrade to Alpha.2, witch at least would ensure that the installed version is not a purpose-Nightly with 'hasty' code.. So @Itreza2 that would be my recommendation to You: Update to Alpha.2! -And then _do_ report it again if it reappear (witch it will..

sqrvrt

> _(I believe I already encountered this bug on 1.2 years ago)_ [expressions of joy and happiness] I took a brief look and have no idea what could be going wrong, the window is spawned in `MainWindow.cpp` as `addWindowedWidget(getGUI()->patternEditor())` where `getGUI()` returns a `GuiApplication*`, the constructor of which initializes the actual editors along with their widgets. `PatternEditorWindow` inherits only `Editor` which itself only inherits `QWindow`, none of which ever interact with subwindows. And the exact same thing seems to be done with all other editors so i have genuinely no idea.

musikBear

> so i have genuinely no idea. Most likely a _Not our bug._ qT, i'm looking at Yóu..