Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
frostworx opened this issue Jul 21, 2021 · 3 comments

Comments

@frostworx
Copy link

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

@v1cont
Copy link
Owner

v1cont commented Jul 25, 2021

is that behavior reproducible in a git version?

@frostworx
Copy link
Author

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

@frostworx
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants