Bug 119626 - Assert when clicking Expand Formula Bar
Summary: Assert when clicking Expand Formula Bar
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 124557 (view as bug list)
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2018-08-31 19:30 UTC by Julien Nabet
Modified: 2019-11-27 20:38 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
bt with debug symbols (7.59 KB, text/plain)
2018-08-31 19:33 UTC, Julien Nabet
Details
bt with debug symbols (6.71 KB, text/plain)
2019-03-06 20:40 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Nabet 2018-08-31 19:30:18 UTC
Description:
On pc Debian x86-64 with master sources updated today + enable-dbgutil + gtk3, I got an assert in Notebook bar layout when clicking Expand Formula Bar

Steps to Reproduce:
1. Enable experimental features in Options
2. View - User Interface - Tabbed and then Layout
3. In calc, click Expand Formula Bar


Actual Results:
Assertion

Expected Results:
No assertion


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Comment 1 Julien Nabet 2018-08-31 19:33:08 UTC
Created attachment 144588 [details]
bt with debug symbols
Comment 2 Julien Nabet 2018-08-31 19:37:11 UTC
vcl/source/window/toolbox.cxx
2265 item.maCalcRect.SetTop( nY+(mnMaxItemHeight-aCurrentItemSize.Height())/2 );

See https://opengrok.libreoffice.org/xref/core/vcl/source/window/toolbox.cxx#2265

(gdb) p nY
$1 = 0
(gdb) p mnMaxItemHeight
$2 = 27
(gdb) p aCurrentItemSize.Height()
$3 = 34
(gdb) p nLineSize
$4 = 116

Caolán: I don't know if it's due to https://cgit.freedesktop.org/libreoffice/core/commit/?id=c7efcb1340ceee35fe3b8ffd9ed86b8cae57d9ce or if the root cause must be searched elsewhere.
Comment 3 Katarina Behrens (Inactive) 2018-09-03 13:15:24 UTC
Repro with dbg build and gtk3, kde5 respectively. Not with gtk and gen
Comment 4 Michael Weghorn 2019-01-30 12:01:02 UTC
Same happens on current master (as of b89dbc08b735384cdc9e469b044842fb729ced0b)  without Notebookbar enabled.
Comment 5 Julien Nabet 2019-03-06 20:40:59 UTC
Created attachment 149772 [details]
bt with debug symbols

Update of bt with master sources updated today.
Comment 6 Michael Weghorn 2019-04-10 06:06:33 UTC
*** Bug 124557 has been marked as a duplicate of this bug. ***
Comment 7 Aron Budea 2019-11-26 23:34:08 UTC
I'm not getting an assert anymore in a debug build of LO 6.5.0.0.alpha0+ (08ce9a9293523c2b49e3beda62c0eb0f75be2745) / Ubuntu.
Julien, please check again, and close if your result is the same.
Comment 8 Julien Nabet 2019-11-27 20:38:58 UTC
Thank you Aron for ping me about this.
Indeed, I don't reproduce this anymore with master sources updated today.