Bug 152897 - Left arrow key press in a multiple selection Treeview should clear tree entry selections before selecting parent (Gtk3 is correct)
Summary: Left arrow key press in a multiple selection Treeview should clear tree entry...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-06 03:39 UTC by Jim Raykowski
Modified: 2023-02-20 03:19 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 Jim Raykowski 2023-01-06 03:39:49 UTC
For vcl plugins x11 (gen) and qt5, when the left arrow key is pressed in a multiple selection tree, all currently selected entries should clear and the parent entry should become the only selected entry. This is the behavior for Gtk3.

Steps to see this bug:

1) Open a new Impress Presentation file
2) Close the 'Select a Template' dialog
3) Open the Navigator (Ctrl + Alt + 4) or Menu > View > Sidebar or (Ctrl + F5) then click on the Navigator button in the Sidebar tab bar
4) Select 'Shape 1 (Title text 'Click to...')'
5) Press the Left arrow key

Results: Tree cursor focus is moved to the 'Slide 1' tree entry and the 'Slide 1' entry and 'Shape 1 (Title text 'Click to...')' entry are selected.

Expected results: Tree cursor focus is moved to the 'Slide 1' tree entry and only the 'Slide 1' entry is selected. This is the results when using Gtk3 vcl backend.

The fix for bug 128364 for Writer Navigator uses a work around to make this bug not appear when in the multiple selection Heading outline content navigation view.
Comment 1 raal 2023-02-19 09:03:16 UTC
confirm with Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 75a863ee7fea133ae6bcd010d1aac46815fa49e2
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: x11
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded