Hotkeys Not Triggering Often - Works For Short Periods Only !

Started by total_annihilation00, January 23, 2024, 17:14:30

Previous topic - Next topic

total_annihilation00

The custom shortcut keys I assigned either keep getting unresponsive or stop getting triggered from time to time !!  I really would like there to be a more robust hotkey system with persistence. Usually this happens when I close & restart quickly —I depend a lot on the shortcuts keys, please try to fix them in a future release.
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


AlanJB

I also have this problem once or twice a week.  I agree it is more likely to occur when I close & restart MC quickly.

I have noticed that when the instance without a loaded CustomKeymappings.xml is closed, it does not overwrite my (correct) CustomKeymappings.xml.
So a restart (or three) of the program eventually reads and loads the correct CustomKeymappings.xml

@total_annihilation00, what antivirus do you use?

total_annihilation00

~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


Mathias (Author)

Is it all keys or some ?
I have not been able to reproduce it.  But it loads keys and other things parallel during start up so it can be a race condition.. it can be that some commands are setup before all customized keys are finished loaded. I will move around so customized keys are loaded earlier for the next release.

AlanJB

Quote from: total_annihilation00 on January 24, 2024, 17:39:36
I use COMODO Internet Security Premium (free)

I'm using Avast Premium (paid for), so that's not a common factor...

AlanJB

Quote from: Mathias (Author) on January 25, 2024, 07:34:29
Is it all keys or some ?
I have not been able to reproduce it.  But it loads keys and other things parallel during start up so it can be a race condition.. it can be that some commands are setup before all customized keys are finished loaded. I will move around so customized keys are loaded earlier for the next release.

Hi Mathias.  For me it's all user-defined keys.  Key bindings revert to OOB values.

Thanks for taking a look.

Jungle

I reassigned Rename from default Shift+F6 to F2. At the first launch after update to 13.4 both shortcuts stopped working. And AFAIR Rename item disappeared from the keyboard customization dialog (but I'm not sure). But I was unable to find there neither F2 nor Shift+F6. After restart everything came back to normal state.

Mathias (Author)

Quote from: Jungle on January 25, 2024, 16:39:05
I reassigned Rename from default Shift+F6 to F2. At the first launch after update to 13.4 both shortcuts stopped working. And AFAIR Rename item disappeared from the keyboard customization dialog (but I'm not sure). But I was unable to find there neither F2 nor Shift+F6. After restart everything came back to normal state.

Sound like it is a race condition.. file is already loaded into Windows cache the second time and the loading goes faster, so it able to load the file before it setups the commands..

total_annihilation00

Quote from: Mathias (Author) on January 25, 2024, 07:34:29
Is it all keys or some ?
I have not been able to reproduce it.  But it loads keys and other things parallel during start up so it can be a race condition.. it can be that some commands are setup before all customized keys are finished loaded. I will move around so customized keys are loaded earlier for the next release.

Some user-defined keys retain, some all lost. Thanks for the new Beta update, I believe it solves it —but I'd have to leave it open for some time as I've noticed over extended idle time it can sometimes stops responding. But as for in-between restarts, it appears fine now. :D
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~


AlanJB

Hi Mathias - some feedback for you.

Build 2983 seems to have fixed the race condition causing custom key bindings to be lost.  Tested for nearly two months now.

Thanks.

AlanJB

Hi Mathias.

FWIW this problem is back since I bought a new, much upgraded PC (AMD Ryzen 5 5600G, SSDs all round).

It happens at least one per day, sometimes more often.

total_annihilation00

#11
Yes sometimes the Hotkeys does not trigger, but it happens ever so rarely for me. Also could be the built-in Picture Viewer —I switched to JPEGView app (on Github) to handle opening my image previews & had great success in doing so.

I would also like to address the issue of being able to re-assign Next/Previous Tab Navigate to a custom hotkey (in my case I want Ctrl+Page Up/Page Down to cycle between Tabs ! This would be optimal for my use, as it more closely mimics my Edge Browser shortcut key.
~The World's Deceit Has Raped My Soul, We Melt The Plastic People Down Then We Melt Their Plastic Town~