-
Notifications
You must be signed in to change notification settings - Fork 1
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
qtcurve-qt4-1.8.14: poor rendering of "up" icon with 'V' style arrows enabled in Qt apps #3
Comments
Thank you very much for the bug reports (as well as QtCurve/qtcurve-gtk2#2). I will try my best to fix them. However, as you may know, I am not the original author. I am still reading the code myself and I can only spend a little time on it so it may take relatively a long time to fix. I'm sorry if this will cause any inconvenience to you. Meanwhile, any bug report and, especially, patches are REALLY welcome. |
I see. I'd contacted Craig before and he said that he doesn't actively develop qtcurve anymore. I understand that you are most probably working on qtcurve in your free time, so no problem if fixing will take a while. Unfourtunately, I don't have much free time myself and even worse my knowledge of C++ is low and GTK and Qt are completely unknown to me. I'd be glad to help you with patches, but it is impossible right now. Maybe I'll be more of use in autumn when I hope I'll have more spare time. |
Would you like to become the upstream developer of this project officially? Craig said many times that he stopped developing it. I think he will be happy if someone continue the work. We may ask him about this. |
@Coacher Can you give bf0d2dc a try. It seems to fix this issue here at least. According to the comment, antialiasing was disabled probably because of the blur looking, however I personally cannot see any here. Please let me know if there is an unacceptable blur somewhere. @tehnick I would love to and that's the reason I asked Craig for the original svn repos. He seems to be happy with that and here's the reply.
At the same time, I am not that familiar with the code (even some options actually) yet and I hope putting the repo on github can make it easier for people to contribute. |
@yuyichao going to test it soon. Turns out git has deviated from the last release quite much so the patch won't just apply as is (aside from style/ -> qt4/ migration which I've taken into account). |
Try this
|
Oh thanks, but I've simply did minor changes to your commit mentioned above and it helped, kind of. The arrows are indeed became blurry near their 'tails', but they are all symmetric now. I must say I liked previous non-antialisaed look more. :( Here's the example of how it is rendered now: http://13p.imghost.us/HP3/test.png |
There is no need in separate svn repo now. He may join to this project on GitHub.
Exactly. This simplifies cooperative work a lot. |
@tehnick That email was sent before he published the commit history and all these repos are svn2git'd from his svn repos @ googlecode. |
@Coacher I will probably leave it like this for now. I'm not sure why only the up arrow was asymmetric but at least this seems to be the right function to solve the problem. Probably keep this issue open before a better solution is found. |
Ok. Thanks for an explanation. |
@yuyichao ok, fair enough. |
Since this issue has appeared after upgrade to Qt-4.8.5 if I remember correctly, my guess that it has something to do with Qt itself rather than with qtcurve. After some search I found these bugreports which could be related: |
@Coacher Thank you very much. The patch for the third bug (which is the only one that is not released yet) is actually already merged in the official ArchLinux package but the shape of the v arrow still looks terrible. A quick test of the example in the bug report shows the following result. |
I wrote a minimum script in pyqt to demonstrate how qtcurve draws the v-arrow https://gist.github.com/yuyichao/753fc4b2e85fb27b31dc Here is my result for qt5 (5.1.1), Since the two version looks very different and the qt5 version looks terrible, I guess there is something wrong with qt. It will be very helpful if you can check how it works with older version of Qt as a comparison, otherwise, I will just report the bug to Qt with my current results. |
Upstream bug report here. |
(keep open until fixed upstream). |
Same results on Debian virtual machine. Voted for upstream bug. Thank you for reporting! |
Just an update, a Qt dev told me yesterday that they are busying with other stuff but will have a look at this issue in 1-2 weeks.. |
Update: For Qt5, I haven't been able to find a good commit yet. 5.0.0 is bad (and is worse than any qt4.8 versions) and I am trying to go further. However, the build system was not really ready for those versions yet and there also seems to be some refactoring going on so I'm not sure if I will have any luck doing this. More details in the Qt bug report. |
Hello.
There is an issue in qtcurve-qt4 which makes "up" icon rendering be different from "down" icon and looking pretty bad. Here's the link with the picture illustrating this bug:
http://13p.imghost.us/GN/bug.png
As you can see "up" button icon is rendered assimetrically while "down" button icon is rendered fine. This happens in all Qt apps, this screenshot was made from qtcurve configuration tool. Theme used is default "Murrine" with enabled 'V' style arrows. GTK apps using gtk-engines-qtcurve are not affected: "up" button drawn properly there.
I am using gtk-engines-qtcurve-1.8.16, qtcurve-qt4-1.8.14 on Gentoo amd64 machine, my Qt is 4.8.5 and GTK+ is 2.24.17. If you need any other info I am ready to provide it.
The text was updated successfully, but these errors were encountered: