v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
657 stars 58 forks source link

dropdown menu (:CB) too high in newer yad version under certain conditions #136

Open frostworx opened 3 years ago

frostworx commented 3 years ago

I recently found this glitch:

When executing this command yad --form --text="Lorem ipsum dolor sit amet, consectetur adipisici elit sed eiusmod tempor incidunt ut labore et dolore magna aliqua" --field="Open help\!URL Opens the URL for this game in the browser":CB "none\!github\!pcgamingwiki\!protondb"

using yad-10.1, the minimal height (so you can't scale it down to the correct size) of the dropdown menu is far too big. The same command using yad-9.3 doesn't have this issue - the height is correct then.

The height is also correct with 10.1, when

so both

yad --form --text="Lorem ipsum aliqua" --field="Open help\!URL Opens the URL for this game in the browser":CB "none\!github\!pcgamingwiki\!protondb" and

yad --form --text="Lorem ipsum dolor sit amet, consectetur adipisici elit sed eiusmod tempor incidunt ut labore et dolore magna aliqua" --field="Open help URL Opens the URL for this game in the browser":CB "none\!github\!pcgamingwiki\!protondb"

look correctly using yad 10.1

v1cont commented 3 years ago

is that behavior reproducible in a git version?

frostworx commented 3 years ago

good catch! current git master doesn't have that problem indeed.

frostworx commented 3 years ago

For whatever weird reason, current master does have the problem now as well always reproducible. No idea why it worked once earlier today.