Bug 50428 - UI: Window switching on MacOS X with Lithuanian UI via shortcut (Cmd+`) makes problems
Summary: UI: Window switching on MacOS X with Lithuanian UI via shortcut (Cmd+`) makes...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
3.5.3 release
Hardware: Other macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 07:21 UTC by Vincas
Modified: 2012-06-25 02:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A screen shot (120.41 KB, image/png)
2012-05-29 00:30 UTC, Vincas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincas 2012-05-28 07:21:00 UTC
Problem description: I am having trouble while working with several windows of LibreOffice on Mac OS X (version 10.6.8). When I am trying to switch between two openned documents (Command+`) I get a new symbol ("`") entered in the place where my cursor was placed. If I select some part of the text it gets edited and a symbol "`" is being inserted.
I understand that this might be a shortcut problem, but I've checked hotkeys preferences and I even did not find this key combination.

Steps to reproduce:
1. Open two different documents, no matter what content (Calc or Writer);
2. Try to switch between windows with Command+` keys;

Current behavior: Window swiching works fine, but when I go back to the window, which I switched from, I see a new symbol added or the whole selected text dissapears.

Expected behavior: I expect window switching without editing or adding additional text.

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20100101 Firefox/12.0
Comment 1 Vincas 2012-05-29 00:30:04 UTC
Created attachment 62195 [details]
A screen shot

This is an actual screenshot of how it changes a portion of text with a new symbol "`".
Comment 2 Roman Eisele 2012-06-19 05:41:01 UTC
Improved settings according to original description (not only Writer, but general LibreOffice or UI problem; not on every platform, but observed on MacOS X).
Comment 3 Roman Eisele 2012-06-19 06:11:17 UTC
Thank you very much for your bug report!

I can not exactly confirm this problem (maybe because I can't set the UI language of my MacOS to Lithuanian, which may be needed), but give some points which may help with clarification.

(a) This seems to be a special issue with the Lithuanian UI of LibreOffice and the Lithuanian keyboard layout (therefore, it is necessary to set the MacOS keyboard layout to Lithuanian for testing, and to install the Lithuanian langpack for LibreOffice and to set the LibreOffice UI language to Lithuanian).

(b) On the Lithuanian keyboard layout, the '<' key, which is used for the general MacOS X shortcut Cmd+< for exchanging windows, is labelled '`', so the Cmd+< shortcut becomes Cmd+` in Lithuanian.

(c) When I follow the Steps to reproduce given by Vincas and using LibreOffice 3.5.4 on Mac OS X 10.6.8, German UI, I get a similar, but slightly different result (maybe because I can't set the UI language of my MacOS X to Lithuanian):

1) Open two Calc or Writer Documents.
2) Press Cmd+`.
>  A '`' symbol with selection appears in the place of the cursor; if any text was selected, the selected text is replaced by the '`'
3) Press Cmd+` again
>  This time, the windows are exchanged as expected ...

So, even if I can't confirm exactly the original description, it seems clear that there is a problem with the Cmd+` shortcut. This is related to the Lithuanian keyboard and UI; with, e.g., the German UI and keyboard, which uses Cmd+< for exchanging windows, everything works fine.


@Vincas:
1) Please verify if my observations and ideas are correct -- i.e., are you really using the Lithuanian UI for LibreOffice, or am I wrong?
2) Which MacOS X language do you use: also Lithuanian, or somethig different?
Comment 4 Vincas 2012-06-20 03:54:49 UTC
(In reply to comment #3)
> Thank you very much for your bug report!
> 
> I can not exactly confirm this problem (maybe because I can't set the UI
> language of my MacOS to Lithuanian, which may be needed), but give some points
> which may help with clarification.
> 
> (a) This seems to be a special issue with the Lithuanian UI of LibreOffice and
> the Lithuanian keyboard layout (therefore, it is necessary to set the MacOS
> keyboard layout to Lithuanian for testing, and to install the Lithuanian
> langpack for LibreOffice and to set the LibreOffice UI language to Lithuanian).
> 
> (b) On the Lithuanian keyboard layout, the '<' key, which is used for the
> general MacOS X shortcut Cmd+< for exchanging windows, is labelled '`', so the
> Cmd+< shortcut becomes Cmd+` in Lithuanian.
> 
> (c) When I follow the Steps to reproduce given by Vincas and using LibreOffice
> 3.5.4 on Mac OS X 10.6.8, German UI, I get a similar, but slightly different
> result (maybe because I can't set the UI language of my MacOS X to Lithuanian):
> 
> 1) Open two Calc or Writer Documents.
> 2) Press Cmd+`.
> >  A '`' symbol with selection appears in the place of the cursor; if any text was selected, the selected text is replaced by the '`'
> 3) Press Cmd+` again
> >  This time, the windows are exchanged as expected ...
> 
> So, even if I can't confirm exactly the original description, it seems clear
> that there is a problem with the Cmd+` shortcut. This is related to the
> Lithuanian keyboard and UI; with, e.g., the German UI and keyboard, which uses
> Cmd+< for exchanging windows, everything works fine.
> 
> 
> @Vincas:
> 1) Please verify if my observations and ideas are correct -- i.e., are you
> really using the Lithuanian UI for LibreOffice, or am I wrong?
> 2) Which MacOS X language do you use: also Lithuanian, or somethig different?

