Bug 53614 - FILEOPEN: Document In Use Dialog appearing after cancelling Text Import dialog
Summary: FILEOPEN: Document In Use Dialog appearing after cancelling Text Import dialog
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: Other All
: medium normal
Assignee: Andreas Heinisch
URL:
Whiteboard: BSA target:24.8.0
Keywords:
Depends on:
Blocks: Dialog
  Show dependency treegraph
 
Reported: 2012-08-16 21:38 UTC by Erik
Modified: 2024-01-16 09:58 UTC (History)
1 user (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 Erik 2012-08-16 21:38:04 UTC
Problem description: 

Attempting to open a csv file brings up the text import dialog, which when cancelled still brings up the Document In Use dialog.

Steps to reproduce:
1. Open a csv file currently opened by someone else
2. Text Import dialog appears
3. Cancel Text Import Dialog

Current behavior:
The Document In Use dialog box appears.  The Open Read-Only and Open Copy buttons do nothing.

Expected behavior:
That Document In Use Dialog does not appear as the importing was cancelled.

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.79 Safari/537.1
Comment 1 A (Andy) 2013-02-16 18:52:57 UTC
reproducible with LO 4.0.0.3 (Win7 Home, 64bit)

I would expect after choosing Cancel, that this Document In Use dialog box would not appear.
Comment 2 QA Administrators 2015-02-19 15:48:46 UTC Comment hidden (obsolete)
Comment 3 Erik 2015-02-20 01:32:32 UTC
Tested on version 4.4.0.3 on Windows 7 64bit.

Issue is still present as described originally.
Comment 4 QA Administrators 2016-02-21 08:38:01 UTC Comment hidden (obsolete)
Comment 5 Erik 2016-02-21 20:14:15 UTC
Tested on version 5.1.0.3 on Windows 7 64bit.

Issue is still present as described originally.
Comment 6 QA Administrators 2017-03-06 16:06:39 UTC Comment hidden (obsolete)
Comment 7 Erik 2017-03-08 19:21:36 UTC
Tested on version 5.3.0.3 on Windows 7 64bit.

Issue is still present as described originally.
Comment 8 QA Administrators 2018-08-14 02:32:47 UTC Comment hidden (obsolete)
Comment 9 Usama 2018-10-13 13:39:54 UTC
Confirmed on:

Version: 6.2.0.0.alpha0+
Build ID: 144da6d5079bcd435e6637cb5cf95305f3ec1306
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-10-12_02:13:01
Locale: tr-TR (tr_TR.UTF-8); Calc: threaded
Comment 10 QA Administrators 2019-10-14 02:27:47 UTC Comment hidden (obsolete)
Comment 11 Erik 2019-10-14 22:08:53 UTC
Tested on version 6.2.7.1 on Windows 10 64bit.

Issue is still present as described originally.
Comment 12 QA Administrators 2021-10-14 03:47:27 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2023-10-15 03:16:18 UTC Comment hidden (obsolete)
Comment 14 Erik 2023-10-15 19:48:13 UTC
Tested on Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333
CPU threads: 20; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-NZ (en_NZ); UI: en-US
Calc: threaded

Issue is still present as described originally.
Comment 15 Commit Notification 2024-01-16 09:57:53 UTC
Andreas Heinisch committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/48bbdf24ebe3cf78199bf213ab5585a293dc40ae

tdf#53614 - Don't try to lock file after cancelling the import process

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.