[Fixed] Ctrl-S hotkey not working in Scenario Editor.

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
theohedd
Posts: 13
Joined: Thu May 06, 2021 12:34 pm
Location: United States

[Fixed] Ctrl-S hotkey not working in Scenario Editor.

Post by theohedd »

Command Version: v1.03, build 1147_23
I was trying to use the save (Ctrl-S) hotkey today (5/6/2021) while editing the included scenario, and it would only work intermittently, only with certain sides, etc. I restarted my computer, as it required an update, and nothing changed. I noticed when starting up Command my taskbar was visible, which is not normally the case, including yesterday, when the hotkey was working fine. I'm wondering what might be causing this and how can I fix it? Is it something to do with the new DLC? That came out about 1 hour before I started Command, so maybe the included update broke something? Any help would be appreciated.
Note: This isn't an issue with my keyboard/keys, as the issue persisted with my non-laptop keyboard.
Attachments
Operation ..Cauldron.zip
(429.23 KiB) Downloaded 6 times
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Ctrl-S hotkey not working in Scenario Editor.

Post by KnightHawk75 »

I noticed when starting up Command my taskbar was visible
That's an enhancement in this official release (and with prior betas, if you have windowed mode enabled)
* TWEAK: The start screen is now full-screen or maximized (ie. taskbar visible) according to the preference of the last setting chosen in view menu option for full-screen or windowed mode. https://www.matrixgames.com/forums/tm.asp?m=5015112


Ctrl-s
When you say intermittent ignoring, do you mean you can touch\click nothing else and pressing ctrl-s will work and then ctrl-s 5 seconds later will not work, _or_ do you mean more like just as you go about your business and occasionally press ctrl-s it at times seems to ignore you and others it doesn't?

If the latter and you have other windows open (like lua console,db viewer, etc) try making sure the main form\screen has focus before hitting ctrl-s. I run into something similar from time to time with some hotkeys and the editor when I have lots of forms open and alt-tabbing between lua console and editor window sometimes where I have to explicitly re-click the mainwindow (and off of say dbviewer) after tabbing over for the shortcut like ctrl-c to work as intended on the correct winform. I can reproduce what you describe by involving the aforementioned with ctrl-s (dbviewer has focus ctrl-s will not be trapped,lua has focus ctrl-s will not be trapped etc), and I think that behavior makes sense in windowed mode.
theohedd
Posts: 13
Joined: Thu May 06, 2021 12:34 pm
Location: United States

RE: Ctrl-S hotkey not working in Scenario Editor.

Post by theohedd »

When you say intermittent ignoring, do you mean you can touch\click nothing else and pressing ctrl-s will work and then ctrl-s 5 seconds later will not work, _or_ do you mean more like just as you go about your business and occasionally press ctrl-s it at times seems to ignore you and others it doesn't?
When this first started this morning (USCT), by pressing Alt-S to switch sides, the Ctrl-S hotkey would work after doing that sometimes, but that 'trick' has stopped working.
If the latter and you have other windows open (like lua console,db viewer, etc) try making sure the main form\screen has focus before hitting ctrl-s. I run into something similar from time to time with some hotkeys and the editor when I have lots of forms open and alt-tabbing between lua console and editor window sometimes where I have to explicitly re-click the mainwindow (and off of say dbviewer) after tabbing over for the shortcut like ctrl-c to work as intended on the correct winform. I can reproduce what you describe by involving the aforementioned with ctrl-s (dbviewer has focus ctrl-s will not be trapped,lua has focus ctrl-s will not be trapped etc), and I think that behavior makes sense in windowed mode.
As of testing right now, the hotkey does not work in windowed mode, fullscreen, and regardless if it's been focused as you described, or if there is another CMO window open. I can't help but think that the update or the act of the game updating somehow did this, as everything was working yesterday. The thing with the taskbar seemed important to me because normally, upon launch, only the CMO loading screen would be shown unless I alt-tabed. That changed as described only after today's update, not sure if that was why, however.
WSBot
Posts: 181
Joined: Sun Jan 17, 2021 9:31 pm

RE: Ctrl-S hotkey not working in Scenario Editor.

Post by WSBot »

0014545
theohedd
Posts: 13
Joined: Thu May 06, 2021 12:34 pm
Location: United States

RE: Ctrl-S hotkey not working in Scenario Editor.

Post by theohedd »

Update: I think the hotkey may still be working but for some reason, the normal visual indication of saving (top bar changing color) doesn't show up. I noticed this when trying it again, and noticing the slight lag I was used to when saving, but no visual indication. I checked, and the file looks like it's been updated, and when saving and loading, it looks like it is working as intended, just without the usual indication. Problem solved? I'm not sure if this is just a change or a weird bug.
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

RE: Ctrl-S hotkey not working in Scenario Editor.

Post by KnightHawk75 »

ORIGINAL: theohedd

Update: I think the hotkey may still be working but for some reason, the normal visual indication of saving (top bar changing color) doesn't show up. I noticed this when trying it again, and noticing the slight lag I was used to when saving, but no visual indication. I checked, and the file looks like it's been updated, and when saving and loading, it looks like it is working as intended, just without the usual indication. Problem solved? I'm not sure if this is just a change or a weird bug.

Yeah when I was testing earlier and it was working fine when it had focus, I was specially checking file timestamps to see if it actually saved. I didn't even know there was anything (past or present) to indicate progress to be on the lookout for since I rarely use that hotkey, interesting.
theohedd
Posts: 13
Joined: Thu May 06, 2021 12:34 pm
Location: United States

RE: Ctrl-S hotkey not working in Scenario Editor.

Post by theohedd »

The weirdest thing is when I save by clicking the save button under the File option it still has a visual representation (the colored buttons go light grey). No clue why there's a difference all the sudden.
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Ctrl-S hotkey not working in Scenario Editor.

Post by michaelm75au »

A change (for the next build) has been made to enable the visible indicator when using the shortcut. The save was happening when it was in the Editor mode.
Michael
theohedd
Posts: 13
Joined: Thu May 06, 2021 12:34 pm
Location: United States

RE: Ctrl-S hotkey not working in Scenario Editor.

Post by theohedd »

Thanks so much! Love how responsive and engaged the dev team is for this project!
User avatar
michaelm75au
Posts: 12457
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Ctrl-S hotkey not working in Scenario Editor.

Post by michaelm75au »

Fixed in build (1147.24)
Michael
Post Reply

Return to “Tech Support”