Created attachment 161448 [details] Insert Image inserts als files - not only images Don't know if UI is the right component. See the attached screenshot for the "problem": The control for forms is named "Image Control" - but you could select all files with this control in different systems since LO 5.0. This is the only control, which could directly load any document in a database or load only the path to the file in a database. The "File Selection" couldn't be connected to any datasource. You have to write macros for use this control. We shouldn't hide this feature, which is implemented in the Image Control. Shouldn't we rename it to "File Control". And shouldn't we write "Insert File" instead of "Insert Image" as title of the dialog?
Created attachment 166422 [details] Example file I don't see the problem on Linux (gtk3, kf5) or Windows. For testers: double-click the control (while not in Form - Design mode) Arch Linux 64-bit Version: 7.0.1.2 Build ID: 00(Build:2) CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: kf5 Locale: fi-FI (fi_FI.UTF-8); Käyttöliittymä: fi-FI =7.0.1-1 Calc: threaded
Hello Robert, Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ? You can install it alongside the standard version. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
If I open https://bugs.documentfoundation.org/attachment.cgi?id=166422 and set a doubleclick on the control I could go to "Filter" and the first I could choose is "all files (*.*)" If we call it "Image Control" (as it is called also in the daily build from 21-02-2021) and write in the title of the dialog "Insert Image" we are hiding a feature this control will support. Why should this feature be hidden?
(In reply to Buovjaga from comment #1) > Created attachment 166422 [details] > Example file > > I don't see the problem on Linux (gtk3, kf5) or Windows. > > For testers: double-click the control (while not in Form - Design mode) Ok, so I didn't understand that Robert had explicitly selected All files in the dialog. The default is that only images are shown.
Dear Robert Großkopf, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still the same: The control is called "Image control", but you could also could select other files. It would be better to show this possibility, because it is a good feature we hide at this moment. Tested with LO 7.4.5.1 on OpenSUSE 15.3 64bit rpm Linux.
I tried to insert an .fodt file with Insert - Image... - (All files), but then I get "Unknown image format". The same with an html file. I think there is a lot of work behind the scene to allow just images. Buovjaga?
Also, for the image control, I tried to insert a .cpp file - > not working. .ods file->not working. PDF, jpg, png files that are under image filter -> working
Created attachment 197807 [details] Open the database, macros enabled. Try to insert *.odt or set path to *.odt Have tried to insert *.odt-files into a database. No problem here. You couldn't see the inserted file, but you could show the content by macro. Only image-files and the first page of a pdf-file will be shown, but other files will also be saved and could also be seen by macro.
(In reply to BogdanB from comment #7) > I tried to insert an .fodt file with Insert - Image... - (All files), but > then I get "Unknown image format". The same with an html file. > > I think there is a lot of work behind the scene to allow just images. > Buovjaga? You have to choose "all files", not only image files in the dialog. Then it could be loaded but isn't shown in the control. Could be shown by macro.
Ok, nice feature in this case.
(In reply to BogdanB from comment #7) > I tried to insert an .fodt file with Insert - Image... - (All files), but > then I get "Unknown image format". The same with an html file. > > I think there is a lot of work behind the scene to allow just images. > Buovjaga? No, this is about changing the label. However, changing it was difficult when I tried it once, so I gave up. Feel free to try.