VirtualBox

Opened 6 years ago

Closed 3 years ago

#18258 closed defect (wontfix)

VirtualBox does not respect dark themes

Reported by: oxoocoffee Owned by:
Component: documentation Version: VirtualBox 6.0.0
Keywords: Cc:
Guest type: X11 Host type: Linux

Description

I just installed fresh Linux Mint Cinnamon 19.1 with Virtual Box 6. After starting vbox I noticed all text in vbox and help is gray on white background witch is very hard to read for me. I am attaching my screen shots

Attachments (11)

VBoxOnCinnamon19.png (104.1 KB ) - added by oxoocoffee 6 years ago.
VirtualBox 6 test on Cinnamon 19.1
Cinamon 19.1 Theme.png (25.8 KB ) - added by oxoocoffee 6 years ago.
Cinnamon 19.1 Theme
VBox6_Main_MouseOver.png (86.0 KB ) - added by digifuzzy 6 years ago.
Main Window with mouse over settings toolbar button
VBox6_Settings.png (41.8 KB ) - added by digifuzzy 6 years ago.
Settings Dialog display
2019-06-14_09-39.png (129.9 KB ) - added by Ore 5 years ago.
Screenshot of the main UI with Gnome Dark Mode.
Screenshot at 2020-03-03 13-53-24.png (180.8 KB ) - added by franksmcb 5 years ago.
Virtualbox 6.x and dark themes Ubuntu MATE
Screenshot at 2020-03-02 12-41-50.png (84.1 KB ) - added by franksmcb 5 years ago.
Dark theme 20.04
VirtualBox-6.1.97-136310-Linux_amd64_on_Ubuntu_MATE_20.04.jpg (435.9 KB ) - added by Jags 5 years ago.
Screenshot: VirtualBox-6.1.97-136310-Linux_amd64 on Ubuntu MATE 20.04 64bit
Vbox_2020-05-18.png (98.2 KB ) - added by edwho 5 years ago.
Screen Capture of VirtualBox
Mate.png (55.3 KB ) - added by gtrider 4 years ago.
Ubuntu Mate 20.04
2021-06-18_15-38_VBOX_with_Adwaita-Dark_Mode_Gnome_Theme_Unusable.png (181.0 KB ) - added by kpm 3 years ago.
Screen grab showing issue on RHEL8.4 using default dark mode Gnome theme

Download all attachments as: .zip

Change History (29)

by oxoocoffee, 6 years ago

Attachment: VBoxOnCinnamon19.png added

VirtualBox 6 test on Cinnamon 19.1

by oxoocoffee, 6 years ago

Attachment: Cinamon 19.1 Theme.png added

Cinnamon 19.1 Theme

by digifuzzy, 6 years ago

Attachment: VBox6_Main_MouseOver.png added

Main Window with mouse over settings toolbar button

by digifuzzy, 6 years ago

Attachment: VBox6_Settings.png added

Settings Dialog display

comment:1 by digifuzzy, 6 years ago

As suggested from forum post, adding more details and screenshots regarding this problem.

System: Artix Linux (Arch derivative).
Desktop: XFCE
Qt version: 5.12.0
VBox: 6.0.0r127442

qt5ct and qt5-styleplugins installed correctly. Variable QT_QPA_PLATFORMTHEME has been set. VLC and other qt5-based applications display normally with theme settings.

Screenshots added:

1) VBox6_Main_MouseOver - shows main virtualbox window with the mouse positioned over the settings toolbar button.
2) VBox6_Settings - shows the settings dialog presented

Last edited 6 years ago by digifuzzy (previous) (diff)

comment:2 by janitor, 6 years ago

Summary: VirtualBox on Mint Cinnamon 19.1VirtualBox does not respect dark themes

Summary changed at socratis behest.

comment:3 by Socratis, 6 years ago

Thank you janitor! ;)

Idea from #18301 a duplicate of this one...

by Ore, 5 years ago

Attachment: 2019-06-14_09-39.png added

Screenshot of the main UI with Gnome Dark Mode.

comment:4 by Ore, 5 years ago

