Bug 79160 - Insert image dialog does not let you choose a frame style using the Windows OS file dialog
Summary: Insert image dialog does not let you choose a frame style using the Windows O...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other Windows (All)
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 102050 (view as bug list)
Depends on:
Blocks: File-Dialog Writer-Images Writer-Styles-Frame
  Show dependency treegraph
 
Reported: 2014-05-24 00:17 UTC by Gilvan Vilarim
Modified: 2019-11-28 20:23 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:


Attachments
Shows drop-down in the insert dialog as described by reporter (119.03 KB, image/png)
2017-10-23 13:39 UTC, Regina Henschel
Details
Document with embedded macro to examine the file picker dialog (10.86 KB, application/vnd.oasis.opendocument.text)
2017-10-24 13:16 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gilvan Vilarim 2014-05-24 00:17:33 UTC
1 - Create a blank text document, or open an existing one.

2 - Go to File > Insert > New Image > From File

3 - Choose an image but do not click Open yet.

4 - Choose a different frame style in the "style" combo box (the default frame style is Graphics).

5 - Now click Open.

Expect behavior: the image is inserted with the chosen frame style

Actual behavior: the image is inserted with the Graphics frame style.

It seems that the combo box is useless... Writer always decides that the frame style is "Graphics".


The actual behavior is the same in LibreOffice 4.2.4.

Best regards,
Gilvan.
Comment 1 pierre-yves samyn 2014-05-25 08:45:32 UTC
Hi

The current behavior is that expected. However I can confirm that your proposal would be an improvement. So I change the status to New.

Maybe you'll also interested in this other bug 58890

Regards
Pierre-Yves
Comment 2 Gilvan Vilarim 2014-05-26 20:33:02 UTC
Maybe the bug has something to do with: 
https://bugs.freedesktop.org/show_bug.cgi?id=79149

[]s
Comment 3 Cor Nouws 2014-07-05 17:27:04 UTC Comment hidden (obsolete)
Comment 4 Owen Genat (retired) 2014-09-22 12:32:12 UTC Comment hidden (obsolete)
Comment 5 Cor Nouws 2014-09-22 13:50:41 UTC Comment hidden (obsolete)
Comment 6 Gilvan Vilarim 2014-09-22 14:51:18 UTC
No, the problem is still there... If you check LibreOffice dialog boxes (Tools - Options - Libreoffice - General), the problem is solved, but if you use Windows dialogs (the default), the problem persists...

Tested on Window 8.1 with LibreOffice 4.3.0.4.

