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

Text being cut in the About dialog #22180

Closed
dalthviz opened this issue Jun 19, 2024 · 3 comments · Fixed by #22286
Closed

Text being cut in the About dialog #22180

dalthviz opened this issue Jun 19, 2024 · 3 comments · Fixed by #22286

Comments

@dalthviz
Copy link
Member

dalthviz commented Jun 19, 2024

Problem Description

Some text gets cut in the About dialog (at least on Windows on my setup while checking the Spyder 6 beta2 rc0 installer - https://github.com/spyder-ide/spyder/actions/runs/9573557891):

image

What steps reproduce the problem?

  1. Launch Spyder
  2. Open the About dialog (Help > About Spyder)

What is the expected output? What do you see instead?

Be able to see the full content of the About dialog

Versions

  • Spyder version: 6.0.0b2.dev174 (standalone)
  • Python version: 3.11.9 64-bit
  • Qt version: 5.15.8
  • PyQt5 version: 5.15.9
  • Operating System: Windows-10-10.0.19045-SP0
@ccordoba12
Copy link
Member

ccordoba12 commented Jul 14, 2024

@dalthviz, I'm unable to reproduce this problem on my VM:

imagen

As you can see, I added more empty lines to the label on that tab. However, since it's placed inside a scroll area, a scrollbar should be shown when the contents don't fit into the available space.

I don't understand why the scrollbar is not shown in your case, but I can't test our installer because my VM is too old (Windows 7). However, this shouldn't be a problem for stable releases (in your case, I think what caused the content to not fit is the very long Spyder version on the left).

So, could you test what's shown with the beta2 installer? Also, please check all tabs, not just the first one. Thanks!

@dalthviz
Copy link
Member Author

Checked and this happens from me when I launch from the latest beta available (beta2) and also from source/using python bootstrap.py:

  • From the Spyder 6.0.0b2 installer:

about_dialog_beta

about_dialog

@ccordoba12
Copy link
Member

ccordoba12 commented Jul 16, 2024

Ok, then I'm going to assign this issue to you. A simple solution could be to increase the width of the dialog a bit here:

size = (600, 460) if MAC else ((580, 450) if WIN else (610, 455))

That way the PyQt5 5.15.9 line wouldn't be broken into two ones, which should show the social media links below without problems.

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

Successfully merging a pull request may close this issue.

2 participants