Under Community Review

Support for fast keyboard users/speed up the user interface/fix incorrect ribbon behavior

Currently, if I select a paragraph of text in Word with Ctrl+Shift+Arrow down, then copy it with Ctrl+C, then switch to Studio with Alt+Tab, Studio will set the focus to the ribbon and display the keyboard shortcut mnemonics in the ribbon. Typing or pasting in the source segment is impossible. To unfocus the riboon, I need to press Alt anywhere between 1 and 4 times (this varies depending on the mood Studio is in, the position of the Moon and the amount of Earth radiation) or press Esc two times. The standard behavior is to not focus the ribbon when entering the program through Alt+Tab but to keep the focus where it was when leaving the program, i.e., the target segment.

A faster way to reproduce this, albeit without practical use, is to exit Studio with Alt+Tab and then immediately switch back to it with Alt+Tab (there's no productive use for just toggling between two programs, but this is a fast and foolproof way to reproduce the issue, which is not reproducible with other programs that follow the Windows GUI standard, which Studio does not). The Alt+Tab + Alt+Tab proof of concept will not manifest a problem if one first presses Alt+Tab, then grabs a cup of coffee, then presses Alt+Tab again. They need to be close to each other, but that's exactly how people working with the keyboard are bound to work.

Instead of completely reprogramming the ribbon or user interface code, it would be easy to add an event handler to the application that responds to the event of the application receiving focus and makes sure that the ribbon is not focused. Should be approximately 10 rows of code. Would help translators who use two hands on the keyboard instead of one on the mouse and one on the keyboard.

  • Hello Daniel. Based on your description, you may be not following the steps described. Make sure not to touch the mouse and do everything with the keyboard. Select the paragraph in Word with Ctrl+Shift+Arrow down and copy the text with Ctrl+C. Using the mouse will, by design, render the whole bug irrelevant.

    Whether you can reproduce the fault with these specific steps or not is equally irrelevant: a fool-proof way of forcing the incorrect behavior is to repeatedly Alt+Tab between Studio and any other program, assuming you can Alt+Tab at least twice per second. Even if the Alt+Tab exercise, per se, is meaningless, it proves a design flaw, as I have yet to encounter any other program that behaves incorrectly under those circumstances. The focus is never forced on the ribbon. In addition, SDL's support person, whose full name is Cristian, was able to reproduce the flaw with Alt+Tab, and I can reproduce the issue in multiple computers, which means the issue is not imaginary but real.

  • Thanks Mikko - I am not able to reproduce this so far (using Studio 2017 latest CU8). I did as you suggested: 1. In Studio, place the cursor in a segment so I can paste the text later. 2. Alt+Tab to Word. 3. Copy the paragraph in Word. 4. Alt+Tab back to Studio. When I arrive back in Studio, the cursor is still blinking in the segment I had put the cursor in in step 1. 5. I can now paste without further ado. Am I missing something? Thanks, Daniel

  • ...in the source segment... should be target segment.