-
Notifications
You must be signed in to change notification settings - Fork 71
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
Losing focus so space does not work #1002
Comments
The first problem is not reproducible here. Space always keeps working in the arranger for me, no matter if I opened the pianoroll in tab or as a separate window (Qt 5.9.5). The second one yes, the focus is in the volume text field. I remember you and Tim had a discussion some time ago about how the focus should behave in the mixer, both of you made some changes to it. But I may be mistaken. |
First one. Very curious, using another computer with same OS now and here it works! Could I have enabled something special in the configuration? I will have to investigate. Second one, yeah, maybe it was never concluded. |
I see one setting related to focus ("Smart focus" in the GUI Tweaks), but I have no idea what it does (there is no tooltip or any other explanation). |
Yes, there is a tooltip and a what's this on that Settings button. The purpose of smart focus is to return focus to respective canvas after editing any edit box. I reviewed the code. But it seems I never implemented return key handling for the double label in the mixer strips, although escape works. :-(
So when escape is pressed in Strip::keyPressEvent() it calls _focusYieldWidget->setFocus(). It's a simple concept. Guaranteeing 'yielding' focus to something other than some random higher-up parent |
You are right Tim, there is a Whatsthis text. I'll never get used to this... This whole tab with GUI Tweaks needs overhauling anyway, there are some other issues as well. I will try to improve the tooltips too, at least where I understand what the options mean. I will remove the "Use old-style stop shortcut" if there are no objections. It's wrong in every respect IMO:
|
Old-style stop is a good example of changes/improvements in MusE where we left the old code as an option, if anyone really wanted to stick to the old. We should probably have been more decisive, removed the old and embraced the improvement. I can't believe anyone is actually using the old style. The simple truth that we tend to skip over is that more options equals more code to maintain. Usually resulting in some features having a half maintained status... In a similar vein regarding SmartFocus, is this really an option we should keep around? I mean, what is the alternative, that it does not work well? |
I don't think it's new, just hidden/neglected? As for Smart focus, I never tried to disable it, so I don't know how it would behave. |
No, the alternative is that we make it work well. Which it already does, except for the lack of return key handling |
@kybos Regarding what's this: We have a separate what's this button on some of our toolbars, |
Yes, the Whatsthis button and Shift+F1 do work in Cinnamon. I had a look at these texts already (as we'd had a similar discussion before). Most of them are quite short and could be probably easily converted to tooltips. There are only very few that are really long - for those we could create info buttons (or similar), either with link to the wiki, or open a separate info popup with the text. Or just keep them as Whatsthis... |
I have made some fixes for this issue. Please keep in mind that when an editing box has focus, there is no guarantee that any or all shortcuts will work. |
Alright, cool, will test as soon I can! |
This issue is stale because it has been inactive for two years. Remove Stale label or write a comment, otherwise it will be closed in 30 days. |
Issue has been closed automatically after two years of inactivity. Feel free to reopen if the issue is still relevant for current MusE version. |
I think this has been fixed before, possibly it is due to different versions of Qt?
If you are inside an editors (at least the pianoroll) and use ESC to get back to the arranger, space no longer functions to stop playback until you click on the canvas.
Not the same issue but space has also stopped working when you open the mixer as the volume field in the selected channel strip will take the focus. I'm pretty sure I fixed this before but it reappeared..
Using AppImage for 4.0
The text was updated successfully, but these errors were encountered: