-
Notifications
You must be signed in to change notification settings - Fork 1k
[Regression] file transfers widget is too small when images are transferred #3042
Comments
Not sure what commit removed their padding but it should be reverted |
857dfbc is the first bad commit
Introduced in #2953. With 857dfbc reverted issue is gone. cc @Talkless |
Oh damn.. I see now. I was using picture with white background while developing, so I failed to see that strange layout problem. Gonna try to make take 2. Thanks for report. |
I need help with Git. How could I "replay" these bad change on top of current head to start work on improved version? If I do just |
@Talkless well, the bad change is still there, so it doesn't need to be replayed. What you probably would want to do, is to revert the change, and from there add functionality again without the bug. to revert without committing any changes:
and from there you can start adding stuff from 857dfbc, and check what causes the bug. |
Oh OK so I just make a fix on top. |
It looks like that Qt::KeepAspectRatioByExpanding makes picture overflow from QPushButton area. Behaviour is much different compared to QLabel... Still working for a solution. |
Looks great :)
Dunno, green seems fine to me. I guess that it's fine to keep it, unless someone will complain..? |
Brief description: Images in file transfer widget aren't displayed properly any longer, and they're visible "outside" of the file transfer widget
Operating System: Gentoo x86_64
qTox version: 252c9c8
Qt: 5.5.1
Reproducible: Always
Steps to reproduce:
Observed Behavior:
Visible corners of pictures, file transfer widget is smaller than it is supposed to be.
Expected Behavior:
Corners of pics aren't supposed to be visible, widget shouldn't be that small.
Additional info:
![before](https://camo.githubusercontent.com/570a4b5ed60d026df982ecbf0875ee5c76ac1ea98da1785be2df09ddb2d5660d/68747470733a2f2f692e696d6775722e636f6d2f6877476d44654b2e706e67)
Before regression:
Currently:
![regression](https://cloud.githubusercontent.com/assets/3148759/13995909/47832bcc-f123-11e5-8da5-f95f53e3223c.png)
The text was updated successfully, but these errors were encountered: