Bug report #13509

qt5: segfault on startup in qgsbrowserdockwidget.cpp's showEvent function

Added by Mathieu Pellerin - nIRV almost 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assignee:Radim Blazek
Category:Browser
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:21553

Description

QGIS compiled using Qt5 libraries segfaults on startup due to a setResizeMode() call in the QgsBrowserDockWidget::showEvent function (qgsbrowserdockwidget.cpp line 561). If I comment out that line, QGIS successfully starts.

I only see one column in the browser panel, so I'm not entirely sure what the second setResizeMode() call (the problematic one) is for. It'd be nice to fix this as it's the only issue that prevents a functional QGIS-Qt5 build out of the box.

The segfault occurs on my ubuntu machine, which is running the upcoming Wily release. The qt5 version is 5.4.2.

Associated revisions

Revision 890dce86
Added by Radim Blazek almost 4 years ago

removed setResizeMode on non-existent browser column, fixes #13509

History

#1 Updated by Radim Blazek almost 4 years ago

  • Status changed from Open to Closed

#2 Updated by Radim Blazek almost 4 years ago

The second column really does not exist. I think that setting its resize mode was part of the trick to get horizontal scroll bar instead of ellipses. It it seems to work without that.

Also available in: Atom PDF