Bug 164819 - Range definition with mouse: first drag attempt misses cells, if the Shrink button was not used (gtk3)
Summary: Range definition with mouse: first drag attempt misses cells, if the Shrink b...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2025-01-23 11:48 UTC by Michael Otto
Modified: 2025-10-22 20:13 UTC (History)
1 user (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 Michael Otto 2025-01-23 11:48:22 UTC
PRECONDITION:
any Calc file opened, any cell selected
Insert > Sparklines: open Sparklines Properties
locate the cursor in Input range or Output range

PROBLEM DESCRIPTION:
select the Input range or Output range by click and drag in the Calc cells 
(the "Sparklines Properties: Input resp. Output range" window opens automatically which is not as expected as well)

drag with the mouse does not mark the dragged cells, the first move of the mouse is ignored, only after change a direction of the mouse movement, the cells keep marked

if the "Sparklines Properties: Input resp. Output range" window was opened manually with the [Shrink] button, the cell selection is fine

EXPECTED BEHAVIOUR:
if the [Shrink] button is not pressed, the cell selection shall mark those cells, that are dragged over

Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 2; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (de_DE.UTF-8); UI: en-US
Calc: threaded
Comment 1 Buovjaga 2025-10-22 20:13:14 UTC
This affects other dialogs offering range selection, such as Data - Define Range. Bibisected with that one with linux-64-6.3 to commit 4972b71961c1ab2143d82d9af0ac498063c63ff6
Related: tdf#126693 cannot put focus into combobox entry

It is just adding <property name="can_focus">True</property> to a combobox in sc/uiconfig/scalc/ui/definedatabaserangedialog.ui

Steps:

1. In Calc, Data - Define Range
2. Type some name and immediately click and drag in cells