Describe the bug:
When I use vim in XShell-SSH and Word together, if I switch "insert" and "overwrite" modes in both the two software, it seems that the detection of the two modes would become a mess.
To Reproduce:
Steps to reproduce the behavior:
OS Version:
ModernFlyouts Version:
This issue was maybe partially fixed in #90. Looks like it came again, or was not fixed properly.
@ShankarBUS FYI
No,
This issue is kind of unfixable.
Hear me out....
Each application have their own insert button key state.
That is, a program's insert mode will only be toggled if it's active.
So, let's say there are 3 windows (consider Text editors) and you press the insert key. Only the active app's insert mode will be toggled. Others apps would be unchanged.
But ModernFlyouts run all the time so it's value may be different from what program have cached.
One workaround would be to change the "Insert mode"/"Overtype mode" to "Insert Key".
@ShankarBUS Thanks for reply.
When I created the issue I just considered that this may be a tough job.
I have a suggestion to relieve the uncomfortable feeling about this. Since it couldn't be solved automatically, a button to change the state or set to default (insert mode) could be given on the window which will show out when switching the mode. For now the only way is to restart the software.
Show the flyout within the active window in which you toggled the insert key you say?
That'll be much harder that how it is now.
The real problem is no application respects the global insert key state. They store their own state independently. But this is not a problem with Caps or Num because the system will take care of keys and won't let apps manage it themselves.
Insert key is handled by each application independently instead of the system.
The only immediate and easy workaround would be to show just "Insert key" instead of "Insert mode" or "Overtype mode".
Yeah, I agree. Just showing "Insert Key" would be better.
Most helpful comment
Yeah, I agree. Just showing "Insert Key" would be better.