Bug 27433 - Virtualbox 6.1.18 : Storage Section under VM configuration : Can't select ISO file in KIO Open dialog [Was OK before release of 6.1.14]
Summary: Virtualbox 6.1.18 : Storage Section under VM configuration : Can't select ISO...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: https://www.virtualbox.org/ticket/20222
Whiteboard: MGA8TOO
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2020-10-16 13:36 CEST by Jose Manuel López
Modified: 2021-02-26 19:57 CET (History)
7 users (show)

See Also:
Source RPM: virtualbox-6.1.18-2.mga8.src.rpm
CVE:
Status comment: Workaround is possible - QT related?


Attachments
VBox File picker patch (657 bytes, patch)
2021-02-23 15:24 CET, ValdikSS ValdikSS
Details | Diff

Description Jose Manuel López 2020-10-16 13:36:19 CEST
Description of problem: I can't select ISO file in storage section. I can't browse folders or places menu. The popup to select the iso file is not working properly, and I can only type in the "filename" field. It's like it's frozen.


Version-Release number of selected component (if applicable): Mageia 8 Beta and Virtualbox 6.1.14


How reproducible: Install Virtualbox, configure a new machine. After, in settings, select the storage section and select storage devices (cd icon) and select "Select a disk file". It will open a popup for select a ISO file. This window no works. It can't browse folders for select ISO file


Steps to Reproduce:
1. Install virtualbox and create a new machine.
2. Select storage section in settings and storage device.
3. The popup that appears no works.
Comment 1 Aurelien Oudelet 2020-10-16 16:21:26 CEST
Hi, thanks for reporting this bug.


I reproduce this bug, Plasma 5, Cauldron.

In settings, select the storage section and select storage devices (cd icon) and select "Select a disk file":
The Plasma file selector is not "clickable" and nothing can be set.

Workaround:
Choose instead "Choose/create a Virtual Optical Disk..." and this opens a Optical Disk Selector dialog which is efficient.

I see nothing in system journal BUT:

$HOME/.local/share/sddm/xorg-session.log, each time I try to reproduce the bug, I see:

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


Assigning to all packagers.
CC'd recent commiters.
(Please set the status to 'assigned' if you are working on it)

CC: (none) => ghibomgx, thierry.vignaud
Source RPM: Virtualbox 6.1.14 => virtualbox-6.1.14-3.mga8.src.rpm
Status comment: (none) => Workaround is possible
Keywords: (none) => Triaged
Target Milestone: --- => Mageia 8
Assignee: bugsquad => pkg-bugs

Comment 2 Jose Manuel López 2020-10-19 15:36:24 CEST
Hi!

Today I update virtualvox to 6.1.14-3, the issue is still there. 

Greetings!
Comment 3 Giuseppe Ghibò 2020-10-21 13:25:09 CEST
Unfortunately the same problem occurs also in 6.1.16 as well as 6.1.97-svn86557. I wonder if it's not the filepicker of the newer QT library itself.

