| Summary: | [Calc] ThisComponent.CurrentController.ShowGrid => affects the grid of all sheets, but not the active one (inconsistent behavior) | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Igor <eeigor> |
| Component: | Calc | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | UNCONFIRMED --- | ||
| Severity: | normal | CC: | himajin100000 |
| Priority: | medium | Keywords: | needsDevAdvice |
| Version: | 7.1.2.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 127590 | ||
| Attachments: | bt with debug symbols | ||
|
Description
Igor
2021-04-13 08:07:21 UTC
Created attachment 171168 [details]
bt with debug symbols
On pc Debian x86-64 with master sources updated today, I could reproduce this.
I don't know if it's expected or not but attached a bt showing where the value for "ShowGrid" is set.
What if you run?
Option Explicit
Sub Macro1()
Dim dispatchhelper As com.sun.star.frame.XDispatchHelper
dispatchhelper = createUnoService("com.sun.star.frame.DispatchHelper")
rem ----------------------------------------------------------------------
dispatchhelper.executeDispatch(ThisComponent.CurrentController.Frame, ".uno:ToggleSheetGrid", "", 0, Array())
end sub
The dispatcher method works. But the question was different. "Toggle” does not allow you to determine the current state. |