Best regards,
Gilvan.
Comment 7 Cor Nouws 2014-09-22 18:57:14 UTC
(In reply to comment #6)
> No, the problem is still there... If you check LibreOffice dialog boxes
> (Tools - Options - Libreoffice - General), the problem is solved, but if you
> use Windows dialogs (the default), the problem persists...
> 
> Tested on Window 8.1 with LibreOffice 4.3.0.4.

A pity.
The non-LibreOffice dialog Ubuntu does handle it fine.
So Windows / Mac only at the moment?
Comment 8 Owen Genat (retired) 2014-09-23 13:34:30 UTC Comment hidden (obsolete)
Comment 9 Joel Madero 2014-11-06 22:48:59 UTC Comment hidden (obsolete)
Comment 10 Cor Nouws 2014-11-07 13:08:03 UTC Comment hidden (obsolete)
Comment 11 Buovjaga 2014-11-16 13:24:12 UTC
(In reply to Gilvan Vilarim from comment #6)
> No, the problem is still there... If you check LibreOffice dialog boxes
> (Tools - Options - Libreoffice - General), the problem is solved, but if you
> use Windows dialogs (the default), the problem persists...

Confirmed that it works on Ubuntu even without LibO dialogs, but on Win it selects the Graphics style.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08

Ubuntu 14.10 64-bit Version: 4.4.0.0.alpha2+
Build ID: 3cf226622a3d8c09d655034dbcc81695f1662b87
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2014-11-15_23:24:22
Comment 12 pierre-yves samyn 2014-11-16 14:13:11 UTC
Hi

On windows 7/64 & Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@42, Branch:master, Time: 2014-11-12_00:19:18

Ok with LibO dialogs (applies the selected style)
Ko with windows dialogus (applies Graphics style)

Regards
Pierre-Yves
Comment 13 Matthew Francis 2015-01-25 15:13:11 UTC
Could not reproduce on OSX 10.10 / LO 4.4.0.2
At this point it looks like this is Windows only.

Setting:
Platform -> Windows (All)
Whiteboard -> notBibisectable
Comment 14 Robinson Tryon (qubit) 2015-12-10 01:26:25 UTC Comment hidden (obsolete)
Comment 15 Gilvan Vilarim 2016-04-29 20:39:53 UTC
Hello guys. This bug persists. Tested on Windows 10 with LibreOffice 5.1 Brazilian portuguese.

Best regards,
Gilvan.
Comment 16 Xisco Faulí 2016-09-13 10:56:02 UTC Comment hidden (obsolete)
Comment 17 Cor Nouws 2016-09-13 11:38:44 UTC
*** Bug 102050 has been marked as a duplicate of this bug. ***
Comment 18 Yousuf Philips (jay) (retired) 2017-10-23 13:22:20 UTC Comment hidden (obsolete)
Comment 19 Regina Henschel 2017-10-23 13:39:05 UTC
Created attachment 137231 [details]
Shows drop-down in the insert dialog as described by reporter
Comment 20 Regina Henschel 2017-10-23 13:40:40 UTC
I strongly disagree. This issue has nothing to do with toolbars or paragraph styles; but with the style drop-down-list in the Windows Insert Image dialog, see attachment
Comment 21 Yousuf Philips (jay) (retired) 2017-10-23 19:32:04 UTC
(In reply to Regina Henschel from comment #20)
> I strongly disagree. This issue has nothing to do with toolbars or paragraph
> styles; but with the style drop-down-list in the Windows Insert Image
> dialog, see attachment

Thanks for the insight.

Tested 3.3, 4.0, 4.1, 4.2, 4.4 and 6.0 alpha 1 and in none of these versions did it work with Windows' OS dialog, so not sure how this is a regression.

In 3.3 and 6.0 alpha 1, if using LO's file dialogs, it works fine.
Comment 22 Regina Henschel 2017-10-24 13:16:26 UTC
Created attachment 137250 [details]
Document with embedded macro to examine the file picker dialog

You see the same problem, if you use the file picker inside a macro.

Open attached document and run the embedded macro. It shows the same dialog as used when inserting an image in writer.

If you use LibreOffice own dialog you should see a label "Your Styles". Select one of the items in that list. Select a file and open it. A message box shows which information can be got from the dialog. You should see the selected style and the path to the selected file.

Set LibreOffice back to use system file dialogs. If you are on Window you can see, that the label is not altered, but has the predefined value "Styles" and the message box has an empty string for the selected style.

So this is an issue in the use of the Windows file open dialog by LibreOffice.
Comment 23 QA Administrators 2018-10-25 03:02:32 UTC Comment hidden (obsolete)
Comment 24 Gilvan Vilarim 2018-10-25 21:45:42 UTC
Hello guys. This bug persists. Tested on Windows 10 with LibreOffice 6.0 Brazilian portuguese.

Versão: 6.0.6.2 (x64)
ID de compilação: 0c292870b25a325b5ed35f6b45599d2ea4458e77
Threads da CPU:4; SO:Windows 10.0; Realizador da interface: GL; 
Local: pt-BR (pt_BR); Calc: CL

Best regards,
Gilvan.
Comment 25 Julien Nabet 2019-09-10 08:39:02 UTC
On Win10 with LO 6.3.0.4, I don't reproduce this.

Any update with recent LO version?
Comment 26 Regina Henschel 2019-09-10 12:05:21 UTC
The chosen frame style is applied in Version: 6.4.0.0.alpha0+ (x64)
Build ID: fd67c89e52441387dffab1c788007271e717571b
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-03_06:15:20
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 27 Buovjaga 2019-09-12 18:52:59 UTC
As Regina was originally able to repro, let's close