Bug 128537 - Fatal Error with accidental CMD + ² key combination
Summary: Fatal Error with accidental CMD + ² key combination
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.2.2 release
Hardware: All macOS (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shortcuts-Accelerators
  Show dependency treegraph
 
Reported: 2019-11-01 16:02 UTC by glucose47
Modified: 2023-03-19 08:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Replication (409.79 KB, image/png)
2019-11-07 21:28 UTC, eisa01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description glucose47 2019-11-01 16:02:46 UTC
Description:
I get a fatal error "Caught Unknown Exception: Aborting!" when accidentally pressing CMD and ² keys.

More explanation: I'm using a classic PC keyboard with ISO layout. "²" key is just above the tab key. I'm running macOS. Many times I want to use the CMD/Win + TAB key combination to switch to another app. Sometimes I press ² instead of TAB. When doing this while using LibreOffice (tried only in Writer and Impress, not other), it results in an instant fatal error. After that, document recovery works as expected.

Steps to Reproduce:
1.Open LibreOffice (any document or just the launcher
2.Push CMD/Win key in combination with "²" key (situated just above the tab key on a ISO layout keybard)

Actual Results:
"Fatal error - Caught Unknown Exception: Aborting!" then the app closes itself.

Expected Results:
Nothing I guess


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.3.2.2
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
Threads CPU : 8; OS : Mac OS X 10.14.6; UI Render : par défaut; VCL: osx; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded
Comment 1 eisa01 2019-11-03 00:08:54 UTC
I can confirm this

To repro set up a French->French PC keyboard that has the ² sign above the tab-key

Also crashes in Calc, so seems to be independent of component

Setting priority to critical due to crash, but not affecting too many people so still medium importance?

Version: 6.4.0.0.alpha1+
Build ID: 80109586e6cb6d3e2e0a53a9079c3125ec9b8368
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 2 Xisco Faulí 2019-11-05 11:10:19 UTC
I changed the keyboard layout to French - Numerical and I can't reproduce the crash in

Version: 6.4.0.0.alpha0+
Build ID: 66e45a1ae861d50edf65fed9e39c9c9d5b15e0ac
CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 3 Xisco Faulí 2019-11-05 11:11:06 UTC
@Julien, do you reproduce this on Linux ? I believe you have a french keyboard
Comment 4 Alex Thurgood 2019-11-06 07:04:53 UTC
Unfortunately, I don't have this key visible either on my AZERTY Apple wifi keyboard or on my MBPro, nor does it appear to be available via the Alt keys (with/without Shift).
Comment 5 Alex Thurgood 2019-11-06 07:14:06 UTC
If I set the system keyboard to Français-PC instead of Français, then I can produce the sup-2 character

Testing with 
Version: 6.4.0.0.alpha1+
Build ID: 2af494822da31ccadfc96f59d61493cae63d60d7
CPU threads: 4; OS: Mac OS X 10.15.1; UI render: default; VCL: osx; 
Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US
Calc: threaded

Pressing Cmd + ² keys together doesn't give a crash in Writer, nothing happens (no screen output either).

Pressing Ctrl + 2 keys doesn't produce any result.

Not sure how to reproduce this with my setup.
Comment 6 Alex Thurgood 2019-11-06 07:17:06 UTC
It won't affect anyone using an AZERTY Apple wifi keyboard with Français as their defaults, which is probably a majority of French users.
Comment 7 Alex Thurgood 2019-11-06 07:21:34 UTC
No repro either for me with

Version: 6.3.1.2
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
Threads CPU : 4; OS : Mac OS X 10.15.1; UI Render : par défaut; VCL: osx; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded
Comment 8 Julien Nabet 2019-11-06 20:50:32 UTC
(In reply to Xisco Faulí from comment #3)
> @Julien, do you reproduce this on Linux ? I believe you have a french
> keyboard

On pc Debian x86-64 with master sources updated today, I don't reproduce this with gen or gtk3 renderings.
(I didn't know this feature to switch from an app to another, very useful! :-) )
For each rendering, I tested with 1 and 2 LO apps opened.
Comment 9 eisa01 2019-11-07 21:28:13 UTC
Created attachment 155619 [details]
Replication

I have uploaded a screenshot of how I replicate it.

I press the cmd and superscript 2 key and get the crash

I'm on a 2015 MBP if the physical keyboard layout matter

Version: 6.4.0.0.alpha1+
Build ID: 25c390e17a7f1c018b5eed1ef7dfd568b76f4a84
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 10 Julien Nabet 2019-11-09 12:02:08 UTC
I don't have a mac anymore so can't help here.
-> uncc myself.
Comment 11 QA Administrators 2022-02-06 03:43:58 UTC Comment hidden (obsolete)
Comment 12 eisa01 2023-03-19 08:43:48 UTC
I can no longer replicate

Version: 7.5.1.2 (AARCH64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 10; OS: Mac OS X 13.2.1; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded