Bug 359213

Summary: 15.13.0 git master - "open file dialog" in Render Widget (under gnome) doesn't work right. (video example included)
Product: [Applications] kdenlive Reporter: Unknown <null>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED NOT A BUG    
Severity: normal CC: ftechene, null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
URL: https://youtu.be/iihIxc1prvc
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Wrong save dialog on gnome

Description Unknown 2016-02-10 07:27:06 UTC
See video in URL field for example:

When I use the render widget's "open file dialog" button to choose the destination folder and name the output file, I find that, in GNOME, the window won't actually select the folder I'm trying to save in; rather, it goes INTO the folder until there's no more folder to go into. There's also no field to name your output file.

Reproducible: Always

Steps to Reproduce:
(using the GNOME desktop)
1. Create/edit a project.
2. Click on "Render" button at the top.
3. Click on "Open file dialog" button

Actual Results:  
A file dialog opens, but you can't select the folder you want to save in, nor can you name the output file from there.

Expected Results:  
Be able to choose the folder you want to save the output file in, AND the name of the output file itself.

 Tested while using Kdenlive 15.13.0 git master on Fedora 23 x64, GNOME 3.18.
Comment 1 François 2017-02-09 17:10:14 UTC
Created attachment 103926 [details]
Wrong save dialog on gnome
Comment 2 François 2017-02-09 17:11:05 UTC
This is a very annoying problem that is still here in 16.12.1.

The widget is using KURLRequester and this seems to call QFileDialog::getOpenFileName instead of QFileDialog::getSaveFileName which forces a dialog to get existing files only. 

This may not be a problem on KDE but with Gnome the dialog is very simple and doesn't permit to anything else than an existing file nor create a folder. (see attachment)

Is there a way to force KURLRequester to load the right dialog ?