Issue 97743 - Floating toolbar causes Calc windows not to receive focus when cycling via keyboard shortcut.
Summary: Floating toolbar causes Calc windows not to receive focus when cycling via ke...
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: ui (show other issues)
Version: OOO300m9
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2009-01-04 09:05 UTC by futnuh
Modified: 2013-01-29 21:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description futnuh 2009-01-04 09:05:15 UTC
Summary

On OSX, the command-tilde keyboard shortcut cycles through windows of the
current application.  The switched-to window should receive the focus.  With
Calc, it doesn't.  (Note that OO Draw windows correctly receive the focus.)

To Replicate:

1) Start OO.
2) File | New | Spreadsheet
3) File | New | Spreadsheet
4) File | New | Text Document
5) command-tilde to cycle through the three open windows.  Note how the Calc
spreadsheets don't receive focus on switch (while the Draw window does).
Comment 1 futnuh 2009-01-04 09:23:39 UTC
I have just discovered that an extra step needs to be inserted below.  Prior to
step 5, you need to create a floating toolbar (e.g., the "font color" toolbar).
 It is the presence of the floating toolbar that prevents Calc windows from
receiving focus when cycling via the keyboard short-cut (again, Draw handles
this okay).
Comment 2 dridgway 2009-01-06 05:17:46 UTC
Confirmed as described. Also, Cmd-` doesn't switch away from Calc windows,
regardless of floating toolbar, though it will switch to a Calc window. 
Comment 3 dmharvey 2009-01-18 21:28:51 UTC
It looks like cmd-tilde is bound to some command that toggles between "display
formula" and "display value". To replicate:

1) create a new spreadsheet
2) enter a formula e.g. "=42+42" into a cell
3) hit cmd-tilde

Instead of cycling windows, the cell with the formula switches between "84" and
"=42+42".

In my opinion this is not a sensible key binding on OSX.

I have no idea how to change the binding... tools/customize didn't help me.
Comment 4 dmharvey 2009-01-18 21:34:42 UTC
Ah. There is a difference between cmd-` and cmd-~, i.e. whether the shift key is
held down. The current behaviour is:

cmd-`: formula/value toggle
cmd-~: window cycling

Maybe these should be switched around?