This also impacts Gnome's dark mode. Generally dark mode is much easier on the eyes but with virtualbox it makes the UI all but unusable!

comment:5 by rokm, 5 years ago

On Fedora, this issue is caused by incorrect QPalette::Mid color returned by the Adwaita-dark Qt theme. The issue has been fixed in the adwaita-qt git master: https://github.com/FedoraQt/adwaita-qt/issues/128

by franksmcb, 5 years ago

Virtualbox 6.x and dark themes Ubuntu MATE

by franksmcb, 5 years ago

Dark theme 20.04

comment:6 by franksmcb, 5 years ago

This is occuring on VirtualBox 6.x releases using dark themes on Ubuntu MATE 18.04, 19.10, and 20.04.

in reply to:  description comment:7 by franksmcb, 5 years ago

Last edited 5 years ago by franksmcb (previous) (diff)

by Jags, 5 years ago

Screenshot: VirtualBox-6.1.97-136310-Linux_amd64 on Ubuntu MATE 20.04 64bit

comment:8 by Jags, 5 years ago

Added a screenshot for VirtualBox-6.1.97-136310-Linux_amd64 on Ubuntu MATE 20.04 64bit.

It still doesn't respect dark theme as of build 6.1.97-136310. Thanks.

comment:9 by oxoocoffee, 5 years ago

Not the best solution but better then default colors Tested on Ubuntu Mate 20.04

$ VirtualBox -style Fusion %U

by edwho, 5 years ago

Attachment: Vbox_2020-05-18.png added

Screen Capture of VirtualBox

comment:10 by edwho, 5 years ago

Experiencing the same issue with Ubuntu 20.04 with yaru-dark theme on VirtualBox 6.1.6 (official version)

looking forward to have this issue resolved soon.

Last edited 5 years ago by edwho (previous) (diff)

comment:11 by csx, 5 years ago

Same issue for me (same as above screenshots, very white VBox GUI).

ubuntu 20.04 with 'virtualbox/focal,now 6.1.6-dfsg-1 amd64' installed from ubuntu repo.

comment:12 by alain pannetier, 4 years ago

Workaround...

$ VirtualBox -style Fusion %U

...works... but you have to re-edit /usr/share/applications/virtualbox.desktop after each update.

in reply to:  12 comment:13 by abletech-sb, 4 years ago

Replying to alain pannetier:

...works... but you have to re-edit /usr/share/applications/virtualbox.desktop after each update.

To avoid to re-edit desktop file after each update, you can copy it to user local folder:

cp /usr/share/applications/virtualbox.desktop ~/.local/share/applications/

comment:14 by gtrider, 4 years ago

This is not only about dark theme. I just installed Ubuntu Mate 20.04 and have the same problem with every theme: white letters on white background.

by gtrider, 4 years ago

Attachment: Mate.png added

Ubuntu Mate 20.04

comment:15 by liar666, 3 years ago

2 years later...

Exact same problem : white text on white background.. Totally unusable :{{

It was usable a few days ago, before system upgrade => is it on the VBox side of Qt side (I've got lots of problems in other softwares because of Qt upgrade :{ )

FYI:

VirtualBox Graphical User Interface Version 6.1.16_Ubuntu r140961 © 2004-2021 Oracle Corporation (Qt5.12.8)

Under Linux Mint 20...

comment:16 by kpm, 3 years ago

+1 for fixing this please. I can confirm that this bug seems to be present on very latest RHEL8.4 release. When first opening Virtualbox Manager I get unusable white text on a white background, only when dragging the window can I see the white text items in the window turn light grey. This is using the default built-in dark mode Gnome theme called Adwaita-dark.

by kpm, 3 years ago

Screen grab showing issue on RHEL8.4 using default dark mode Gnome theme

comment:17 by gombara, 3 years ago

This is most probably happening since the Qt lib. distributed with VirtualBox does not include gtk2 platform plugin and gtk2 style library files. This has been solved in our development branch which uses another version of Qt than 6.1 branch. Unfortunately we don't have time to tackle this on 6.1 branch.

comment:18 by gombara, 3 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette