pcdshub / typhos

Automatic-yet-customizable Graphical User Interface Generation for Ophyd Devices
http://pcdshub.github.io/typhos
Other
16 stars 24 forks source link

State positioner devices in the non-row (classic?) form do not get visible combo boxes. #585

Closed ZLLentz closed 9 months ago

ZLLentz commented 9 months ago

Expected Behavior

There should be a combo box selector.

Current Behavior

Instead, there's a blank space. Incidentally this mucks up the widget layout.

image

I originally thought this was a templating or expert button issue but I no longer believe this is the case.

Context

Blocker for deploying recent row updates (backwards compatibility issue).

Your Environment

typhos master, pcdsdevices master

ZLLentz commented 9 months ago

According to the debug stream, we're successfully finding the setpoint widget in the startup. According to gammaray, we're creating a size 0x0 line edit instead of a reasonably-sized combobox: image

I will debug under the assumption that the logic for switching to the combobox has broken.

ZLLentz commented 9 months ago

Ah, there's also a zero-width hash-named "NoScrollComboBox" in there, right below the blank line edit. Interesting...

ZLLentz commented 9 months ago

Using gammaray, I can change the minimum size of that combobox and the screen looks closer to normal. So I assume this is largely a sizing issue + a vestigial line edit. image