Bug 156263 - Calc windows cannot be closed after focus change from Validity dialog
Summary: Calc windows cannot be closed after focus change from Validity dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Cell-Validity
  Show dependency treegraph
 
Reported: 2023-07-12 22:59 UTC by Gabor Kelemen (allotropia)
Modified: 2023-07-27 10:38 UTC (History)
4 users (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 Gabor Kelemen (allotropia) 2023-07-12 22:59:28 UTC
This is split off from bug 155708 comment #1

STR_B, obtaining a much worse resulting behavior:

0. LO is closed before starting the procedure. Open Start Center.
1. Open only one new (empty) Calc window (Untitled 1).
2. [CTRL]+[N] (Untitled 2)
3. Menu Data > Validity

4. Change window to "Untitled 1" (on MS Windows, [ALT]+[TAB]).
5. Change window to "Untitled 2" (on MS Windows, [ALT]+[TAB]).

6. Click on "All values" of the "Allow" field.
7. Click on "Cell range" of the "Allow" field.
8. Click once inside the "Source" field.
7. Change window to "Untitled 1" (on MS Windows, [ALT]+[TAB]).
9. Change window to "Untitled 2" (on MS Windows, [ALT]+[TAB]).

Intermediate results:
The Validity dialog is still displayed.

10. [ESC] to exit the dialog.
11. Menu File > Close (the window is still opened).
12. Open a new (empty) Writer window; it can be successfully closed.
13. Open a new (empty) Calc window; it cannot be closed.

Actual results:
Calc windows can _not_ be actually closed; they have to be forcefully closed by using Task Manager. When re-opening LO, these will be listed for recovery attempt.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: fcbae818b793a9ee97a1b5ddc53902be7a2376f5
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded

This seems to have started in 7.2 with:

https://git.libreoffice.org/core/+/618cb39b558b7e3f9a6f2aa8cf0a935602118388

author	Caolán McNamara <caolanm@redhat.com>	Sat Mar 27 16:20:43 2021 +0000
committer	Caolán McNamara <caolanm@redhat.com>	Sat Mar 27 20:10:49 2021 +0100

tdf#141141 sync SalFrame::GetFrameWeld and weld::GetPopupParent

Before this both windows could be closed just fine.

Adding CC to: Caolán McNamara
Comment 1 ady 2023-07-13 09:11:51 UTC Comment hidden (obsolete)
Comment 2 ady 2023-07-27 02:41:05 UTC
(In reply to ady from comment #1)
> Since this is a split off from bug 155708, let's CC Balazs Varga too.
> 
> Shouldn't the "Component" field of this bug 156263 be "Calc" instead of "UI"?

I'm changing the component field from UI to Calc.