gpilab / gpilab/framework

Widget issues in qt 5.12

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Python
Stars
21
Forks
9
PR merge metrics
No merged PRs in 30d

Description

**Behavior**: In a node widget menu, making a selection on one widget sometimes causes the size of that widget to change. However, in my Qt 5.12 build, the widget menu isn't always resizing the "space" for the widget in reaction to that change. Widget updates are also happening very slowly.

Based on my testing, the widget space is resized correctly if any of the following are true:
- The widget gets _smaller_ after the change (e.g., going from a mode with a slider to a mode with no slider).
- The widget gets bigger and the widget menu has a scroll bar or will need one after the change.

@aganders3 or @grlee77, do either of you have any idea what might be causing this? Seems like a GPI-Qt interaction bug, perhaps? I'm happy to look into it as a good bug fix to get some more exposure to the GPI framework code, but thought you might have a better idea of where to start.

**Environment**: I am only seeing this on OSX, not Ubuntu. Installing `gpi_core` into a new environment should give you pyqt 5.12 to try and replicate. I've seen this with Python 3.7 and 3.8 both so far so I don't think the python version matters.

Example for switching from `pass` to `B/E` in a Reduce node.

![image](https://user-images.githubusercontent.com/48920868/70832150-fed8d580-1db9-11ea-80ae-2bad1b1165ca.png)

![image](https://user-images.githubusercontent.com/48920868/70832171-07311080-1dba-11ea-8ba6-a9d7b09296d4.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.