Do you have a special scenario where it fails? I created a sketch + pad and set an expression to the pad length and the property editor still showed the tool tip text and not the expression.mlampert wrote: ↑Mon Jul 15, 2019 6:06 pmI played around a little more and it seems it's the expression that makes the tooltip vanish.
As soon as there is an expression attached to the property the spinbox doesn't display the tooltip anymore but displays the expression. This is not a good user experience IMHO - is there a way I can get QuantitySpinBox to display the tooltip regardless of there being an expression or not?
Interesting - if you edit the Pocket in attached file and select the "Depths" page, all 4 of those are QuantitySpinBoxes. 3 already have an expression attached and show that one instead of the tooltip. Finish Depth doesn't have an expression and does show the tooltip - however if you set an expression it shows the expression.
Code: Select all
OS: Debian GNU/Linux 10 (buster) (LXQt//usr/share/xsessions/lxqt) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.17408 (Git) Build type: Debug Branch: master Hash: 092aaf17e846b89a16c8ce9615086eeac8a49b8c Python version: 3.7.3 Qt version: 5.11.3 Coin version: 4.0.0a OCC version: 7.3.0 Locale: English/Canada (en_CA)
Confirmed. When looking at the quantity boxes of the task panels I can confirm this behaviour but when looking in the property editor it works as expected. Feel free to open a ticket.if you edit the Pocket in attached file and select the "Depths" page, all 4 of those are QuantitySpinBoxes. 3 already have an expression attached and show that one instead of the tooltip.