VirtualBox

Opened 3 years ago

Closed 2 years ago

#20222 closed defect (fixed)

GUI BUG: file picker on Linux KDE Plasma does not handle mouse, unusable

Reported by: ValdikSS Owned by: gombara
Component: GUI Version: VirtualBox 6.1.18
Keywords: Cc:
Guest type: other Host type: Linux

Description

VirtualBox file picker dialog (ISO or HDD selection, etc) does not handle mouse events when running on KDE Plasma 5. All dialog elements are not clickable. You can still use it with keyboard.

When opening the dialog, Qt outputs the following warning into console:

Qt WARNING: QWidgetWindow(0x681e4a0, name="UIMachineSettingsStorageWindow") must be a top level window.

I'm not sure whether is this a Qt, VirtualBox, KDE Plasma or packaging issue, but Mageia bug reporter https://bugs.mageia.org/show_bug.cgi?id=27433 says that rebuilding the same package under older version of distro fixes the issue.

This is happening in Virtualbox 6.1.18 too, but only in Plasma5. Doesn't happen under GNOME. Curiously the same .src.rpm rebuilt under Mageia7 doesn't show up the problem under Plasma.

Also reproducible on Fedora 33 with RPMFusion repository. Bug: https://bugzilla.rpmfusion.org/show_bug.cgi?id=5929#c1

### HOW TO REPRODUCE

  1. Open VirtualBox
  2. Create new VM or use existing
  3. Open VM settings
  4. Go to "storage" tab
  5. Click on any drive → cilck on HDD or optical icon → Choose a disk file… dropdown element

### EXPECTED RESULT File picker dialog works as usual, you can select ISO or disk drive file with a mouse.

### ACTUAL RESULT You can't click on any dialog element.

### WORKAROUND Quick and dirty patch is in the attachment.

KDE Plasma: 5.20.5 KDE Frameworks: 5.78.0 Qt version: 5.15.2

Attachments (1)

vbox-fix-file-picker.patch (657 bytes ) - added by ValdikSS 3 years ago.
VBox File picker patch

Download all attachments as: .zip

Change History (10)

by ValdikSS, 3 years ago

Attachment: vbox-fix-file-picker.patch added

VBox File picker patch

comment:1 by gombara, 3 years ago

Owner: set to gombara
Status: newassigned

comment:2 by gombara, 3 years ago

I cannot reproduce this. Tried on a development build from the top of our 6.1 branch on a KDE Plasma 5 (Linux Mint 20.1).

comment:3 by Omano, 3 years ago

I can confirm this exact same issue on Manjaro KDE. It has been like that for months now.

in reply to:  2 comment:4 by ValdikSS, 3 years ago

Replying to gombara:

I cannot reproduce this. Tried on a development build from the top of our 6.1 branch on a KDE Plasma 5 (Linux Mint 20.1).

This might be Qt related. Could you please test with Fedora 33?

comment:5 by ValdikSS, 3 years ago

Workaround:

KDE_FULL_SESSION= XDG_CURRENT_DESKTOP= DESKTOP_SESSION= virtualbox

comment:7 by Rob Gillen, 2 years ago

FYI, I was able to reproduce this issue in with VirtualBox 6.1.32 r149290 on Kubuntu 21.10 (impish), which uses KDE Frameworks 5.86.0 (Plasma 5.22.5). The workaround seems to be working on my machine.

comment:8 by gombara, 2 years ago

This bug has been fixed for VirtualBox version > 6.1.34.

comment:9 by gombara, 2 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use