As workaround choose the iso files using the keyboard arrow/tabs keys to move across the files.
Comment 4 Aurelien Oudelet 2020-10-22 13:16:01 CEST
(In reply to Giuseppe Ghibò from comment #3)
> Unfortunately the same problem occurs also in 6.1.16 as well as
> 6.1.97-svn86557. I wonder if it's not the filepicker of the newer QT library
> itself.
> 
> As workaround choose the iso files using the keyboard arrow/tabs keys to
> move across the files.

Still here yes. Keyboard navigation under this GUI is OK. But GUI is not clickable.

Source RPM: virtualbox-6.1.14-3.mga8.src.rpm => virtualbox-6.1.16-1.mga8.src.rpm
Summary: I can't select ISO file in storage section. => Virtualbox 6.1.16 : Storage Section under VM configuration : Can't select ISO file in KIO Open dialog [Was OK before release of 6.1.14]
Status comment: Workaround is possible => Workaround is possible - QT related?

Comment 5 Giuseppe Ghibò 2020-10-22 14:15:14 CEST
Ugly, but if you select with arrows, then press tab on the ISO util filename it's underlined, then pressing Enter on the keyboard, will select that ISO.

It seems also upstream binaries (at least under mga8) suffers the same problem.
Comment 6 Giuseppe Ghibò 2020-10-22 14:25:03 CEST
What is also weird is that if you run Virtualbox 6.1.16 remotely from a mga7 host, you don't get the filepicker problems, so it seems rather a desktop problem.
Comment 7 Giuseppe Ghibò 2020-10-22 15:56:09 CEST
Not even needed a remote host. Just "ssh localhost" locally and run VirtualBox from there: the filepicker is not blocked.
Comment 8 Jose Manuel López 2020-10-29 12:55:48 CET
I have been able to select the iso file with Tab, but after the 6.1.16 version the problem is there.
Comment 9 Giuseppe Ghibò 2021-02-07 21:46:02 CET
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.
Comment 10 Jose Manuel López 2021-02-16 09:38:21 CET
Hi, 

This remain unresolved, I testing Virtualbox in Mageia 8 and I have the same issue after the last updates.

Greetings!!
Comment 11 ValdikSS ValdikSS 2021-02-23 15:24:28 CET
Created attachment 12368 [details]
VBox File picker patch

Attached file is a workaround for this issue. It does not fix the core bug, but allows file picker to work properly again.

Fedora RPMFusion bug: https://bugzilla.rpmfusion.org/show_bug.cgi?id=5929

CC: (none) => iam

Comment 12 Giuseppe Ghibò 2021-02-23 19:25:06 CET
It seems the patch is working, the filepicker is no longer blocked. However now with the patch the behaviour seems reverted when you "ssh to localhost" and run virtualbox from there: the picker is now blocked there, though from ssh the filepicker seems slightly different in themes than with native plasma.

Thomas what do you think? Worthwhile an update on updates_testing?

I made a temporary build on copr with that patch included, result is here:

https://copr-be.cloud.fedoraproject.org/results/ghibo/virtualbox-6/mageia-cauldron-x86_64/02014656-virtualbox/

CC: (none) => tmb

Comment 13 ValdikSS ValdikSS 2021-02-24 18:43:59 CET
VirtualBox bug report: https://www.virtualbox.org/ticket/20222
Aurelien Oudelet 2021-02-24 20:09:00 CET

Target Milestone: Mageia 8 => ---
Summary: Virtualbox 6.1.16 : Storage Section under VM configuration : Can't select ISO file in KIO Open dialog [Was OK before release of 6.1.14] => Virtualbox 6.1.18 : Storage Section under VM configuration : Can't select ISO file in KIO Open dialog [Was OK before release of 6.1.14]
Whiteboard: (none) => MGA7TOO MGA8TOO
Keywords: Triaged => UPSTREAM
URL: (none) => https://www.virtualbox.org/ticket/20222
Source RPM: virtualbox-6.1.16-1.mga8.src.rpm => virtualbox-6.1.18-2.mga8.src.rpm
CC: (none) => ouaurelien

Thomas Backlund 2021-02-24 20:16:34 CET

Whiteboard: MGA7TOO MGA8TOO => MGA8TOO

Comment 14 Dave Hodgins 2021-02-25 21:47:14 CET
Workaround is to type the directory name into the Name: field.

CC: (none) => davidwhodgins

Comment 15 Barry Jackson 2021-02-26 00:35:20 CET
This is vaguely similar to long standing https://bugs.mageia.org/show_bug.cgi?id=18816 again about plasma file chooser.

CC: (none) => zen25000

Comment 16 Thomas Backlund 2021-02-26 19:57:34 CET
I've added the workaround in virtualbox-6.1.18-3.mga9 for Cauldron for now, but wont push to mga8 atleast yet as I want to see if it breaks somewhere...

Note You need to log in before you can comment on or make changes to this bug.