Bug 137992 - Drag and drop fails to place an image into Draw when LibreOffice is set to run as Administrator in Microsoft Windows
Summary: Drag and drop fails to place an image into Draw when LibreOffice is set to ru...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-04 21:22 UTC by xordevoreaux
Modified: 2021-07-26 13:48 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 xordevoreaux 2020-11-04 21:22:01 UTC
Description:
I usually can just drag any image (png, whatever) into an open page of LO Draw, but I'm getting a "do not enter" symbol regardless which image I try, and they won't drag and drop into the document

Steps to Reproduce:
1. Start a new LO Draw document
2. Attempt to drag an image onto a slide


Actual Results:
Unable to drag and drop

Expected Results:
Image should be placed into document.


Reproducible: Always


User Profile Reset: No



Additional Info:
This bug occurred in Windows. Please test using Windows.

Version: 7.1.0.0.alpha1+ (x64)
Build ID: eeed9103350d886f5913aed9b525d863a421dffa
CPU threads: 8; OS: Windows 10.0 Build 20246; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 xordevoreaux 2020-11-04 22:17:41 UTC
Also broken in the second daily build released today:

Version: 7.1.0.0.alpha1+ (x64)
Build ID: 525623ecd70ec66c4c06ac1c3369d5b24a2890be
CPU threads: 8; OS: Windows 10.0 Build 20246; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 xordevoreaux 2020-11-06 19:50:40 UTC
I can copy (control-C) an image displayed in a Microsoft Windows explorer window and paste it (control-V) into Draw.

But we still have somehow lost the ability to drag and drop.
Comment 3 Kevin Suo 2020-11-07 02:51:00 UTC Comment hidden (obsolete)
Comment 4 Kevin Suo 2020-11-07 02:57:09 UTC Comment hidden (obsolete)
Comment 5 xordevoreaux 2020-11-23 16:55:36 UTC
Still a problem under 7.2.0.0 alpha 0

Version: 7.2.0.0.alpha0+ (x64)
Build ID: f313e27fb7f2d42247407e26e16f264e30f87ca5
CPU threads: 8; OS: Windows 10.0 Build 20262; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 6 pavlog 2020-11-27 20:47:45 UTC
Thank you for reporting the bug.
Unfortunately without clear steps to reproduce it, we cannot track down the origin of the problem. Drag and drop is working for me in

Version: 7.1.0.0.alpha1+ (x64)
Build ID: 91c5642bf0ee48ff91181d779c3a84c768f340df
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Please provide a clearer set of step-by-step instructions on how to reproduce the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided
Comment 7 xordevoreaux 2020-11-27 21:17:37 UTC
1. Launch LibreOffice from Microsoft Windows
2. Open the LibreOffice Draw application
3. Open a Microsoft File Explorer Window
4. On the Microsoft File Explorer Window, navigate to a picture, such as a PNG
5. Attempt to drag the picture from the File Explorer Window onto LO Draw


Result:
While attempting to transfer image onto a Draw slide, a no-entry icon appears, and the transfer fails.
Comment 8 xordevoreaux 2020-11-27 21:36:36 UTC
Still happening in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: a470932949c3e8ee28aaf77a71a90a957bbfe1ce
CPU threads: 8; OS: Windows 10.0 Build 20262; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 9 xordevoreaux 2020-11-27 21:38:06 UTC
And in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: a470932949c3e8ee28aaf77a71a90a957bbfe1ce
CPU threads: 8; OS: Windows 10.0 Build 20262; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 10 pavlog 2020-11-28 21:17:58 UTC
Still can't reproduce in

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 32fdb8eb3506bc8dcf013cc713fe8e5debceb940
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 11 xordevoreaux 2020-11-29 12:19:22 UTC
It works here:

Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 8; OS: Windows 10.0 Build 20262; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

But not in 7.2.0.0.

I stand by my assertion. If need be, I'll find a way to make a video of it. 

I am on a development ring of Microsoft Windows, but that development ring allows me to drag and drop in 7.0.3.1, but not 7.2.0.0.

This problem will more than likely manifest itself for everyone once the released version of Windows catches up to the development version I'm using, and I can't believe that I'm the only one experiencing this problem now.
Comment 12 xordevoreaux 2020-11-29 12:25:15 UTC
Figured it out.

You cannot drag and drop when LO runs as administrator. I turned off run as administrator in 

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 32fdb8eb3506bc8dcf013cc713fe8e5debceb940
CPU threads: 8; OS: Windows 10.0 Build 20262; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

and the drag-and-drop worked.

I'm not sure what I lose by not having LO run as administrator, but I think this detail needs to be documented somewhere.

Do I mark this bug as works for me, and create a new one specifying that drag and drop fails when LO runs in administrator mode, or do we keep with this one?
Comment 13 pavlog 2020-11-29 12:40:53 UTC
(In reply to mwtjunkmail from comment #12)
> Figured it out.
> 
> You cannot drag and drop when LO runs as administrator. 

That's the point. Now I can repro it too running as administrator in

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 32fdb8eb3506bc8dcf013cc713fe8e5debceb940
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

It's still possible to insert the png image by Insert - Image.

> Do I mark this bug as works for me, and create a new one specifying that
> drag and drop fails when LO runs in administrator mode, or do we keep with
> this one?

I believe you can just edit this report.
Comment 14 xordevoreaux 2021-07-26 13:41:53 UTC
Drag-and-drop while running LO in administrator mode in Windows is still a problem in:

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 2a151d1d5bc055d5e0011460b6ec42ea9f34f880
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 15 xordevoreaux 2021-07-26 13:48:07 UTC
I'm closing this bug because drag-and-drop while in admin mode in Paint.net and Inkscape 1.1 isn't working either, so it's not LO's problem, it's a Windows restriction.