https://bugs.freedesktop.org/show_bug.cgi?id=53920
Laurent BP <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #13 from Laurent BP <[email protected]> --- I tried to debug what is happening at closure time after OK click. in sc/source/ui/view/cellsh2.cxx:928 pTabViewShell->SetValidation( aData ); should copy ValidationData to all selected cells. But in sc/source/ui/view/viewfunc.cxx:1092 function ScViewFunc::ApplySelectionPattern( creates aFuncMark with ScMarkData aFuncMark( rViewData.GetMarkData() ); aFuncMark.bMarked should be true but is set to false if visible tab is not where selected cells are (in debugger, forcing it to true avoid the bug). I tried to force to apply tab modification after sc/source/ui/view/cellsh2.cxx#851 pTabViewShell->SetTabNo( nTab ); with pTabViewShell->PaintExtras(); but it has no effect. So I propose to avoid the bug by just switching back tab earlier: at RefButton shrink box closure. In commit 11560, https://gerrit.libreoffice.org/#/c/11660/ I propose to: - switching back tab in ScTPValidationValue::RefInputDonePostHdl - remove unnecessary switch back tab in cellsh2.cxx -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
