QIconFromTheme won't change when you change theme in Ubuntu (Bug?)



  • Tell me i am right, in my application (Wallch), i just saw it.. the icons that are in the menubar are from the new theme i installed, but the buttons in the mainwindow like the +Add +Addfolder are from the default theme of Ubuntu . Why?

    !http://i.imgur.com/otKfU.png(Screenshot)!

    You see the Add files in the menubar and the +Add button should have the exact same icon because i have set the same iconfromtheme icon...

    If you think it is a bug, which Component/s should i select in my bug report?

    [edit: fix picture link, koahnig]


  • Moderators

    I don't see anything that I would not expect here. A button gets an icon and uses it. Why should it change the icon if you do not ask it to?



  • Sorry do you see the button Add?
    Do you see the action Add files?
    I have set to both of them QIconFromTheme=list-add

    Do you see that they have different icons? Why? Because the action add files takes the QIconFromTheme=list-add, from the current theme installed, but the button add takes the QIconFromTheme=list-add from the default theme of Ubuntu.. Isn't that weird?(Bug?)



  • Not sure but maybe the new theme only offers the respective icon for menu sizes (16x16 or so) and thus for larger sizes as on the button (32x32) your operating system falls back to the default theme.



  • [quote author="DerManu" date="1346534257"]Not sure but maybe the new theme only offers the respective icon for menu sizes (16x16 or so) and thus for larger sizes as on the button (32x32) your operating system falls back to the default theme.[/quote]

    Hmm no, if i set the size of icon of the buton in 16x16, or even 12x12 still the same..



  • So i quess i must report it as a bug.
    which Component/s should i select in my bug report?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.