Bug 163280 - When I open two Calc documents at the same time, the document in the background acts as if it was the active document
Summary: When I open two Calc documents at the same time, the document in the backgrou...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Multi-Window
  Show dependency treegraph
 
Reported: 2024-10-03 22:34 UTC by David García
Modified: 2024-12-12 19:34 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Both Calc documents (158.58 KB, application/x-zip-compressed)
2024-10-03 22:37 UTC, David García
Details
Clip (1.39 MB, video/mp4)
2024-10-03 22:40 UTC, David García
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David García 2024-10-03 22:34:47 UTC
Description:
If I type in the active document, the text is written in the document in the background.

Steps to Reproduce:
1. In Windows File Explorer, I select two Calc documents and I right-click on them to open them.
2. In the active document, I double-click on a cell and type in it.
3. Nothing happens: no text is written.
4. If I switch to the other Calc document, the one that was in the background, the text that I've just typed is there.

Actual Results:
The text that I'm typing in the cell of the active document is actually being typed in the background document.

Expected Results:
If I open two documents at the same time and one document is active, while the other document is in the background, I expect that my interactions with the active document should affect this document.


Reproducible: Always


User Profile Reset: No

Additional Info:
I've noticed this behaviour since LO 24.8.0. At the beginning, LO would crash, but it doesn't any more.
Comment 1 David García 2024-10-03 22:37:51 UTC
Created attachment 196876 [details]
Both Calc documents
Comment 2 David García 2024-10-03 22:40:09 UTC
Created attachment 196877 [details]
Clip

You can't notice in the clip, but in the first Calc document, I double-click in a cell and I type some text. Nothing happens. I switch to the other Calc document and the text that I've just typed is there.
Comment 3 David García 2024-10-05 10:52:09 UTC
I've just opened two Writer documents at the same time, and things work fine: the cursor stays in the active document and, if I write something, it's typed in the active document too.

It seems like the behaviour I described earlier has to do with Calc and cells.
Comment 4 ady 2024-10-20 03:45:57 UTC Comment hidden (obsolete)
Comment 5 ady 2024-10-20 03:49:18 UTC
(In reply to ady from comment #4)
> Repro with:
> 
> Version: 24.2.4.2 (X86_64) / LibreOffice Community
> Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
> CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL:
> win
> Locale: en-US (es_AR); UI: en-US
> Calc: CL threaded
> 
> Currently, that is the version of LO that opens when I double-click on ods
> files in Windows's File Manager/Explorer.

Sorry, not "double-click", but selecting both files and then [ENTER].

> 
> If I use other methods to open the same pair of ods files with some other
> version of LO, the behavior is as expected, no problem.
> 
> Before starting the procedure, LO is closed.
> 
> Someone might want to make the default double-click action to open ods files
> with a master Dev version, in order to test with that version.

Sorry (again), not "double-click", but selecting both files and then [ENTER].

> 
> Since this does not happen with Writer's odt files, we cannot blame Windows'
> File Manager/Explorer.