Hi Roman,

I am using a Lithuanian UI for LibreOffice and my Mac OS X UI is in English. I found a workaround for this problem - I've changed window switching hot keys association.

B.R.
Vincas
Comment 5 Roman Eisele 2012-06-22 10:18:23 UTC
(In reply to comment #4)
> I am using a Lithuanian UI for LibreOffice and my Mac OS X UI is in English. I
> found a workaround for this problem - I've changed window switching hot keys
> association.

Hello Vincas,

I'm glad that you have found a workaroudn for this problem. However, please answer a last question (this may allow me to close this bug): Which MacOS keyboard layout do you use when you work with LibreOffice, (US) English or Lithuanian? (To check, please go to "System Preferences > Language & Text > Input Sources" and check the topmost selected items in the list box.)

This would be very helpful, thank you in advance!
Comment 6 Vincas 2012-06-24 12:40:15 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I am using a Lithuanian UI for LibreOffice and my Mac OS X UI is in English. I
> > found a workaround for this problem - I've changed window switching hot keys
> > association.
> 
> Hello Vincas,
> 
> I'm glad that you have found a workaroudn for this problem. However, please
> answer a last question (this may allow me to close this bug): Which MacOS
> keyboard layout do you use when you work with LibreOffice, (US) English or
> Lithuanian? (To check, please go to "System Preferences > Language & Text >
> Input Sources" and check the topmost selected items in the list box.)
> 
> This would be very helpful, thank you in advance!

I use Lithuanian keyboard layout.
Comment 7 Roman Eisele 2012-06-25 02:01:19 UTC
(In reply to comment #6)
> I use Lithuanian keyboard layout.

@Vincas:
Thank you very much for your answer!

Given this last missing bit of information, I can reproduce the issue exactly:
* MacOS X 10.6.8
* System UI language: (US) English
* (software) keyboard layout: Lithuanian
* LibreOffice UI language Lithuanian.

If I use these settings on my machine (with MacOS X 10.6.8, too), I can confirm that pressing Command+` (the leftmost key in the bottom line of keys on the Lithuanian keyboard, directly before (left from) Y/Z X C V ... keys) givs the results mentioned by Vincas in his original description.

However, this seems not to be a (real) bug, because if I try the same with other applications, especially in the Finder or in TextEdit (both by Apple themselves), Command+` does not switch windows at all.

The right way to switch windows on MacOS X using English as default User Interface language together with an Lithuanian keyboard layout and default "Keyboard Shortcuts" settings seems to press Command+Shift+, because on the Lithuanian keyboard you enter "<" via pressing Shift+, (and ">" via Shift+.). This shortcut, i.e. Command+Shift+, switches windows correctly in all applications I testes, and also in LibreOffice.

Given the fact that the correct default shortcut for switching windows with these MacOS X settings also works in LibreOffice I think we can close this bug report.

And if someone does not like the default keyboard shortcut, which is a bit difficult to enter with the Lithuanian keyboard (it involves three keys: Command+Shift+,), one can alway change the window switching hot keys association, as done by Vincas (comment #4). To do this, open Apple's System Preferences, select "Keyboard", select the tab "Keyboard Shortcuts", select in the left list "Keyboard and Text Input", and then change at the right the shortcut associated to "Move focus to next window in application".