Bug 168261 - Cannot input in all cells; after input manual data/value in cell with "List" validity
Summary: Cannot input in all cells; after input manual data/value in cell with "List" ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: x86-64 (AMD64) All
: high major
Assignee: Not Assigned
URL:
Whiteboard: target:26.2.0 target:25.8.4 target:25...
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Cell-Validity
  Show dependency treegraph
 
Reported: 2025-09-03 04:54 UTC by rangga.t
Modified: 2025-11-04 12:36 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file (18.11 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-09-27 05:36 UTC, Franklin Weng
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rangga.t 2025-09-03 04:54:29 UTC
Description:
Normally when using "List" Cell Validity, we can still input manual data or value other than written in the Entries box (when List is selected); LibreCalc will allow that manually input data to be showed and saved in the cells ONLY IF we uncheck "Show error message when invalid values are entered" box in Error Alert tab.

In this case after selecting OK and we try to input manual value, the cell will still display the last value as if nothing happens. But turns out we suddenly CANNOT INPUT to all the cells in the same document/file. Other sheet in the same file also affected.


Closing and reopening the file again seems to reset the Bug. And other opened window while the error happened will not be affected by this.

Only deleting the value of the cells, will not trigger the bug.
Already tried using different Action rather than default Stop, but resulting same output.
Already tried using Safe Mode but resulting same output.



Steps to Reproduce:
1.Open new Calc document
2.Select cell A1 then open Data -> Validity...
3.In Criteria, select List; only "Allow empty cells" and "Show selection list" boxes are selected
4.Write : "a" then enter, "b" then enter, and "c"
5.Go to Error Aler tab and uncheck "Show error message when invalid values are entered"
6.Click OK -- Validity window closes.
7.On cell A1 write "D" and press enter 

Bug should be triggered, and we cannot input to all the other cells in the same document.

Actual Results:
cell A1 still display last value.
Error triggered : cannot input to all the other cells in the same document (also affecting other sheet in same document)

Expected Results:
cell A1 should display "D" and listed option are still available. Other cells should not be affected. 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.8.0.4 (X86_64)
Build ID: 48f00303701489684e67c38c28aff00cd5929e67
CPU threads: 8; OS: Windows 11 X86_64 (build 22621); UI render: Skia/Vulkan; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: threaded
Comment 1 Takenori Yasuda 2025-09-03 05:16:39 UTC Comment hidden (obsolete)
Comment 2 Takenori Yasuda 2025-09-03 06:26:03 UTC Comment hidden (obsolete)
Comment 3 Saburo 2025-09-03 13:48:19 UTC
bibisected with linux-64-25.8

commit 72bbb0dd4a368dab2b1bd99917cd07d23a92a3f0
author	Pranam Lashkari <lpranam@collabora.com>	Mon Dec 30 02:20:22 2024 +0530

sc: make data validy error dialog async (invalid value error)

Change-Id: Icd077776b26e21b226b4dee5beb1a5ff6dcf301a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179509
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit 495be2dcb34d22af59a2028d3a686a0d48774166)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180286

adding CC: Pranam Lashkari
Comment 4 Takenori Yasuda 2025-09-04 06:08:00 UTC
This occurred not only for "List" but also in all validities except "All values".

Tested with:
Version: 25.8.2.0.0+ (X86_64) / LibreOffice Community
Build ID: 641a0e3d9a668f38651831f2a99db02edd50f21e
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo
Comment 5 Julien Nabet 2025-09-04 08:54:36 UTC
I think it's a dup of tdf#160096.
Comment 6 Takenori Yasuda 2025-09-04 11:34:27 UTC
I think this is different from Bug 160096.
This bug is about "cannot input to all the other cells in the same document".

I'm not good at English, and I read reports after translating them with Google Translate, so I might be misunderstanding.
However, if my understanding is correct, I think there are the following differences:
- Bug 168261: Unable to input values into cells that do NOT have Validity settings
- Bug 160096: Unable to input values into cells that do have Validity settings
Comment 7 Julien Nabet 2025-09-07 08:26:10 UTC
(In reply to Takenori Yasuda from comment #6)
...
> - Bug 168261: Unable to input values into cells that do NOT have Validity
> settings
> ...
Reading steps on the descriptions, A1 has validity settings. Indeed the author indicates having set a validity list ("a", "b", "c") then try to type "d" in the cell A1. Moreover, title talks about "validity" so how could this bugtracker be "unable to input values into cells that do NOT have validity settings" ?
Comment 8 Takenori Yasuda 2025-09-08 04:34:52 UTC
(In reply to Julien Nabet from comment #7)
> how could this bugtracker be "unable to input values into cells 
> that do NOT have validity settings" ?
I summarized it that way from "Title" and "Actual Results".

Among all cells, some have validation rules set while others do not.
It is self-evident and normal that cells with validation rules cannot accept invalid values.
For cells without validation rules, there should be no restrictions on input, meaning all values should be acceptable.

However, the author states in various places that they "cannot input in/to all (other) cells". In other words, the author reports that "I cannot input any values into cells that do not have validity settings" and is troubled by it.

This is why I wrote "Unable to input values into cells that do NOT have Validity settings" in Comment 6.
From my perspective, the explanation ended up this way because I focused on the result, but if I focus on the cause, it would be an issue with the Validity.
Comment 9 Saburo 2025-09-09 03:13:02 UTC
Here's something I noticed.
If you enter D in cell A1, D will remain displayed in the formula bar.
It will return to normal when you print preview.
---
I may be off the mark, but perhaps bforget is still set to true?
Comment 10 Takenori Yasuda 2025-09-24 05:19:32 UTC
After this bug occurred, it seems that only the Validity using a dropdown list allows input in any cell. However, this is limited to input via the list; direct input is not possible, just like in other cells.

Tested with:
Version: 25.8.3.0.0+ (X86_64) / LibreOffice Community
Build ID: 8b83439dc0cc270a1eb517d3efb652293f1fbce8
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo
Comment 11 Franklin Weng 2025-09-27 05:36:46 UTC Comment hidden (obsolete)
Comment 12 Franklin Weng 2025-09-27 05:38:02 UTC Comment hidden (obsolete)
Comment 13 Xisco Faulí 2025-10-02 14:10:13 UTC
It looks like a duplicated of bug 156263

*** This bug has been marked as a duplicate of bug 156263 ***
Comment 14 Timur 2025-10-02 14:41:17 UTC
Xisco, unless you tested otherwise, this does not seem resolved.
As Comment 10 clarifies, criteria here is that we should be able to type in other cells.
Comment 15 Xisco Faulí 2025-10-02 14:45:26 UTC
(In reply to Timur from comment #14)
> Xisco, unless you tested otherwise, this does not seem resolved.
> As Comment 10 clarifies, criteria here is that we should be able to type in
> other cells.

you are right. My bad. I can reproduce it in

Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 81321560f2151ee12be26135aed65968287d1c94
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 16 Xisco Faulí 2025-10-02 14:50:00 UTC
Actually it was already reported in bug 167126

*** This bug has been marked as a duplicate of bug 167126 ***
Comment 17 Timur 2025-10-30 11:08:22 UTC
Turned out that fixes for this and other one are different commits. 
https://gerrit.libreoffice.org/c/core/+/193141
Comment 18 Takenori Yasuda 2025-10-30 13:15:25 UTC
Since Bug 167126 is no longer marked as a duplicate, I'm posting the following comment here as well (see Bug 167126, Comment 5).
The behavior has been confirmed in both bugs.

---

Regarding invalid input:
Entering a cell reference (e.g., =A2) does not commit the input when the Enter key is pressed. Instead, the reference shifts to A3, A4, and so on.
There appears to be no way to commit the input.

Tested with:
Version: 25.8.3.1 (X86_64)
Build ID: 52ad9dd1c984050a9fb6932dbfb16e86a49e9758
CPU threads: 8; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded Jumbo
Comment 19 Commit Notification 2025-11-03 14:38:09 UTC
Pranam Lashkari committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/65ca233db9a39fd251ffac46608bb2714949e894

tdf#168261: resume ScInputHandler even if error not displayed

It will be available in 26.2.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.
Comment 20 Commit Notification 2025-11-03 15:41:23 UTC
Pranam Lashkari committed a patch related to this issue.
It has been pushed to "libreoffice-25-8":

https://git.libreoffice.org/core/commit/f60a4baee3852184da95c2947c910b485225d5fb

tdf#168261: resume ScInputHandler even if error not displayed

It will be available in 25.8.4.

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.
Comment 21 Commit Notification 2025-11-04 12:36:17 UTC
Pranam Lashkari committed a patch related to this issue.
It has been pushed to "libreoffice-25-8-3":

https://git.libreoffice.org/core/commit/9c89b1991e2cccf35a0a53ee5e3580f14e221388

tdf#168261: resume ScInputHandler even if error not displayed

It will be available in 25.8.3.

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.