Bug 140833 - Double click on column separator in Calc on Wayland moves window to background
Summary: Double click on column separator in Calc on Wayland moves window to background
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All All
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:7.2.0 target:7.1.2 target:7.0.6
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-05 20:59 UTC by Jan Vlug
Modified: 2021-04-27 19:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Vlug 2021-03-05 20:59:56 UTC
Description:
When I double click on a column separator in Calc at the top of the sheet to make the column width fit the content, the whole Calc application is moved to behind an other window open at the same screen on Fedora GNOME Wayland 125% scaling.

Steps to Reproduce:
1. Double click on the column separator between the letters at the top of a sheet.

Actual Results:
The window moves away behind another application.

Expected Results:
The column should have been resized to fit the column content width.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Fedora 33 Linux with a GNOME on Wayland desktop.
Comment 1 Roman Kuznetsov 2021-03-06 10:02:36 UTC
Caolan, if I remember right, you use Fedora with Wayland, can you check the problem. Thank you
Comment 2 Caolán McNamara 2021-03-06 19:50:56 UTC
I can confirm that it happens. Not always, but if I hammer away clicking that position then it will send the click to the background window eventually
Comment 3 Caolán McNamara 2021-03-06 20:21:39 UTC
I find I have to put my machine under some considerable load to get it to happen (touch vcl/inc/window.h && make vcl.build)
Comment 4 Caolán McNamara 2021-03-06 21:33:49 UTC
well, this is very odd and I don't quite know why its happening, but we could tweak this to show the help popover after the double-click time has expired and then the problem doesn't seem to arise
Comment 5 Caolán McNamara 2021-03-06 21:37:08 UTC
https://gerrit.libreoffice.org/c/core/+/112104
Comment 6 Commit Notification 2021-03-07 16:34:35 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/e3c25c2425781a3414d8014244eac6ae3a82ba21

tdf#140833 show ScHeaderControl help tip after double click time has expired

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Caolán McNamara 2021-03-07 16:42:37 UTC
done in master, backports to 7-1 and 7-0 in gerrit
Comment 8 Commit Notification 2021-03-08 21:36:46 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-1":

https://git.libreoffice.org/core/commit/f410d6826e86d55314dfbd4bcf6b0e78ef0ef2a2

tdf#140833 show ScHeaderControl help tip after double click time has expired

It will be available in 7.1.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Commit Notification 2021-03-09 03:03:08 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-0":

https://git.libreoffice.org/core/commit/496c1cda4d52b3e37bfc0d5bb162a9fee00794b3

tdf#140833 show ScHeaderControl help tip after double click time has expired

It will be available in 7.0.6.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.