yad icon indicating copy to clipboard operation
yad copied to clipboard

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

Open frostworx opened this issue 2 years ago • 3 comments

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

  • the text string is shorter
  • you leave away the tooltip \! in the field section.

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

frostworx avatar Jul 21 '21 18:07 frostworx

is that behavior reproducible in a git version?

v1cont avatar Jul 25 '21 05:07 v1cont

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

frostworx avatar Jul 25 '21 06:07 frostworx

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

frostworx avatar Jul 25 '21 16:07 frostworx