Bug 162119 - EDITING: Navigator dragmode stays enabled after double click
Summary: EDITING: Navigator dragmode stays enabled after double click
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2024-07-20 21:07 UTC by Vincent Bamps
Modified: 2024-09-12 06:34 UTC (History)
3 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 Vincent Bamps 2024-07-20 21:07:01 UTC
When double clicking an a heading in the Navigator user is then in drag mode to reorganise the headings.  But the issue is that de dragmode stays enabled.
Every click on the heading and then moving the cursor will move de heading.
It isn't possible to just click to navigate to the heading in the document as a click and moving the cursor will move the heading.

Shouldn't the default behavior be that after a double click in the navigator and dragging the heading the drag mode goes back to disabled again making a single click jump the the heading in the documment.

How to reproduce:
1. double click an a heading in the writer navigator
2. drag a heading to rearrange it in the tree view
3. click on another header
4. move your cursor
5. heading in the navigator is dragged.
Comment 1 Dieter 2024-08-14 10:10:31 UTC
Vincent, thank you for reporting the bug. But I can't see a drag-mode. Is it a special option, I have to enable?

Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL threaded


Jim, you're the expert for the navigator. Can you confirm the problem?
Comment 2 Jim Raykowski 2024-08-15 06:34:53 UTC
Hi Vincent,

I'm guessing your are using VLC: gtk3 and X11 display protocol.

Menu > Help > About LibreOffice will show information like this:  

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 38ce16a9519ad7c612b782d6f645c7b8f3fa353c
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

You can check what display protocol is being used by opening a terminal and entering:

echo $XDG_SESSION_TYPE

Mine shows:
wayland

When using wayland, I *do not* repro the unwanted single click drag behavior you have described. When using x11 I *do* repro the unwanted single click drag behavior you have described.
Comment 3 Vincent Bamps 2024-08-18 17:44:42 UTC
Hello,

Here is my LibreOffice info:
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-BE (en_US.UTF-8); UI: en-US
Calc: threaded

Indeed I'm using VCL: gtk3.
How can I avoid this issue ?
Many Thanks !
Comment 4 QA Administrators 2024-08-19 03:15:07 UTC Comment hidden (obsolete)
Comment 5 Jim Raykowski 2024-08-19 06:18:51 UTC
(In reply to Vincent Bamps from comment #3)
> Hello,
> 
> Here is my LibreOffice info:
> Version: 24.2.5.2 (X86_64) / LibreOffice Community
> Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
> CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
> Locale: fr-BE (en_US.UTF-8); UI: en-US
> Calc: threaded
> 
> Indeed I'm using VCL: gtk3.
> How can I avoid this issue ?
> Many Thanks !

You could try searching the web for 'How to switch between Xorg and Wayland in linux'. It can be done in Ubuntu at the login screen.

Searching for 'Drag and drop issue gnome' gives some results that explain why it doesn't work with Xorg but works with Wayland. I don't think this is something that can be fixed internally in the LibreOffice code but I'm not an expert in gtk doings.
Comment 6 Buovjaga 2024-09-12 06:34:36 UTC
Indeed, GTK is now focusing on Wayland, so their devs will not fix such issues. Wayland is production-ready these days anyway: https://wearewaylandnow.com/