Bug 192333 - Pressing enter when a folder is selected in the Save Copy As dialog should visit the folder, not close the dialog
Summary: Pressing enter when a folder is selected in the Save Copy As dialog should vi...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.2.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-11 15:57 UTC by Pierre-Francois Laquerre
Modified: 2024-09-14 16:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Francois Laquerre 2009-05-11 15:57:18 UTC
Version:           0.8.2 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-11-generic

Steps:
1) Open any file with Okular
2) File->Save Copy As
3) Manually select a folder using the keyboard arrows
4) Press enter

Expected behaviour:
The file dialog should cd into that folder. This is the "standard" behaviour on most platforms.

Current behaviour:
The file dialog closes.
Comment 1 bisrcacuo 2009-05-12 15:07:13 UTC
Version:    0.8.3 (using KDE 4.2.3 from Kubuntu binary packages)
OS:         Linux (i686, Kubuntu 9.04, kernel 2.6.28-11-generic)

I notice the same problem.

Using the "File->Save As" or "File->Save As Copy" menu when navigating by typing in the first letters of the directory I wish to enter, when I hit the "Enter" key it enters the highlighted directory, saves the file with the name in the "Name" field, and closes the dialog box all at once.  If the file already exists then it asks if I want to overwrite it.

The usual behaviour I would expect is simply to enter the highlighted directory and show me the files and directories within, allowing me to navigate into sub-directories or enter the filename I wish to save under.

If no directory has been highlighted when the "Enter" key is pressed, then it saves the file in the currently displayed directory, which is what I would expect.
Comment 2 Michael Graham 2009-11-03 18:41:13 UTC
I notice this as well on the Add Media to Playlist dialog on Amarok.  

Note that this issue makes it impossible to use these file dialogs with the keyboard only; the mouse is now required to select subdirectories.
Comment 3 Frank Steinmetzger 2011-03-05 11:43:29 UTC
This is half-fixed in 4.6. Navigating to a selected directory in the Save as dialog works, but when I press Enter while no file is selected, nothing happens at all, even if a new filename has already been entered into the name field.
Comment 4 Christoph Cullmann 2024-09-14 16:17:54 UTC
Hi,

kdelibs (version 4 and earlier) is no longer maintained since a few years.

KDE Frameworks 5 or 6 might already have implemented this wish.

If not, please re-open against the matching framework if feasible or against the application that shows the issue.

We then can still dispatch it to the right Bugzilla product or component.

Greetings
Christoph Cullmann