-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Detach window #3532
base: master
Are you sure you want to change the base?
Feature: Detach window #3532
Conversation
016df50
to
cfed76a
Compare
Wow! That's really awesome! |
Very useful functionality especially when using multi-monitor setup! 👍 I played a little bit with it and found some bugs:
LMMS 1.2.0-rc2.153 |
@karmux Thanks for testing! I'll have a look at the issues you pointed out as soon as I find the time. I already noticed number 2 (X-button doesn't work), but couldn't find the cause. |
This is super useful!! I can't seem to make a windows build of it though. The build seems to go without a hitch, but when I open the app, it doesn't have the detach button. This might be my own error, but maybe someone else should look into it. I can confirm all the issues that @karmux pointed out. Also, getting the detached window back into lmms is a little unwieldy. I basically need to re-open the window (for exmaple, clicking the FX-Mixer button to re-attach the FX-Mixer). Not exactly a bug, but it would be useful if the minimize button reattached the window, or if there was another button entirely. Good job, looking forward to be able to use this for major producing :) |
Sorry for the bump. PS: Sorry to bother... |
@NickAcPT Yeah, my idea is that since the minimize button reattaches, they wouldn't have to add another button. The minimize button on the main LMMS window should probably shrink all child windows so there is a way to minimize them. |
Now we've, so I think we can continue working on this.
It's already fixed.
I guess the event is propagated to |
Found some more issues:
|
If the minimize button is used for attaching, wouldn't it be confusing? Also, I can't find platform-independent way to add such a button to the title bar unless we create a custom window class which would be quite difficult. There's an easier workaround, wrapping window content and window controls in a layout. It might be a little bit ugly, but it's easy. @lukas-w may I continue this work? |
Go for it. 👍 |
cfed76a
to
0b5eae1
Compare
Fixed almost all bugs reported by @karmux. As a side effects, minimize button doesn't re-attach windows anymore. I can restore the behavior, but I think that might be confusing. |
I think that's correct. IIRC I copied some code from instrument track and it had some issue(fixed in this PR). |
It never did. This was just suggested by @Jousboxx in #3532 (comment). |
hello, |
@pwepwe973 This feature is in development and not a part of released versions. Sorry. |
thank you
thank you for your message |
@PhysSong Can you please summarize the current state of this? Is it ready to be merged? I'm willing to help get this finished if possible. |
I unintentionally abandoned this one, but I can restart working on this.
Not yet, mainly due to #3532 (comment). |
19c43ed
to
cb27f20
Compare
cb27f20
to
4ff297b
Compare
hello, why not integrate this option in the new versions ?? for people with 2 screens |
What's the status as of now? How about a rebase and bugfixes. |
…ndow # Conflicts: # src/gui/SubWindow.cpp
I have never changed version since I kept this version with the detachment of the windows because I use the others on 2 screens, even if there are new things but I am not interested in WHAT INTERESTS ME IS TO BE ABLE TO WORK in a practical way with the 2 screens |
What's blocking the rebase ? |
merge conflicts maybe, and the fact that the author hasn't been here in a long time. |
@PhysSong Are you still working on this? If not, I can try getting it to a state where it's ready to merge. |
I fixed the bug that prevented detached editor windows (Song Editor, Piano Roll, etc.) from closing when "X" is clicked. These are the known bugs that still remain:
|
Allows detaching a window from LMMS's main window, making things like working on multiple screens easier.
Closes #1259
Quick demonstration:
Edit: This uses some Qt5-only features, so it's best to wait with merging this until we've switched (#2611).