Summary: | When clicking inside a pivot table, GroupedBar Compact hides all its groups except "File" and "Edit" | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Jeff Fortin Tam <nekohayo> |
Component: | Calc | Assignee: | Justin L <jluth> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | jluth, stephane.guillou |
Priority: | medium | Keywords: | implementationError |
Version: | 6.1.0.3 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | target:24.8.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 103381, 107158 |
Description
Jeff Fortin Tam
2024-03-21 03:45:45 UTC
Reproduced in 6.1.0.3, likely an implementation error. Also in recent trunk build: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 30c6e51fc9cb0fa864e1755271343d847fcced25 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded Justin, you digged a bit into the context sensitivity of the compact Groupedbar. Maybe this one is a more obvious fix than bug 123056? ScTabViewShell::SetPivotShell calls SetCurSubShell(OST_Pivot) which seems to be what triggers the lost notebookbar. This ends up calling ContextVBox::SetContext, which disables the tab unless it supports context-any or context-Pivot. So the solution appears to be indicating that sc/uiconfig/scalc/ui/notebookbar_groupedbar_compact.ui needs to add context-Pivot to ContextVBox containing the styles thru extensions tab definitions. Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7b515b473cfb706c9fa0b474f27d61351aeec3a3 tdf#160293 sc NBB: tabbed groupbar_compact keep tabs in Pivot context It will be available in 24.8.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. Thank you for the quick fix, Justin! Verified with: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: bdf3b5ce49b0e4ee1b4525d344cfb037ef473059 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded |