[Libreoffice-bugs] [Bug 114466] Certain Document in Use dialog does not get focus

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 18 17:33:47 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114466

--- Comment #11 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to Aron Budea from comment #10)
> 
> Sure, no problem, I checked now, and both instances are of the same build.
> As I mentioned I was using the method described in comment 3, but maybe the
> description is not very clear:
> LO is started via command line from its install directory (used SI-GUI for
> installing separately), with the document as parameter. This should ensure
> the same executable is opened.

This is strange--as this really does WFM. On Windows 10 Ent 64-bit en-US using
account with admin permissions. If I use the same method as comment 3: 

1.Creating a sheet
2. Copying the lock file to temp. 
3. Saving the sheet and closing LO. 
4. Editing lockfile to change user name. 
5. Copying lockfile back to directory holding the test doc.
6. launching scalc.exe with full path in folder containing the test doc.
   e.g. C:\LODev610_x64_20171218_TB42\program\scalc.exe
tdf114466_vsfTesting1.ods

Result is always:

1. blank LO frame gray background, no decoration except LO icon upper left
2. pop-up dialog "Document in Use" with details from lock file, and button
options to "Open Read-Only", "Open Copy", or "Cancel"

The "Document in Use" warning dialog persists until dismissed, and when open
the warning asserts in front of other user interactions with the system--i.e.
while I took a screen clip.

Also, with this a Cancel action does not open the Start Center Window--LO
Closes.

Alternatively, if I first open LO to Start Center:

1. create new sheet, and alter lock file as above
2. open command prompt 
3. open LO to Start Center
4. from command prompt launch scalc.exe with full path in directory holding
test doc

Result is always:

1. warning dialog opens with focus in front of command prompt and the open
Start Center
2. the LO Start Center remains unchanged

Selecting "Open Read-Only" uses the Start Center frame to hold the test doc

Selecting "Cancel" drops focus onto the Start Center instance

When the "Document in Use" warning dialog is open--it asserts in front of any
other user interactions--including Task Manager or Resource Monitor. The "Show
the Desktop" will suppress--and it will reopen with "Show Open Windows"

Likewise selecting the locked test sheet from Start Center opens the warning
dialog.

So, this all seems to work correctly (or as Caolan intended) forcing the
warning dialog to front of the new LO Window instance.

Why are our results so different?

My install is a typical /a administrative install, and I edit the bootstrap.ini
to point profile to $ORIGIN/../Data/settings

=-testing-=
Version: 6.1.0.0.alpha0+ (x64)
Build ID: 99210a149c859fcd683870b280adaeeffd1250e4
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64 at 42, Branch:master, Time: 2017-12-18_00:46:38
Locale: en-US (en_US); Calc: group threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171218/e3b967cd/attachment.html>


More information about the Libreoffice-bugs mailing list