Bug 139263 - Save as dialog Save button navigates to deepest possible folder and only saves the file there (LibreOffice's file dialog)
Summary: Save as dialog Save button navigates to deepest possible folder and only save...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.0.3.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: LO-File-Dialog
  Show dependency treegraph
 
Reported: 2020-12-27 16:16 UTC by micha
Modified: 2022-12-05 16:44 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example video (144.21 KB, video/x-matroska)
2020-12-28 16:30 UTC, micha
Details
Screenshots for reproducing the bug (137.99 KB, application/pdf)
2021-04-03 15:16 UTC, micha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description micha 2020-12-27 16:16:09 UTC
Description:
File is not saved in intendet folder but save dialog let's me only save in a directory where no more subfolders are present.

Steps to Reproduce:
1. For sake of reproducing the issue create subfolder /tmp/a
2. File->Save as
3. Choose /tmp as target
4. Click save
5. Folder /tmp/a is opened
6. Click again Save


Actual Results:
Click on "Save" opens next folder (until no more subfolder exist) and only at the deepest level the file is saved.
In Testexample this would be "/tmp/a/mydocument.odt"

Expected Results:
File is saved in selected Folder /tmp/mydocument.odt


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.3.1
Build ID: 00(Build:1)
CPU threads: 12; OS: Linux 5.8; UI render: default; VCL: x11
Locale: de-DE (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.0.3-0ubuntu0.20.10.1
Calc: threaded
Comment 1 [REDACTED] 2020-12-28 14:59:17 UTC
No repro

Version: 7.0.4.2
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 [REDACTED] 2020-12-28 15:30:11 UTC
(In reply to micha from comment #0)

> 
> Steps to Reproduce:
> 1. For sake of reproducing the issue create subfolder /tmp/a
> 2. File->Save as


Are you sure that you create the sub-folder /tmp/a before starting "File -> Save As" or are you in fact creating the sub-folder from within "Save As" dialog using "Create Folder" button. It would be indeed a hack to inactivate the (sub-) folder just created.
Comment 3 [REDACTED] 2020-12-28 15:44:55 UTC
From my perspective a problem of directory navigation in default file manager of Ubuntu 20.10 GNOME desktop (/usr/bin/nautilus).
Comment 4 micha 2020-12-28 16:05:24 UTC
(In reply to Uwe Auer from comment #2)
> (In reply to micha from comment #0)
> 
> > 
> > Steps to Reproduce:
> > 1. For sake of reproducing the issue create subfolder /tmp/a
> > 2. File->Save as
> 
> 
> Are you sure that you create the sub-folder /tmp/a before starting "File ->
> Save As" or are you in fact creating the sub-folder from within "Save As"
> dialog using "Create Folder" button. It would be indeed a hack to inactivate
> the (sub-) folder just created.


The first step is just to make an example for reproducing the issue. This is a mkdir cmd. I was not clear enough about that.
Comment 5 micha 2020-12-28 16:06:51 UTC
(In reply to Uwe Auer from comment #3)
> From my perspective a problem of directory navigation in default file
> manager of Ubuntu 20.10 GNOME desktop (/usr/bin/nautilus).

I can reproduce the same behaviour on a Ubuntu Mate installation with Caja as file manager.
Comment 6 micha 2020-12-28 16:30:03 UTC
Created attachment 168533 [details]
Example video

Quick video showing the behaviour.
Comment 7 Mathieu Denis 2021-02-16 11:38:13 UTC
+1

Same behavior in LibreOffice Calc 6.4.6.2
Build ID: 1:6.4.6-0ubuntu0.20.04.1
Comment 8 micha 2021-04-03 15:16:19 UTC
Created attachment 170934 [details]
Screenshots for reproducing the bug

As this hopefuly makes the behavior more clear I added this document with each step.

Page 1: buggy behavior

Page 2: workaround to prevent the bug
Comment 9 raal 2022-01-24 18:09:54 UTC
reproducible with Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: bd5492275d31f59b1d269205018d1487af52426f
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: x11
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo

but I'm not sure if it's a LO's bug, I think it's just default behaviour of file manager.