Bug 46479 - UI - FILESAVE WIN file dialog name field empty on Windows XP with certain settings
Summary: UI - FILESAVE WIN file dialog name field empty on Windows XP with certain set...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: BSA NeedsWindowsXP
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-22 13:32 UTC by sahumani
Modified: 2016-05-27 07:36 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
informative image to my last post (34.50 KB, image/jpeg)
2012-06-28 03:02 UTC, sahumani
Details
captured behaviour on XP Professional and LibO 3.5.4 Slovak (2.23 MB, application/x-shockwave-flash)
2012-06-28 05:00 UTC, sahumani
Details
More detailed info. (171.27 KB, image/jpeg)
2012-06-29 02:05 UTC, sahumani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sahumani 2012-02-22 13:32:21 UTC
Problem description: 
When saving to ODT a modified document from any other format (DOC or RTF being most often with me) the Save As dialog doesn't pre-fill the 'File name' field with the original DOC filename leaving it empty, but only if no other ODT documents being already in the destination folder present. If there is at least one other ODT document, the filename is pre-filled.

This behaviour is the same with Spreadsheets (tested with XLS to ODS) so I believe all other modules behave the same way.

Observerd in OpenOffice 3.2 as well, so this is quite old.

Steps to reproduce:
1. Create folder, put 2 RTF documents into it with any content named Test1.rtf and Test2.rtf....
2. Open Test1.rtf, make some changes, save, choose save as ODT
3. Save As dialog's File name filed will be empty.
4. Fill in text Test1 into the File name filed and save the document. Test1.odt will be created.
5. Open the Test2.rtf, make some changes, save, choose as ODT
6. Save As dialog's File name filed will be pre-filled with text Test2 now

Current behavior:

Expected behavior:
Save As dialog's File name filed should be pre-filled with the document's name even if the destination folder doesn't contain any other ODT documents

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Windows NT 5.1; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Also true on Windows 7 x64 Professional or Ultimate (I believe any other Windows based OS suffers from this, possibly all OSs)
Comment 1 sasha.libreoffice 2012-05-23 05:46:44 UTC
Thanks for bugreport
Not reproduced in 3.5.3 on Windows 7 and Fedora. May be fixed?
Comment 2 sahumani 2012-06-28 01:40:28 UTC
OK, sorry for that. As I recently discovered, there is a checkbox  in options, that enables usage of native OpenOffice.org dialogs for open/save. These dialogs are not affected by this bug, but they are not enabled by default (at least on Windows installations). When this option is not enabled, the Windows native dialog acts as buggy as described.
Comment 3 sasha.libreoffice 2012-06-28 02:41:01 UTC
So, when we press File->Save as, "Save as" dialog appears with empty field "File name" initially? 
This happens with different folders and different drives or only with some specific? 
For example, if we create folder D:\1 it will reproducible there too?

Slightly resembles this:
Bug 37814 - FILESAVE Save/Save As dialogs use last save folder (not original) with non-ascii path
Comment 4 sahumani 2012-06-28 03:02:59 UTC
Created attachment 63557 [details]
informative image to my last post
Comment 5 sahumani 2012-06-28 03:04:45 UTC
No. That's not where it is failing. Via File->Save as menu it works perfectly.
It only fails to pre-fill the filename if you use the described procedure -
make some changes to document and press ctrl+s or click the save icon or you go
via menu File->Save. After that the 'Comfirm destination format' dialog (see
attachment - sorry for slovak interface of my libo) appears and you choose the
'Save as ODF' option. Than the Save dialog appears without the filename
pre-filled.
Comment 6 sasha.libreoffice 2012-06-28 03:55:30 UTC
Thanks for additional information. But I can not still reproduce this bug.
This bug reproducible on another computers too?

Please, attach screenshot of what appears after pressing on button "Use ODF format". May be I will catch some idea how to reproduce this bug.
Comment 7 sahumani 2012-06-28 05:00:45 UTC
Created attachment 63562 [details]
captured behaviour on XP Professional and LibO 3.5.4 Slovak

The same results on 2 other machines - 1st with Win7 Ultimate x64 and 2nd with Win7 Professional x64 with various versions of Office - first observed with OpenOffice 3.2.x, later when I moved to Libre on LibreOffice 3.5.1, 3.5.2, 3.5.4

Not tested on any Linux version.
Comment 8 sasha.libreoffice 2012-06-28 22:56:36 UTC
Thanks for attachment and additional testing. As I can see, it happens only with rtf files.
I will ask more experienced tester for help in reproducing this bug
Comment 9 sasha.libreoffice 2012-06-28 22:59:17 UTC
@ Rainer
Greetings
Please, help us here with reproducing this bug. May be You have some idea how to reproduce it.
Thanks in advance
Comment 10 Rainer Bielefeld Retired 2012-06-28 23:53:17 UTC
NOT reproducible with "LibreOffice 3.5.0 RC2 German UI/Locale [Build-ID: e371a95-bf68a13-5a1aa2b-d3c1ae9-b938258] on German WIN7 Home Premium (64bit)  following reporter's instrucition without having seen movie.

I remember a problem that for 'save as' or 'export' (I believe it was "Export to PDF') the name pane in OS File dialog only will show a name if already a document with the same file type already is in the folder.If reporter confirms this relation we should try to find those reports.

@reporter:
Can you confirm this "file name only showed if already document of file type exists in folder" effect?
Comment 11 sahumani 2012-06-29 02:05:43 UTC
Created attachment 63591 [details]
More detailed info.

Screenshot shows 2 options, that have to be set accordingly to be able to reproduce the bug. Another convinience is to associate ms-office documents to be opened in libre office when installing libre.
After that, you should simply reply the procedures seen in the previously published video capture.
In words:
- Create folder C:\1
- Put two .doc (ms-word) documents into the folder named 'first.doc' and 'second.doc'. Nothing else should be in.
- Open the first.doc (by double-clicking it) in libre office
- Make some changes to the document
- Press ctrl+s
- The 'confirm file format' dialog pops-up (third window in the attached image). Press the 'Use ODF Format' button
- Windows dialog window labeled 'Save as' pops up with the filename field empty. And that's the bug. Now type 'anything' into the filename field and click 'Save'
- The 'anything.odt' file is created in the C:\1 folder
- Close the libre office program
- Now open the 'second.doc' in libre office.
- Make some changes to the document
- Press ctrl+s
- The 'confirm file format' dialog pops-up. Press the 'Use ODF Format' button
- Windows dialog window labeled 'Save as' pops up with the filename field now pre-filled with selected text stating 'second'. That's how it should have been the first time. Now, when at least one .odt file with any given filename exists in the C:\1 folder thiings are how they should be.

I can't imagine how to do this howto with any more details. I was very surprised, that reproducing this gave you all so much headache.
Comment 12 QA Administrators 2013-05-26 22:31:46 UTC
Dear Bug Submitter,

This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.

For more information about our NEEDINFO policy please read the wiki located here: 
https://wiki.documentfoundation.org/QA/FDO/NEEDINFO

If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.


Thank you for helping us make LibreOffice even better for everyone!


Warm Regards,
QA Team
Comment 13 sahumani 2013-05-27 08:25:01 UTC
Sorry, I have little experience with your processes and I clearly failed to set the appropriate Status to this bugreport.
I provided all the info I could think of in my last post (and it was the last post before the time gap). Behaviour still the same in LibreOffice 4.0.0.3.
Comment 14 sasha.libreoffice 2013-05-27 13:05:08 UTC
Today I have reproduced this bug on 2 computers with Windows XP and LO 3.6.5 and 4.0.2.
Steps to reproduce:
0. Start LibreOffice
1. Click button "Open" and open any document in folder D:\1\
2. File->Export to PDF, click "Export". Proposed empty file name

Currently I do not know why it is reproducible only on some computers and not reproducible on others.
Comment 15 Jorendc 2013-06-28 18:23:29 UTC
(In reply to comment #14)
> Today I have reproduced this bug on 2 computers with Windows XP and LO 3.6.5
> and 4.0.2.
> Steps to reproduce:
> 0. Start LibreOffice
> 1. Click button "Open" and open any document in folder D:\1\
> 2. File->Export to PDF, click "Export". Proposed empty file name
> 
> Currently I do not know why it is reproducible only on some computers and
> not reproducible on others.

can not reproduce using Windows 8 with LibreOffice 4.1.0.1 RC.
Comment 16 ign_christian 2013-07-21 01:45:27 UTC
> 2. File->Export to PDF, click "Export". Proposed empty file name
> 
> Currently I do not know why it is reproducible only on some computers and
> not reproducible on others.

That's been reported on Bug 56556, apparently not always reproducible
Comment 17 tommy27 2013-08-23 16:23:51 UTC
I do not reproduce it on 4.1.0 release (Win7 64bit)

@sahumani
do you still see this bug consistently?
Comment 18 sahumani 2013-09-17 14:10:06 UTC
tested again on some other versions of LibO, now it looks like Windows 7 does something right...

now WORKS the expected way: older libo v4.0.5.2 on Windows 7 Pro x64 and newest 4.1.1.2 on Windows 7 Pro x64.
STILL BROKEN (BUG reproducible): older v4.0.0.3 on Windows XP and also newest v4.1.1.2 on Windows XP.
Nobody will force me to try Vista or 8...

So it appears that it remains reproducible on Windows XP only (Does Windows 7 dialog routine return different value on empty list as it did on Windows XP?)
When reproducing this bug, please do my steps exactly, don't assume that going via File->Save As will do the same as hitting the CTRL+S keys, just don't assume anything and blindly follow the steps...
Comment 19 Brenda Granados 2013-10-26 15:56:00 UTC
Hi,

I tested this on LibreOffice Writer 4.1.3.1 on Windows 8. Either using Ctrl-S or using the Export As... , I am not able to reproduce this. The file names are visible in the save dialog in  both cases.
Comment 20 tommy27 2013-10-26 17:03:03 UTC
I should find some time to test it on an XP machine in the weekend.
stay tuned.
Comment 21 Jorendc 2013-12-06 18:26:04 UTC
(In reply to comment #20)
> I should find some time to test it on an XP machine in the weekend.
> stay tuned.

Already found a XP machine :)?
Comment 22 retired 2013-12-06 20:37:26 UTC
Is this still happening with 4.2b2? sahumani@gmail.com  could you give that a try? http://www.libreoffice.org/download/pre-releases/

Setting to NEEDINFO until more detail is provided.

After providing the requested info, please reset this bug to UNCONFIRMED. Thanks :)
Comment 23 Urmas 2013-12-07 03:00:09 UTC
Cannot reproduce with December 7 version and XP.
Comment 24 tommy27 2013-12-07 08:49:30 UTC
(In reply to comment #11)
> Created attachment 63591 [details]
> More detailed info.
> 
> Screenshot shows 2 options, that have to be set accordingly to be able to
> reproduce the bug. 

I can finally reproduce the bug on WinXP Home SP3 32bit using those menu settings with LibO 4.1.3.2.

I mark issue as NEW. sorry for late reply.
I have no 4.2 beta to test but hopefully the bug has been fixed meanwhile in the 4.2 branch.
Comment 25 QA Administrators 2015-04-19 03:22:12 UTC Comment hidden (obsolete)
Comment 26 Cor Nouws 2016-05-27 07:36:01 UTC
XP is end off life - this is not going to be fixed