Bug 147469 - Positioning of mouse on "Default Button" not working with some dialogs such as Paste Special in Calc (gtk3 and Windows)
Summary: Positioning of mouse on "Default Button" not working with some dialogs such a...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: x86-64 (AMD64) All
: low enhancement
Assignee: Caolán McNamara
URL:
Whiteboard: target:7.6.0
Keywords: difficultyBeginner, easyHack, skillCpp, topicCleanup
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2022-02-16 16:18 UTC by Buovjaga
Modified: 2023-03-20 19:54 UTC (History)
4 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 Buovjaga 2022-02-16 16:18:40 UTC
Spun off from bug 131467

Steps to Reproduce:
1.Set "Options"-"View"-"Mouse"-Positioning" to "Default button".
2.Copy some cells in Spreadsheet.
3.Move to other cell in sheet and from contextual menu choose "Paste Special"-"Paste Special..."

This works with gen and after the fix to bug 131467, with kf5.

It does not work with gtk3 or Windows.
Comment 1 Roman Kuznetsov 2022-11-08 20:53:33 UTC
Confirm in 7.3.5 with vcl:gtk3
Comment 2 Caolán McNamara 2022-11-09 10:49:44 UTC
I presume this is pointer warping and its not something that seems to work for me, even for kf5 or gen under X emulation with my wayland server. IMO this is a weird feature for an application to attempt to have and we'd be better off dropping it.
Comment 3 Heiko Tietze 2022-11-10 15:33:41 UTC
An argument against this inbuilt function is the fact that most OS/DE provide this a11y feature. But we should remove the UI access first to learn if users miss the functionality. 

It would be cui/uiconfig/ui/optviewpage.ui read at cui/source/options/optgdlg.cxx ( m_xMousePosLB).
Comment 4 V Stuart Foote 2022-11-11 15:29:07 UTC
Works for me on Windows builds in all rendering modes--Skia Vulkan, Skia raster, default GDI and GDI with Hardware acceleration.


Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d8856123f72d243b45fe52b7d3dbb87aa35ce0ba
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded


Where the three "modes" for Tools -> Options -> View  Mouse 'Positioning:' list box:

'No automatic positioning', 'Dialog center', 'Default button'

all function.

Following STR of bug 131467 with a selection of cells on a calc sheet, and pointer selecting another cell, context menu to select Paste special, context menu for Paste Special... dialog.

Each setting for Mouse Positioning does reasonable things to position the mouse pointer when set, e.g. no movement of mouse pointer from selected cell, or movement to dialog center, or movement onto the default 'OK' button of the dialog. 

=> WFM on Windows
Comment 5 Commit Notification 2023-03-20 19:43:59 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

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

tdf#147469 remove mouse "Positioning" from options page

It will be available in 7.6.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 6 Commit Notification 2023-03-20 19:54:02 UTC
Ilmari Lauhakangas committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/help/commit/7222dc792d578f9640d5d8760041569b29e7f0c1

tdf#147469 remove mouse "Positioning" from View options help