VLC from Packman looks ugly in Gnome

Here we go again, same old, same old. This still seems to be unfixed.
I installed VLC adding packman repo and the GUI looks awful in Gnome 3.26.2, pixelated and huge.

Here are my repos:

epository priorities in effect:                (See 'zypper lr -P' for details)
      80 (raised priority)  :  1 repository  
      85 (raised priority)  :  1 repository  
      99 (default priority) :  4 repositories

#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                | Service
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+------------------------------------------------------------------------------------+--------
 1 | dvd                       | dvd                                     | Yes     | (r ) Yes  | Yes     |   85     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.0/                                 |        
 2 | openSUSE-Leap-15.0-1      | openSUSE-Leap-15.0-1                    | No      | ----      | ----    |   99     | rpm-md | hd:///?device=/dev/disk/by-id/usb-0930_USB_Flash_Memory_0311267110336924-0:0-part2 |        
 3 | packman                   | packman                                 | Yes     | (r ) Yes  | Yes     |   80     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.0/                                   |        
 4 | repo-debug                | openSUSE-Leap-15.0-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/oss/                |        
 5 | repo-debug-non-oss        | openSUSE-Leap-15.0-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.0/repo/non-oss/            |        
 6 | repo-debug-update         | openSUSE-Leap-15.0-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/oss/                           |        
 7 | repo-debug-update-non-oss | openSUSE-Leap-15.0-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.0/non-oss/                       |        
 8 | repo-non-oss              | openSUSE-Leap-15.0-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/non-oss/                  |        
 9 | repo-oss                  | openSUSE-Leap-15.0-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.0/repo/oss/                      |        
10 | repo-source               | openSUSE-Leap-15.0-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/oss/               |        
11 | repo-source-non-oss       | openSUSE-Leap-15.0-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.0/repo/non-oss/           |        
12 | repo-update               | openSUSE-Leap-15.0-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/oss/                                 |        
13 | repo-update-non-oss       | openSUSE-Leap-15.0-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.0/non-oss/              
Loading repository data...
Reading installed packages...

S  | Name                | Type        | Version         | Arch   | Repository            
---+---------------------+-------------+-----------------+--------+-----------------------
i+ | VLC                 | application |                 | noarch | (System Packages)     
i  | libvlc5             | package     | 3.0.2-lp150.3.2 | x86_64 | packman               
i  | libvlccore9         | package     | 3.0.2-lp150.3.2 | x86_64 | packman               
i+ | vlc                 | package     | 3.0.2-lp150.3.2 | x86_64 | packman               
i  | vlc-codec-gstreamer | package     | 3.0.2-lp150.2.1 | x86_64 | openSUSE-Leap-15.0-Oss
i  | vlc-noX             | package     | 3.0.2-lp150.3.2 | x86_64 | packman               
i  | vlc-qt              | package     | 3.0.2-lp150.3.2 | x86_64 | packman               

Is there any package missing?

Thanks.

you seam to be missing the vlc-codecs package and are instead using vlc-codec-gstreamer from OSS which is restricted I’m amazed vlc even works for you
you seam to have mixed vlc packages I’d recommend doing a full vendor change to packman
do

zypper dup --from 3
zypper in vlc-codecs

after installing the vlc-codecs codecs package you should (it’s up to you) remove vlc-codec-gstreamer as there is no need for vlc to use gstreamer as a backend

zypper rm vlc-codec-gstreamer

what’s your gpu if you have an nvida card you should also install vlc-vdpau what’s the output of

sudo lspci | grep VGA

vlc is a pure qt5 application it does not use any kf5 libraries and should work fine under gnome
as I don’t use gnome I have no idea how it is done but there should be an option for the look and feel of other tool kits in gnome control center
maybe post a screenshot

Hi,

thanks for your help.
I fixed the coded mess as you’ve said.

My GPU is a HD Graphics 5500 Broadwell.

The UI looks like this:

https://preview.ibb.co/jQdUKz/Screenshot_from_2018_09_16_00_21_22.png](https://ibb.co/kZ59Kz)

Very out of proportions as you can see.

as far as I can tell this is a qt5 issue with non qt5 Desktops (I only use plasma 5 and lxqt both are qt5 so I had no issue)
the easiest solution would be to install qt5ct
https://software.opensuse.org/package/qt5ct

zypper in qt5ct

if you’re using gnome’s default adwaita theme don’t forget to install the adwaita-qt5 theme

zypper in adwaita-qt5

use qt5ct to configure the desired qt5 UI
the more difficult way is to edit ~/.xprofile see these arch wiki pages
https://wiki.archlinux.org/index.php/Qt#Configuration_of_Qt5_apps_under_environments_other_than_KDE_Plasma
https://wiki.archlinux.org/index.php/Uniform_look_for_Qt_and_GTK_applications

I just read the qt5ct readne file and for it to take effect you have to manually edit ~/.profile

gedit ~/.profile

and add the line

export QT_QPA_PLATFORMTHEME=qt5ct

if you are using wayland instead of X
you should add


export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORMTHEME=qt5ct

for more information see the qt5ct README file located at
/usr/share/doc/packages/qt5ct/