Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Windows look strange (Jessie vs Stretch)

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
mrspuck
Posts: 26
Joined: 2017-11-20 09:28
Has thanked: 1 time

Windows look strange (Jessie vs Stretch)

#1 Post by mrspuck »

Hi,

Sorry if this is a dumb question but ...
Some windows in my Stretch installation look strange/old fashioned. See links below for comparison with the look under Jessie. I guess I just need to install some GTK+younameit, Which library/package could be responsible for it?

Jessie: https://ibb.co/ehxwNm
Stretch: https://ibb.co/hUxKa6

Thanks
Mr

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Windows look strange (Jessie vs Stretch)

#2 Post by Wheelerof4te »

It is a purely subjective feeling. This is related more to the DE theme, than it's a Stretch vs Jessie thing. We call this here "a non-issue".

mrspuck
Posts: 26
Joined: 2017-11-20 09:28
Has thanked: 1 time

Re: Windows look strange (Jessie vs Stretch)

#3 Post by mrspuck »

What's the "DE theme"?

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Windows look strange (Jessie vs Stretch)

#4 Post by Wheelerof4te »

The look and feel theme of your Desktop Environment (GNOME, KDE, XFCE, etc.)

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Windows look strange (Jessie vs Stretch)

#5 Post by Lysander »

mrspuck wrote:What's the "DE theme"?
I am actually astounded that you managed to install Debian but you don't know what a desktop environment is.

Please take a look for yourself:

https://en.wikipedia.org/wiki/Desktop_environment
https://wiki.debian.org/DesktopEnvironment

mrspuck
Posts: 26
Joined: 2017-11-20 09:28
Has thanked: 1 time

Re: Windows look strange (Jessie vs Stretch)

#6 Post by mrspuck »

Luckily there was no acronym test before running the installer...

The DE is Gnome 3 and the Theme is Vertex. But it does not matter. When I switch to the default theme (Adwaita), only the window decoration (outer window border) changes, not the widgets inside, menu bar, menu, fonts.

@Wheelerof4te: When you say "We call this here "a non-issue": - does this mean the topic has been discussed (where?) and there is no known solution?

giaur
Posts: 120
Joined: 2013-03-08 07:03

Re: Windows look strange (Jessie vs Stretch)

#7 Post by giaur »

Try to install

Code: Select all

qt5-gtk-platformtheme
package.

And yes, it's an issue. I can't imagine anybody could accept that: https://ibb.co/hUxKa6

mrspuck
Posts: 26
Joined: 2017-11-20 09:28
Has thanked: 1 time

Re: Windows look strange (Jessie vs Stretch)

#8 Post by mrspuck »

giaur wrote:Try to install

Code: Select all

qt5-gtk-platformtheme
package.

And yes, it's an issue. I can't imagine anybody could accept that: https://ibb.co/hUxKa6

Code: Select all

sudo apt-get install qt5-gtk-platformtheme
...
qt5-gtk-platformtheme is already the newest version (5.7.1+dfsg-3+b1).
BTW the L&F is even different in my VM and the real/desktop box although I tried to follow the same steps when installing them. Both are close though, and uglier than Jessie (running Gnome3/Vertex too). Strange.

I should also mention that font rendering is generally OK in my Stretch installations, i.e. most applications looks pretty much as the screenshot for Jessy I linked. Only a few applications have that weird look; in particular: VLC and the VirtualBox GUI (downloaded from virtualbox.org as Debian 9 .deb package).
Last edited by mrspuck on 2017-11-20 11:45, edited 2 times in total.

giaur
Posts: 120
Joined: 2013-03-08 07:03

Re: Windows look strange (Jessie vs Stretch)

#9 Post by giaur »

Try to install libgnomeui-0 package. If this does not help, try to run any qt application from command line and see if there are no any warnings related to theme (QGtkStyle). P.S. you need to restart X to see any changes.

mrspuck
Posts: 26
Joined: 2017-11-20 09:28
Has thanked: 1 time

Re: Windows look strange (Jessie vs Stretch)

#10 Post by mrspuck »

Installed libgnomeui-0 and rebooted for safety but no change.
Ran virtualbox (which says it uses QT 5.7.1) from the cmd line but no printouts.
And, yes, that look is an issue for me: https://ibb.co/jTnkXm

giaur
Posts: 120
Joined: 2013-03-08 07:03

Re: Windows look strange (Jessie vs Stretch)

#11 Post by giaur »

Run any qt app in terminal and capture console output, try vlc or some other. I suspect some gtk or gnome libs are still missing. Obviously it looks an issue, from some reason, qt engine is unable to determine your gtk style, so fallback (ugly) is used instead. Theme and font should be the same as you set for GTK apps.

