Page 1 of 2 12 LastLast
Results 1 to 20 of 70

Thread: Qt 4.3.0 lots of Bugs!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Quote Originally Posted by VireX View Post
    Really did they beta test for 1 week, because...
    Beta tests are when the product is released to the public for everyone to test. Did you test 4.3 beta (it was released almost three months ago)?

    You metion "lots of bugs", but so far you gave only six examples of differences you have encountered after the upgrade. Just like Marcel noted, first make sure that they are really caused by bugs and not because you have relied on some undocumented features. We will happily help you to verify that, but we will need some code to be able to reproduce that behaviour.

  2. #2
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    No they're definitely bugs, because, when you change from 4.2.3 to 4.3, it works good in 4.2.3, but in 4.3 it makes it worse than it is. This is called a bug because its an unforeseen effect of code changes in 4.3 that isn't for the better.

    I didn't use any "undocumented" anything, I used correct ways to do everything according to 4.2.3, and I have attempted to fix it using the 4.3 docs, but its unfixable because of internal bugs.

    Example, the QAbstractItemView is buggy, if you add buttons to a TableWidget to like a column of cells, (large one), and then also add some text to that cell, SetItemText, and SetWidgetItem etc, and if you keep pressing sort a bunch of times, buttons will start disappearing. This is truly a bug... I would report it, but it may already been reported, I don't see how it can be missed by 3 months of testing, unless people are not testing stuff.

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Quote Originally Posted by VireX View Post
    Example, the QAbstractItemView is buggy, if you add buttons to a TableWidget to like a column of cells, (large one), and then also add some text to that cell, SetItemText, and SetWidgetItem etc, and if you keep pressing sort a bunch of times, buttons will start disappearing. This is truly a bug...
    Could you post a minimal compilable example for us to test?

    Quote Originally Posted by VireX View Post
    I would report it, but it may already been reported,
    Then check it: http://trolltech.com/developer/task-tracker
    The Trolls can't fix bugs they aren't aware of.

    Quote Originally Posted by VireX View Post
    ...unless people are not testing stuff.
    Exactly. You complain about the outcomes of beta tests, but did you participate in them?

  4. #4
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    No because Beta doesn't give out a compiled installer with all the DLLs etc... I couldn't participate because I cannot waste my time to figure out how to compile Qt from source code.

    I'm trying to recreate it, but I can't recreate it in a small app, only in my own app something is missing. Maybe only happens when the thing is overloaded like my main app. With lots of buttons and rows. I will keep trying.

    I also checked tracker i didn't see anything but I dont know whether its been reported under a different name or title etc.

    Meanwhile I think Qt changed its TransformationMode, so that when Border-Image is resized, using QImage, it uses TransformationMode = Quick instead of smooth like it usually does, so I think that's the cause of 99% of my blurry images. What do you think?

  5. #5
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Oh btw here I reproduced this bug... so easy... Sorting is broken.

    Qt Code:
    1. #include <QtGui>
    2.  
    3. int main(int argc, char *argv[])
    4. {
    5. QApplication app(argc, argv);
    6. qt->verticalHeader()->setVisible(false);
    7. qt->setSortingEnabled(true);
    8. qt->sortItems(0, Qt::AscendingOrder);
    9. qt->setRowCount(75);
    10. qt->setColumnCount(2);
    11. QTableWidgetItem *__colItem = new QTableWidgetItem();
    12. __colItem->setText(QApplication::translate("t", "test", 0, QApplication::UnicodeUTF8));
    13. qt->setHorizontalHeaderItem(0, __colItem);
    14. for(int i = 0; i < 75; i++){
    15. ax[i] = new QTableWidgetItem(QString("Ebeeef%1").arg(i));
    16. qt->setItem(i, 0, ax[i]);
    17. qt->setCellWidget(i, 0, new QPushButton("ff"));
    18. }
    19. qt->show();
    20. return app.exec();
    21. }
    To copy to clipboard, switch view to plain text mode 

    I reported it to TaskTracker, but they said "mail sent" and didn't put it on yet....
    This is definitely a bug.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default

    Quote Originally Posted by VireX View Post
    No because Beta doesn't give out a compiled installer with all the DLLs etc... I couldn't participate because I cannot waste my time to figure out how to compile Qt from source code.
    So don't complain it's not tested. Others are wasting their time so that you can use a well written product for free (both as in free beer and free speech). Why not return the favour?

    I'm trying to recreate it, but I can't recreate it in a small app, only in my own app something is missing. Maybe only happens when the thing is overloaded like my main app. With lots of buttons and rows.
    Or maybe the bug is in your code and not Qt's I think that if that happens to be the case, you should officially promise to compile and test Qt4.4 beta when it comes out and report any bugs you should find.

    I also checked tracker i didn't see anything but I dont know whether its been reported under a different name or title etc.
    You can try using the search engine...

    Meanwhile I think Qt changed its TransformationMode, so that when Border-Image is resized, using QImage, it uses TransformationMode = Quick instead of smooth like it usually does, so I think that's the cause of 99% of my blurry images. What do you think?
    Actually Qt by default uses FastTransformation and it has always been like that. Please attach the picture along the QSS you have in your code that causes it to be blurry. Better yet provide a simple single function code for us to help you test it.

    Quote Originally Posted by VireX View Post
    Oh btw here I reproduced this bug... so easy... Sorting is broken.
    In what way broken? What did you expect to see and what did you receive?

    I reported it to TaskTracker, but they said "mail sent" and didn't put it on yet....
    It's middle of the night in Norway, let them come to work, read your mail and verify the bug first... You should receive an automatic reply stating your report has been received and somebody should get back to you on the report within upcoming days.

  7. #7
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    1. It's easy for them to compile since they compile it constantly to test, so why can't they just include everything the way it is in installer like lib folder and bin folder?? Is that so hard, forcing me to compile it myself just makes me run away as well as thousands of other potentially good testers. That's their fault not mine. And I will complain if it's not tested well because that is what all programmers do with their client. I tried to participate, but i couldn't find any compiled files.
    2. It's not in my code, why would my code suddenly decide its not gonna work when I switch from 4.2.3 to 4.3.0, that makes no logical sense.
    3. I did use the search engine.
    4. Then why is my images messed up now? It's blurry, I don't have a screenshot of old version, but I am telling you it's blurry, all I had in CSS was:
    border-image: url(Stuff.png) 3;
    border-width: 3;

    It's a round circle button. Something changed, and now all the border-image stuff is wrong, example when it stretches instead of a smooth transition in a gradient, where you dont see the lines of color changes, now you can actually see the gradient changing color every 5 lines in big images. In addition, buttons that are just not repeating or stretched using border-image are blurred or choppy/pixelated. Test it, it's simple, just make a round button image in a Qapp, then save as transparent png, and then on QPushButton{ border-image: put the image here. It will do the same to your button.

    I will try and get you one...
    5. I told you, buttons are randomly disappearing from the tablewidget, test the code and you'll see. Only because of sorting etc.
    6. I didn't get an autoresponse... weird... Didn't appear either in tasktracker.

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Quote Originally Posted by VireX View Post
    Oh btw here I reproduced this bug... so easy... Sorting is broken.
    I've compiled your example using Qt 4.2.3 and got this:
    ss1.png

    Are you sure that the problem is really with the transition from 4.2.3 to 4.3.0?

  9. #9
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Yep, see you can see the bug too.
    This didn't happen in 4.2.3, in 4.2.3 this would have all the buttons there, no Ebeef etc.

    And I'm not gonna resubmit this bug to tasktracker again, I typed a lot of stuff in that form, submitted it and i got a screen saying "mail sent", and I never got an email, nor did my bug appear anywhere...

  10. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Quote Originally Posted by VireX View Post
    Yep, see you can see the bug too.
    But that particular bug is in your code.

    Look:
    Qt Code:
    1. ...
    2. qt->setSortingEnabled(true);
    3. qt->sortItems(0, Qt::AscendingOrder);
    4. ...
    5. for(int i = 0; i < 75; i++){
    6. ax[i] = new QTableWidgetItem(QString("Ebeeef%1").arg(i));
    7. qt->setItem(i, 0, ax[i]);
    8. qt->setCellWidget(i, 0, new QPushButton("ff"));
    9. }
    10. ...
    To copy to clipboard, switch view to plain text mode 
    First you tell Qt to sort all of the items alphabetically and then you add them in non-alphabetical order, so Qt has to sort the items after every setItem(). In result you invoke setCellWidget() either zero or more than once on certain cells.

    The proper way to do it is:
    Qt Code:
    1. for(int i = 0; i < 75; i++){
    2. ax[i] = new QTableWidgetItem(QString("Ebeeef%1").arg(i));
    3. qt->setItem(i, 0, ax[i]);
    4. qt->setCellWidget(ax[i]->row(), 0, new QPushButton("ff"));
    5. }
    To copy to clipboard, switch view to plain text mode 

    It works fine on Qt 4.2.3, but on Qt 4.3.0 there's indeed some problem with cell widgets and sorting.

  11. #11
    Join Date
    May 2006
    Location
    Germany
    Posts
    108
    Thanks
    2
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Quote Originally Posted by VireX View Post
    Oh btw here I reproduced this bug... so easy... Sorting is broken.
    I compiled this code with Qt 4.2.2, Qt 4.2.3 and Qt 4.3.0 and it always looks and behaves the same. What should the bug be, specifically?

    OS: Windows XP Pro SP2
    Compiler: MSVC 2005
    "If you lie to the compiler, it will get its revenge." - Henry Spencer

  12. #12
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    The bug is that it doesnt sort it properly, it makes random buttons disappear, this makes absolutely no sense. I dont understand your question.

    Yes you are right jacek, but it is just weird that it somehow worked in 4.2.3 and not in 4.3.0

  13. #13
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Ok I found a way to compare the two and show you... One image is from PHotoshop, the other is the result from border-image... See how it pixelates the borders? Started in Qt 4.3, because of the new "divide into 9 equal parts and only stretch middle pieces appropriately", whatever this was done for, I guess maybe for optimization? Or just the fact that they poorly tested this or documented it. And it's not just me saying this, many of my Qt friends are saying this so dont just blame me. Either way, they didn't need to fix what was NOT broken.




    See the pixely borders? Why, it was looking so sweet in 4.2.3, why did they need to do this? Feel free to post this on TaskTracker for me, because I dont think TaskTracker likes my email.

    If you cannot see it, zoom in on the image, the inner button, the inner-circle is the one used in border-image, not the outer circle, outer circle is FINE. Notice the places its pixelated? Basically It looks like they cut up that image into 9 pieces, and stretched the middle parts, exactly as the docs say... its a horrible idea, nothing matches now. Always messed up corners in almost ALL my border-images.
    >>---

    As for the Sorting problem, this also worked perfectly in 4.2.3, why would they change sorting in 4.3, when it worked fine in 4.2.3? I dont even see this in the change logs. And Jacek showed me how to fix my SAMPLE APP, buttttt, I cannot do this in my own application because of the way I programmed it, it would take a lot of rewriting of major classes to fix it that way.

    Also, what I've noticed is, that when a button disappears it replaces the wrong area.. Like if you load the list VIA sortItems, and enable sorting, everything looks fine, but when you click sort, u see a blank button in row 3... but now row 73 (3 from last), has row 3's button... so weird.

    >--- EDIT: Nother bug to our big list.. should 4.3.0 be recalled? :P ----<
    deleteLater() on any window, then you try exiting App... QApplication doesn't exist.
    Last edited by VireX; 11th June 2007 at 04:38. Reason: more bugs

  14. #14
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt 4.3.0 lots of Bugs!

    Quote Originally Posted by VireX View Post
    Yes you are right jacek, but it is just weird that it somehow worked in 4.2.3 and not in 4.3.0
    Your code was incorrect so you can't assume it worked in 4.2.3. The sorting issue might be caused because of the fact that the items with cell widgets don't contain any DisplayRole data. You could check what happens if you add some text to it.

    Quote Originally Posted by VireX View Post
    And I'm not gonna resubmit this bug to tasktracker again, I typed a lot of stuff in that form, submitted it and i got a screen saying "mail sent", and I never got an email, nor did my bug appear anywhere...
    It was 2 AM in Norway when you sent the mail! Please let people working in Trolltech come to work and download your email. When they do, the info email about the report being received will be sent to you. If you have a commercial licence, then email or phone your support and ask for help. If you're using the free licence - don't use arguments that contain the word "client" in them, because you're not Trolltech's client, so they don't have to give you anything. And there is a perfectly good reason why unstable code is not shipped in binary form.

    Quote Originally Posted by VireX View Post
    Started in Qt 4.3, because of the new "divide into 9 equal parts and only stretch middle pieces appropriately", whatever this was done for, I guess maybe for optimization?
    Correct me if I'm wrong, but border-image used to cut the image in 9 pieces in Qt 4.2 as well and it complies with what the CSS standard says. It's what it was actually meant to do...

    Or just the fact that they poorly tested this or documented it. And it's not just me saying this, many of my Qt friends are saying this so dont just blame me. Either way, they didn't need to fix what was NOT broken.
    Please reproduce the error using code and not using Photoshop.


    Feel free to post this on TaskTracker for me, because I dont think TaskTracker likes my email.
    At 2am I wouldn't like your email either

    Basically It looks like they cut up that image into 9 pieces, and stretched the middle parts, exactly as the docs say...
    So that's exactly what it's meant to do, right?

    And Jacek showed me how to fix my SAMPLE APP, buttttt, I cannot do this in my own application because of the way I programmed it, it would take a lot of rewriting of major classes to fix it that way.
    So after all it is you who has buggy code

    deleteLater() on any window, then you try exiting App... QApplication doesn't exist.
    Example code, please.

  15. #15
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Your code was incorrect so you can't assume it worked in 4.2.3. The sorting issue might be caused because of the fact that the items with cell widgets don't contain any DisplayRole data. You could check what happens if you add some text to it.
    My code was not incorrect in 4.2.3, as it worked at that time, and you yourself (or perhaps it was jacek cant remember) suggested that I do setItems under the setCellWidget.

    It was 2 AM in Norway when you sent the mail! Please let people working in Trolltech come to work and download your email. When they do, the info email about the report being received will be sent to you. If you have a commercial licence, then email or phone your support and ask for help. If you're using the free licence - don't use arguments that contain the word "client" in them, because you're not Trolltech's client, so they don't have to give you anything. And there is a perfectly good reason why unstable code is not shipped in binary form.
    I guess you're trying to tell me that trolltech does not know how to use server-side coding or something, because I don't believe CODE looks at time and goes "Oh well I am not going to send an auto-response at this time of night"

    Correct me if I'm wrong, but border-image used to cut the image in 9 pieces in Qt 4.2 as well and it complies with what the CSS standard says. It's what it was actually meant to do...
    Yes that's true, I compared the 4.2 and 4.3 docs, but for some reason, now, it doesn't work well.. Try it yourself, make a gradient about this size from black to gray, [________]
    its a small image, about 100px width by 30px height; ALSO make sure you put a small 1 px border around this image in a light gray color, and make sure the gradient looks like a rounded border-radius box. Now, make a laaaaarge TreeWidget, make it about 100widthX700 height. Now set the border-image on that, border-width 2. Run the program, and you will see how horribly Qt likes to render your gradient.

    But perhaps this has something to do with the "experimental DX code" that I read somewhere in the changelogs.

    Please reproduce the error using code and not using Photoshop.
    How many times do I have to explain to you how to reproduce it, have you tried to reproduce it with code? This is an image rendering problem, not a code problem, its a code problem inside Qt not outside.
    At 2am I wouldn't like your email either
    Code doesn't care about time.

    So that's exactly what it's meant to do, right?
    Yes but in Qt 4.2.3 it did this smoothly, but in 4.3.0, it pixelates it like as if saving your image in a bad quality.

    So after all it is you who has buggy code
    No, because if a code works fine in one version, then next version your code is somehow now labeled buggy, that means either the documentation for 4.2.3 was wrong, or 4.3.0 documentation is wrong. Because they both dont say anything about how I coded it as being wrong. If in 4.2.3 it worked, and 4.3.0 it doesn't it means someone in Qt changed the code for that in a bad way, and downgraded Qt's code for that purpose.

    Example code, please.
    I explained to you the problem, you can try it yourself, I can't post code for every time one of my friends comes to me and tells me that Qt is bugged because of whatever reason.

    My question to you is this... How come I couldn't find a single bug in 4.2.3, yet I can find at least 10 in 4.3.0.... There is obviously a reason for this.

  16. #16
    Join Date
    May 2006
    Location
    Germany
    Posts
    108
    Thanks
    2
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Quote Originally Posted by VireX View Post
    *stuff*
    No code - no help. Stop wasting our time with posts like the ones you made in this thread. If you have a problem, supply a minimum compilable example (or if not possible, at least the code around the area which is causing trouble).
    "If you lie to the compiler, it will get its revenge." - Henry Spencer

  17. The following 3 users say thank you to Methedrine for this useful post:

    krawek (12th June 2007), mm78 (11th June 2007)

  18. #17
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    I supply tons of code examples, only to be said "thats your fault", when its clear as DAY that its a QT bug. I proved to you the bug, by showing you the example that jacek even admited was wrong by Qt to mess the cell widget up. That code would work fine in 4.2.3, what went wrong?

    The graphics bug, I cannot post the code, because I dont know whats causing the bug, I told you to try to put a border-image on a complex image, and you will see it yourself, if you don't see it yourself, I'm sorry, but I can't post any code, if I did I would have to post code for 5000 lines or so.

    I'm not wasting your time, I'm telling you theres a bug, and telling you exactly how it happened, and explaining why it might be happening, I can't post the code for border-image, because if it's not as simple as I explained to recreate, then it's very difficult for me to find out whats causing it and what "Area" of code to post.

  19. #18
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    I fully agree with Methedrine.
    From the start, your tone is complaintative and arrogant.
    I have used Qt since version 2.3, and came across things that MIGHT be bugs VERY seldom.
    Qt is meanwhile a very mature kit, and the likelihood that you stumble on a bug (or so many as you claim) is highly unlikely, specially, since from your own code it is evident, that you are no C++ guru, and many trolls are.
    So, first, my advice to you, change your attitude, it is not good for your blood pressure and ulcerous.
    Second, a bug is only then a bug when you use a CORRECT code, in the way it was supposed to be used, and then the effect is not the documented/expected effect.
    Since you did not provide such reproduced bug behaviour code, you can't claim bug, and only then you might claim it a bug, and even then you should use "maybe", and not that assertive and frankly irritating tone.

    And - your tone is not in place even if you were fully right from the start.
    As long as you are not paying for the product, there is no room for such complaintative tone.

    Don't get me wrong.
    Its not that we are not interested to know of new bugs - quite the contrary.
    But instead of so many words and posts that actually bring nothing, just post a short post with bug description and example code, that reproduced what you think is a bug.
    No need to use degrading and arrogant language.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  20. #19
    Join Date
    Oct 2006
    Posts
    42
    Thanks
    1
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    Quote Originally Posted by VireX View Post
    How come I couldn't find a single bug in 4.2.3, yet I can find at least 10 in 4.3.0.... There is obviously a reason for this.
    One of the reasons could be bad eyesight. You don't seriously believe that there were no bugs in 4.2.3? Actually, it's not at all impossible that your code worked with 4.2.3 because of bugs in 4.2.3, and that it doesn't work with 4.3.0 because those bugs were fixed. And referring to an earlier post in this thread: such a bug would be an instance of "undocumented feature". Something that wasn't meant to work accidentally works - just by chance. Never ever write code that depends on undocumented features unless you can accept that your code might break in the future.

    Also, it's quite obvious that you're capable of reproducing the bugs you're complaining about so you must have some code. Why don't you post your code for us? If you can't even be bothered to post your code then why on earth would we be bothered to write it? After all these are your problems - not ours - and most of us don't get any sort of kick out of helping fussbudgets such as you.

    My advice to you is simple: stick to 4.2.3 or post your code. Read this and try out the beta next time. It really isn't that hard nor time consuming to compile Qt. And again, if you can't be bothered why would we?

    Edit: How can it be clear as the day that this is a Qt bug, and how come you know how it happened and why it might be happening, when you don't know what is causing it or even which area of your code is triggering it?
    Last edited by mm78; 11th June 2007 at 21:41.

  21. #20
    Join Date
    Jan 2007
    Posts
    209
    Thanks
    34
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.3.0 lots of Bugs!

    When you make a program with 1000s of lines of code, and then switch to 4.3.0 to find half your code broken, anyone with a brain would consider this a bug in 4.3.0 not a bug in 4.2.3. If it worked by chance, why would they need to fix it?

    I am not blind, because I know bugs exist in 4.2.3, but I haven't encountered any of them in my experience, because they are very few and rare. I may have encountered one or two, but I fixed them with work-arounds, it wasn't anything that is similar to the bugs in 4.3.0 which I cannot do anything about, because I am powerless, as these fixes or bugs or whatever, are not fixable, and I have tried for several hours.

    I will test any beta, to help out. But I am not going to test some code thats about 5 folders with 30 pieces of code each, and compile that, when i know that has problems in the past. I hate compiling other people's large code, because it always has tons of compiler errors and it's undocumented. And it's incredibly time consuming. You get me the dlls and libs in mingw form, and I'll test them for you any time you want. But I don't see why Qt would force people to compile it themselves when Qt can easily compile it themselves and put a small download link of zip, I dont need an installer either. I don't give my beta programs to my clients as SOurce code... I give them a working compilable version of my program.

    I didn't add any feature to my program that was UNDOCUMENTED, sorting is quite well documented, and so is setCellWidget, I see no message such as "If you use sorting, don't use cellwidgets, because your buttons may disappear" and I don't see any message such in border-image documentation about "In qt 4.3.0, we changed some things so that some border images may become pixelated and blurry, to fix this do this this and that.", it worked fine in 4.2.3, why change the way it renders border-image??

    It's clear as day it's a Qt bug, because it worked in 4.2.3, and it stopped working in 4.3.0, even though by the documentation I followed, my methods are correct. If they are wrong, then why wasn't a proper method mentioned in the docs of those functions?

    I bothered enough to post tons of code for you to try, I even typed many paragraphs explaining how you can recreate it. I also told you other information as to what might be causing it, but I cannot pinpoint it since I do not have the Qt source in front of me or no my way around it. That is why I won't post code, because it is unrelated to my code.

    EDIT @wysota:
    First of all with Qt 4.3 I wouldn't use an image for a gradient because Qt can make one for me without problems. The behaviour you describe seems perfectly normal. If you stretch an image, it gets distorted. What's so unusual about it? What would you expect it to do?
    Yes, but why would I type 10 lines to make gradients + a nice rounder border, when I can just do border-image: url() ? If I stretch an image it will get distorted you are correct sir, but Qt 4.2.3 had code that enhanced rendering, so that when you do stretch it, it stretches it appropriately, and makes it look perfect. While in 4.3.0, someone removed that code so that it stretches it in a bad pixelated way.

Similar Threads

  1. Help needed handling image data
    By toratora in forum General Programming
    Replies: 2
    Last Post: 11th May 2007, 09:24
  2. how i can add image in my toolbar
    By jyoti in forum Qt Tools
    Replies: 7
    Last Post: 19th December 2006, 14:39
  3. Fast image drawing/scaling in Qt 3.3
    By eriwik in forum Qt Programming
    Replies: 1
    Last Post: 21st June 2006, 10:45
  4. How and when to repaint a widget ?
    By yellowmat in forum Newbie
    Replies: 7
    Last Post: 3rd April 2006, 16:36
  5. Question about updating an image on screen
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2006, 19:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.