This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Bad look&feel in Qt applications

Tags: None
(comma "," separated)
alexandernst
Registered Member
Posts
32
Karma
0
OS

Bad look&feel in Qt applications

Wed Apr 24, 2013 8:24 pm
Some Qt applications (Qt Creator for example) look bad in my KDE 4.10.2 (KDE3 style perhaps) and the open file/folder dialog ignores completely the doble-click-to-open rule which works perfectly fine in Dolphin and other KDE apps. Any ideas what could it be?

PS: This is on a fresh installed Arch x64
User avatar
google01103
Manager
Posts
6668
Karma
25
might because it is a QT not a KDE app, there is a qtconfig app that might help (no idea)


OpenSuse Leap 42.1 x64, Plasma 5.x

alexandernst
Registered Member
Posts
32
Karma
0
OS
I already tried qtconfig (and qtconfig-qt4) but it doesn't offer anything for the style per-se nor the one-click/double-click problem.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
I'm not sure you can get pure Qt applications to do single-click -- I think not.
But for the style, you can definitely change that in qtconfig, in the "Appearance" tab.


I'm working on the KDevelop IDE.
alexandernst
Registered Member
Posts
32
Karma
0
OS
Ok, I'll have a look again for the appearance thing. About the click, the thing is that right now Qt applications open files/folders with 1 click, and I want to change it to 2 clicks!

Note that dolphin, plasma and all KDE/GTK applications do open files/folders with 2 clicks (as I set that in SystemSettings -> Input devices -> Mouse -> Double click to open). Any idea what could be making Qt apps open things with a single click?
alexandernst
Registered Member
Posts
32
Karma
0
OS
I just checked qtconfig and I'm already using Oxygen in the "Style" option, but I'm getting some other appearence. I even made a screenshot: http://imagebin.org/255349
User avatar
google01103
Manager
Posts
6668
Karma
25

Thu Apr 25, 2013 4:16 pm
that's not an appearance issue that's the open file dialog being used and it looks like it's using the QT one (it being a QT app), not the KDE one which is what is to be expected, Gnome apps do the same

there is a hack you can try http://www.kde-apps.org/content/show.php?content=36077, the Arch website says it works on qt only apps also but no mention of that on kde-apps.org https://aur.archlinux.org/packages/kgtk/,


OpenSuse Leap 42.1 x64, Plasma 5.x

alexandernst
Registered Member
Posts
32
Karma
0
OS
It's just that it's not only the "Choose file/folder" dialog, but also menus, dialogs, buttons, and everything in general.
User avatar
google01103
Manager
Posts
6668
Karma
25
I have no experience with qt only apps, but it seems to me as they're not KDE apps you shouldn't expect them to look, act and feel the same as if they were not written to adhere to KDE design standards.


OpenSuse Leap 42.1 x64, Plasma 5.x

alexandernst
Registered Member
Posts
32
Karma
0
OS
Well, the thing is that Qt Creator (and Qt dev tools in general) always looked good, so there's something that's going on here. Also, not having KDE's look doesn't explain why the dialog looks like KDE3 while I have "oxygen" as the default style in qtconfig.
User avatar
google01103
Manager
Posts
6668
Karma
25
probably my last post here, cause I don't have any relevant knowledge

Does it look better for a newly created user?

Did this change of appearance happen after the upgrade to 4.10?


OpenSuse Leap 42.1 x64, Plasma 5.x

alexandernst
Registered Member
Posts
32
Karma
0
OS
This is a fresh install, so I'm already using a fresh user in a fresh environment. Everything was working fine before I re-installed my Arch and KDE was at the same version, so this is actually weird.
alexandernst
Registered Member
Posts
32
Karma
0
OS
Oh, I just noticed, actually the weird look (Plastik I'd say) shows up only on Qt5 applications. Maybe this will help to track down the problem?
alexandernst
Registered Member
Posts
32
Karma
0
OS
Ok, I found the reason why it's acting like that: http://stackoverflow.com/questions/1488 ... r-qt-5-app

It turns out that "it's not a bug, it's a feature" (tm). I guess I'll have to wait for KDE5 (haaaaaaaaa, long wait)
User avatar
google01103
Manager
Posts
6668
Karma
25
so you're using qt5? if you have other issues you will need to make note of that in your posts

can you mark this as solved


OpenSuse Leap 42.1 x64, Plasma 5.x



Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]