It may be hard to determine what is missing. I have recently installed Debian Testing from scratch (I have chosen Cinnamon as desktop environment during installation) and I don't have this issue, qt look is fine.
Last edited by giaur on 2017-11-20 12:05, edited 1 time in total.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Windows look strange (Jessie vs Stretch)

#12 Post by Lysander »

mrspuck wrote:Installed libgnomeui-0 and rebooted for safety but no change.
Ran virtualbox (which says it uses QT 5.7.1) from the cmd line but no printouts.
And, yes, that look is an issue for me: https://ibb.co/jTnkXm
http://blog.programster.org/debian-8-gn ... -rendering

giaur
Posts: 120
Joined: 2013-03-08 07:03

Re: Windows look strange (Jessie vs Stretch)

#13 Post by giaur »

Lysander wrote:
mrspuck wrote:Installed libgnomeui-0 and rebooted for safety but no change.
Ran virtualbox (which says it uses QT 5.7.1) from the cmd line but no printouts.
And, yes, that look is an issue for me: https://ibb.co/jTnkXm
http://blog.programster.org/debian-8-gn ... -rendering
This is not related to his issue actually

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Windows look strange (Jessie vs Stretch)

#14 Post by Lysander »

giaur wrote:This is not related to his issue actually
Ah, may be worth looking at for reference nevertheless.

mrspuck
Posts: 26
Joined: 2017-11-20 09:28
Has thanked: 1 time

Re: Windows look strange (Jessie vs Stretch)

#15 Post by mrspuck »

Actually I was missing the font config, so now the comparison looks like this:

Stretch: https://ibb.co/hA8O2m
Jessie: https://ibb.co/ehxwNm

Jessie still looking better/more modern, or is that the intended/expected look for Stretch?

giaur
Posts: 120
Joined: 2013-03-08 07:03

Re: Windows look strange (Jessie vs Stretch)

#16 Post by giaur »

It should look the sam as your other (Gtk) apps.

mrspuck
Posts: 26
Joined: 2017-11-20 09:28
Has thanked: 1 time

Re: Windows look strange (Jessie vs Stretch)

#17 Post by mrspuck »

mrspuck wrote:Actually I was missing the font config, so now the comparison looks like this:

Stretch: https://ibb.co/hA8O2m
Jessie: https://ibb.co/ehxwNm

Jessie still looking better/more modern, or is that the intended/expected look for Stretch?
What is controlling the look of the menu tabs in the screenshots above? In Jessie the top corners of the menus are rounded, in Stretch they are rectangular, at least for some applications.
Also the colors: many panels in Stretch are more brownish, while in Jessy they had a more neutral grey tone. Check the bottom panel of VLC (where you control sound volume) in above screenshots.

Can the above properties be changed by configuration; or do I have to recompile Gnome/GTK?

Thanks

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Windows look strange (Jessie vs Stretch)

#18 Post by stevepusser »

Get Qt 5 applications to match Gtk themes in a Gtk 3 desktop? Try installing qt5-style-plugins and creating an /etc/X11/Xsession.d/98qtconfig file with the contents

Code: Select all

export QT_QPA_PLATFORMTHEME=gtk2
export QT_PLATFORMTHEME=gtk2
export QT_PLATFORM_PLUGIN=gtk2
MX Linux packager and developer

Bulkley
Posts: 6383
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Windows look strange (Jessie vs Stretch)

#19 Post by Bulkley »

mrspuck wrote:Luckily there was no acronym test before running the installer...
:lol: Acronyms drive me nuts. Time and again someone posts a string of letters that I have to enter into a search engine in order to discover what is meant. Acronyms are convenient but they can be more problem than solution.

ruffwoof
Posts: 298
Joined: 2016-08-20 21:00

Re: Windows look strange (Jessie vs Stretch)

#20 Post by ruffwoof »

stevepusser wrote:Get Qt 5 applications to match Gtk themes in a Gtk 3 desktop? Try installing qt5-style-plugins and creating an /etc/X11/Xsession.d/98qtconfig file with the contents

Code: Select all

export QT_QPA_PLATFORMTHEME=gtk2
export QT_PLATFORMTHEME=gtk2
export QT_PLATFORM_PLUGIN=gtk2
Adding

Code: Select all

export QT_STYLE_OVERRIDE=GTK+
to ~/.profile works for me under Jessie. I also have

Code: Select all

[Qt]
style=GTK+
font="Sans Serif,14,-1,5,50,0,0,0,0,0"
added to ~/.config/Trolltech.conf

Post Reply