Bug 152006 - The "Apply" button on the "Text Grid" dialog does nothing on second-click
Summary: The "Apply" button on the "Text Grid" dialog does nothing on second-click
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Text-Grid
  Show dependency treegraph
 
Reported: 2022-11-11 15:26 UTC by Kevin Suo
Modified: 2022-11-11 22:47 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 Kevin Suo 2022-11-11 15:26:30 UTC
Steps to Reproduce:

1. New Writer, Foramt > Page Style > Text Grid. Select the grid type "Grid (lines and characters)", then click "Apply" (I say Apply button, not the OK button).

--> Text grids are properly set, that's good. Do not close this dialog.

2. Uncheck the "Display Grid" checkbox, then click "Apply" button.
--> Grid is not visible, good. 
Now check the "Display Grid" checkbox and click "Apply“ again.
--> Grid is visible, good.

3. Now, click "OK" button to close the dialog, open this dialog again, uncheck the "Display Grid" checkbox, click Apply.
--> Grid is not visible, good.
Now if you check the "Display Gird" checkbox and then click Apply again.
--< The grid is still not visible (i.e. nothing is applied at the 2nd Apply).

Current Result:
In step 3, the first time you make a change and click Apply, it applies, but the second time you do it it does nothing.

Expected Result:
When I click the Apply the 2nd time, the changes should properly be applied.

It seems that all the controls on this dialog have this kind of problem.

Reproducible on 7.3.7, 7.4.3 and master.

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 96442f149ca46ad3c4b96ef81beac39fef642785
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: en-US
Calc: threaded
Comment 1 raal 2022-11-11 22:35:19 UTC
Confirm with Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cfc8a8f5d841b3f84d207196153be67da7f60652
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 2 raal 2022-11-11 22:47:22 UTC
Repro Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3

In 4.1 Text grid doesn't exist.