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
Display problems in v3.0.10! #758
Comments
Can you post a pic that shows how it should look with 100%? |
I suppose he means that increasing fonts size yields those results. |
Damn. On WindowsXP increasing the dpi to 150% shows the same problem. The row's height doesn't get increased correctly. I am currently debuging the problem. |
The problem is with QFontMetrics::height() it returns the same size regardless of the dpi. |
Can we just partially revert that commit, by removing changes made to P.S. Speaking of height. It is possible to have a newline in torrent name (rename by copying text, containing a newline) |
I was investingating if the is another way to get the font height. Unfortunately I found none. So our best "option" is to revert. Actually this fixed another cosmetic bug. When a user scrolls horizontally and the "name" column disappears entirely from the view, the row's height get smaller(at least on Windows XP) and look thinner. The row get's the height of the font, since no image is drawn.
This needs fixing. |
sledgehammer999 commented "Can you post a pic that shows how it should look with 100%?" Still necessary? At 100% the display is ok. |
No. |
Its not just the wrong size it also appears to have alignment problem. Some columns the text seems to be baseline, others top and still others sub. |
When changing the DPI Windows tells you that for the changes to take effect system-wide you need to restart the PC. Did you do that? If not, please do and try again. On my Windows XP box after I rebooted the text was shown correctly. |
I have the same issue. After reboot the alignment problem remains. |
@AltPlusF4 but is the row height big enough after reboot? |
No, it's the same. Win7 x64 here. BTW, let me just thank you sledgehammer999 for all the hard work, it's greatly appreciated. |
You're welcome. @Others Please respond if after reboot it is ok. As it seems I'll have to revert the change, and do a bug report to Qt. |
Screenshot: http://postimg.org/image/wus733gcz/ Thanks to all of you for a great torrent client. |
@sledgehammer999 |
You have the same problem with v. 3.1 alfa. |
@sledgehammer999, still no better solution than partial revert available? |
I am still looking at it. I have marked with the v3.0.11 milestone so I won't forget. Worst case scenario I'll do the partial revert. Currently looking at the delegate code to see how it manages to paint it with the correct DPI even though FontMetrics returns wrong values. |
@sledgehammer999, I cannot test this today, but does |
On Windows FontMetrics seem to be broken when custom DPI is set by the user.
Unfortunately no. |
Torrents have a problem displaying when the Windows 8 is selected to display a larger size for monitor or a large HD TV (125% -150%)
The setting is found in Windows: right clic - personalize - display - change the size of all items-larger -150%
Previous version 3.0.9 had no problems.
OS-Windows 8 x64
http://imageshack.us/photo/my-images/89/zuxl.jpg/
The text was updated successfully, but these errors were encountered: