Bug 164380 - Move slides in preview pane by drag-and-drop not possible in qt6-based vcl on Wayland
Summary: Move slides in preview pane by drag-and-drop not possible in qt6-based vcl on...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.8.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Michael Weghorn
URL:
Whiteboard: target:25.8.0 target:25.2.4
Keywords:
: 164534 166575 (view as bug list)
Depends on:
Blocks: Wayland Qt6
  Show dependency treegraph
 
Reported: 2024-12-19 13:09 UTC by robby.engelmann
Modified: 2025-05-14 20:07 UTC (History)
5 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 robby.engelmann 2024-12-19 13:09:18 UTC
Exactly as stated in the summary.

Moving slides when using the gtk3 VCL works as expected.


Version: 24.8.3.2 (X86_64) / LibreOffice Community
Build ID: 480(Build:2)
CPU threads: 20; OS: Linux 6.11; UI render: default; VCL: qt6 (gtk3)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Buovjaga 2024-12-19 13:45:19 UTC
Yeah, kf5 seems fine and thus we can't bibisect this as the repositories have not been built with kf6/qt6. Could be an implementation error.
Comment 2 Michael Weghorn 2024-12-19 19:26:43 UTC
Works for me with QT_QPA_PLATFORM=xcb, i.e. on X11/XWayland  (even though the drag cursor shows a "stop" sign), but not on native Wayland.

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 36276f606cd99561dd8449f41ba846866e75affa
CPU threads: 32; OS: Linux 6.11; UI render: default; VCL: qt6 (cairo+xcb)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 36276f606cd99561dd8449f41ba846866e75affa
CPU threads: 32; OS: Linux 6.11; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 3 Michael Weghorn 2025-01-09 12:31:45 UTC
*** Bug 164534 has been marked as a duplicate of this bug. ***
Comment 4 Michael Weghorn 2025-05-10 12:13:55 UTC
Pending fix (more details in the commit message):
https://gerrit.libreoffice.org/c/core/+/185136
Comment 5 Commit Notification 2025-05-10 15:33:27 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/6f066661936301b4bced4e3ed91c8331804cd0c5

tdf#164380 qt: No longer use vcl::X11DnDHelper, XInitialization

It will be available in 25.8.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 2025-05-10 15:33:29 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0e808d1d87d7294b6d6f35e6ec68803c42b5298a

tdf#164380 gtk: No longer use vcl::X11DnDHelper, XInitialization

It will be available in 25.8.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 Commit Notification 2025-05-10 15:33:32 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/90df46c20f9949edf6de52897b13148e7a299907

tdf#164380 vcl: Move X11DnDHelper to gen, drop return value

It will be available in 25.8.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 8 Commit Notification 2025-05-10 15:34:37 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/479dd32e10d43c881aad61ffe06e57f3c26c6770

tdf#164380 qt: Ensure at least one MIME type for drag'n'drop

It will be available in 25.8.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 9 Michael Weghorn 2025-05-10 15:39:46 UTC
Fixed in master now. Backport for 25.2 pending in Gerrit:
https://gerrit.libreoffice.org/c/core/+/185139
Comment 10 Commit Notification 2025-05-14 06:19:44 UTC
Michael Weghorn committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/27446a368d96b20ad92526082657ce6d3202bf22

tdf#164380 qt: Ensure at least one MIME type for drag'n'drop

It will be available in 25.2.4.

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 11 Michael Weghorn 2025-05-14 20:07:50 UTC
*** Bug 166575 has been marked as a duplicate of this bug. ***