.45 Keys overkill

Started by LPChip, August 22, 2006, 20:49:21

Previous topic - Next topic

LPChip

As you know, MPT how has this very good and custom key-preset manager. It allows you to configure lots of keys etc.

It is soo good that it has unexpected side effects.

If I have the "load song" window open to load in a song, pressing F2 to rename a song, will put the current song to pattern editor (which is what I've set it to do according to IT standards) However, its not gonna bring me the "rename" feature in the loading window.

Another example: I've bough Electri-Q VST, and in order to get it registered, I needed to type in the registration code. You'll probably see it comming :P It was sending the notes to the assigned instrument. :lol:

Luckelly for me there is a stand alone version of the plug, otherwise I couldn't even register it :P

I'm sure there are other occasions where not sending keys to windows can lead to frustration.

EDIT: Partially fixed now since 1.18, File open dialog from OpenMPT does work as suspected. Its not interfering with OpenMPT at all.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

rewbs

The first issue is a known bug, see 1.17rc2 release notes. Thanks for the reminder. Let's keep this thread to track that bug.

The second issue, however, is already resolved. There is a "send keys to plug" option under one of the  plugin window menus (can't remember what the menu is called now, maybe options).

LPChip

Ah okay... I never knew that. Maybe we should make a FAQ on the wiki for this kind of questions?
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

rewbs

For the plugin keys issue, feel free to amend the FAQ section on http://openmpt.xwiki.com/xwiki/bin/view/Manual/Plugins#FAQs about plugins.

I should make a section with known bugs, or perhaps just a link back to this forum.

LPChip

"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

LPChip

Am looking through old bugs again... What should we do with this one?
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Saga Musix

Quote from: "Jojo"Full Version:
OpenMPT v1.17.02.49

Has the bug occured in previous versions? If yes, please specify version(s): (This option is optional, and doesn't need research. But in case you know...)
yep, present in all OpenMPT versions i have used so far, but not in the original MPT.

Description of the bug:
Some standard key shortcuts won't work in open / save dialoges. Some of them are sometimes quite important, like Ctrl+C / Ctrl+V (and i don't like to use context menus, really). Also, if I want to close such a dialog, I want to do this by pressing ESC (works in all other apps), but when I do so, the window gets closed AND the current songs stops playing.
I suggest that keys are not scanned while one of these dialogs is open so those shortcuts work again and ESC does not interfere with OMPT.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Saga Musix

With a bit of code cleanup, I think I can smash this really old bug so that keys are no more polled when a load/save file dialog is open. It's been there long enough.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

LPChip

Quote from: "Jojo"With a bit of code cleanup, I think I can smash this really old bug so that keys are no more polled when a load/save file dialog is open. It's been there long enough.

Cool! Go for it. :) You have my blessing.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Saga Musix

Please confirm that this has been fixed in OpenMPT 1.18 release candidate. You can set the thread status to S=C yourself then.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

LPChip

Not entirely fixed yet.

If I have a VSTi/VST window open which has a button to load in a patch, I get a windows file open dialog. Inside it, F2 still triggers the pattern view according to my keyset, not rename a file/folder.

I can of course  get around this by using Rewbs' suggestion. Not sure if you didn't fixed that on purpose though...

Am putting it back to open. Please let me know if it was intended.

For the record: I used Xlutop Chainer, and wanted to load a channel preset in one of the channels.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Saga Musix

Quote
I can of course get around this by using Rewbs' suggestion. Not sure if you didn't fixed that on purpose though...
I'm afraid it won't be possible to fix that. There is no such magical command like "detect all file dialogs that are created by VST plugins", so OpenMPT does not even *know* about them (the VST interface opens them by itself). You will have to resort to the "pass keys to plug" function for now. If you can agree on that, feel free to close the report.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

LPChip

We could close it, but I have a feeling its not that hard to fix.

Would we really want to have the keys to be supported during any editing in a VSTi window?

The only keys I could find interesting are the keys to play notes, but others aren't. So it might be possible to say: when OpenMPT is not active (but one of its childs, like a vst window is, then don't pass special keys to the plug.)

If you think thats not possible, feel free to close the bug.
"Heh, maybe I should've joined the compo only because it would've meant I wouldn't have had to worry about a damn EQ or compressor for a change. " - Atlantis
"yes.. I think in this case it was wishful thinking: MPT is makng my life hard so it must be wrong" - Rewbs

Saga Musix

you say you only need note keys, person b also wants to use play/stop, person c wants to have pattern navigation shortcuts available in addition, etc..pp... Who to believe? All of them of course. And that's why global shortcuts should still work in VST editors. Handpicking shortcuts is just so wrong. And blocking certain keys in the VST editor is wrong too, because what happens if person b has bound play/stop to F2? I hope that makes clear why "pass keys to plug" has been invented.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.