Bug report #21918

QgsCollapsibleGroupBox - QtEditor - Editing of child widgets fails when box is collapsed

Added by Johannes Elstner over 5 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:GUI
Affected QGIS version:3.6.2 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29733

Description

In the Qt Editor, I add a QgsCollapsibleGrouBox and then add any kind of child widget into the box. Now I set the group box on collapsed state and select the child widget in the object list. When I try to edit the widget's settings (e.g. rename it), after every keyboard input the main form (dockwidget, dialog, mainwindow) gets focus and I have to re-navigate to the widget to proceed editing.

For default Qt widgets that can hide their child widgets (QTabwidget, QStackedWidget), the editor unhides the child widget when I start editing them. The behavior described above seems to affect QGIS custom widgets only, that's why I file my bug report here.

Also available in: Atom PDF