Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Qt application DAMAGES its toolbar/menu ICONS after some time...
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt application DAMAGES its toolbar/menu ICONS after some time...

Scheduled Pinned Locked Moved General and Desktop
14 Posts 4 Posters 5.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mkae
    wrote on last edited by
    #1

    Hi, I've ran into a weird problem with my application's icons. At first my program runs fine, but after some time of operation some or all application icons get damaged.

    The toolbar icons seem to get damaged for some unknown reason. The icons look as if there is some sort of offset introduced which makes them look skewed or torn apart somehow. I wished I could add an png to this post to illustrate what I am talking about.

    I am on OpenSUSE 11.3 with Qt 4.6.3.

    I am wondering whether this is actually due to a too old Qt or whether it's a graphics card issue...

    In fact the same problem occurs with OpenSUSE's Updater Applet icon in KDE's toolbar!!!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Sounds strange indeed, a screenshot would help a lot. Have you tried recompiling the app with newer versions of Qt? Or updating OpenSUSE (11.3 is pretty old now)?

      (Z(:^

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mkae
        wrote on last edited by
        #3

        Unfortunately I am bound to OpenSUSE 11.3, right now. No chance I could update that.

        No, I haven't tried a newer Qt, since that's the one which comes with it.

        (I have built the same app on MacOSX, however, and there I do not see any such thing.)

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mkae
          wrote on last edited by
          #4

          Ah, well, I wished I could add a screenshot to this forum, but I don't see how (w/o using some public web space which I've never used up to now).

          1 Reply Last reply
          0
          • D Offline
            D Offline
            dangelog
            wrote on last edited by
            #5

            Just put your image on sites like imageshack or tinypic and put the URL here?

            Software Engineer
            KDAB (UK) Ltd., a KDAB Group company

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mkae
              wrote on last edited by
              #6

              OK, will try to do that on Monday. :-)

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mkae
                wrote on last edited by
                #7

                Here is the OpenSUSE updater applet taskbar icon:

                • undamaged: http://tinypic.com/r/28mfprp/5
                • damaged: http://tinypic.com/r/osy3id/5
                  showing this error as occurring in a core KDE 4 application.

                And here is my program which self-destroys all of its toolbar icons after a while:

                • undamaged: http://tinypic.com/r/2czebk5/5
                • damaged: http://tinypic.com/r/chp4h/5

                Any clue as to what may cause such level of destruction?

                P.S.: Actually I haven't seen this on a OpenSUSE 11.4 yet... Looks like it's really a Qt issue.

                1 Reply Last reply
                0
                • sierdzioS Offline
                  sierdzioS Offline
                  sierdzio
                  Moderators
                  wrote on last edited by
                  #8

                  Used to happen in old KDE builds (by old I mean like 1 year ago), and affected widgets and menus. Didn't happen to me in a while.

                  (Z(:^

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mkae
                    wrote on last edited by
                    #9

                    The question is how to avoid this issue. :-/

                    Looks like the only choice I have is to upgrade my OpenSUSE. :-|

                    Which I currently can't do. 8-(

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mkae
                      wrote on last edited by
                      #10

                      Via IRC I got the advice that switching to a newer KDE would be possible when using the repo
                      @/repositories/KDE:/Distro:/Stable/openSUSE_11.3@

                      I'll see whether I can achieve that.

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        mkae
                        wrote on last edited by
                        #11

                        In the meantime the repo has vanished at http://download.opensuse.org/repositories/KDE:/Distro:/Stable/ :-(

                        I luckily got it mirrored just before that happened, but somehow I can't find the switcher in YaST ( http://dl.dropbox.com/u/10573557/Switcher Pics/kde47_switch.png ) so that I begin to believe that I won't be able to upgrade my old 11.3 to a newer KDE version. :-((

                        1 Reply Last reply
                        0
                        • ? This user is from outside of this forum
                          ? This user is from outside of this forum
                          Guest
                          wrote on last edited by
                          #12

                          Damage is such an inappropriate term for this typical case of corruption :) Not that this is a literature forum or anything, but still it is always a good thing to improve on your terminology :)

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            mlong
                            wrote on last edited by
                            #13

                            Offtopic, but...

                            bq. Damage is such an inappropriate term for this typical case of corruption

                            Not to make too much of it, but as a native speaker, I think it's a quite appropriate term. In fact, it's the exact term my colleagues and I have traditionally used when we have that kind of graphics corruption in our apps.

                            Software Engineer
                            My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              mkae
                              wrote on last edited by
                              #14

                              Well, it looks like I have spotted eventually the culprit for this effect.

                              I had to replace the driver for my graphics card (NVS 290) with NVIDIA's proprietary driver due to a problem with the noveau driver. The latter actually caused quite a few system hangs!

                              After the driver change the icon-damaging did not appear anymore.

                              NOVEAU was responsible for both problems.

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved