Bug 341435

Summary: No focus when opening the "Edit track CDDB info" dialog
Product: [Applications] k3b Reporter: martonmiklos <martonmiklosqdev>
Component: GUI/UsabilityAssignee: k3b developers <k3b>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, martonmiklosqdev, michalm, trueg
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Edit track CDDB details usability improvement patch

Description martonmiklos 2014-11-30 09:40:42 UTC
When opening the track's CDDB data none of the dialog's input get focus. 
It is annoying when every time have to click in the Title lineedit to type in the title of the track. 

Reproducible: Always

Steps to Reproduce:
1. Put in an audio CD
2. Select Tools -> Rip Audio CD 
3. Right click on a random track select Edit track CDDB info

Actual Results:  
None of the inputs get focus

Expected Results:  
The title should have a focus by default.
Comment 1 martonmiklos 2014-11-30 10:55:25 UTC
Created attachment 89776 [details]
Edit track CDDB details usability improvement patch

This patch contains the following modifications:
- Set the album CDDB dialog year's input to the current year if no year was specified before. (Who want to rip audio from year 1 by default ?)
- Set the default focus to the Title input in the track edit CDDB dialog.
- In the same dialog if no artist was specified before set the artist to the album's artist.
Comment 2 Albert Astals Cid 2014-11-30 20:44:02 UTC
Please use http://reviewboard.kde.org/ for patches
Comment 3 martonmiklos 2014-11-30 21:05:35 UTC
Done: https://git.reviewboard.kde.org/r/121297
Comment 4 Albert Astals Cid 2015-02-09 22:51:38 UTC
Git commit 9f9964d8a564a78152bdd1110cc496266412b651 by Albert Astals Cid, on behalf of Miklos Marton.
Committed on 09/02/2015 at 22:50.
Pushed by aacid into branch 'master'.

No focus on any inputs after opening the "Edit track CDDB info" dialog

When opening the track's CDDB data none of the dialog's input get focus. It is annoying to click in the Title lineedit to type in the title of the track every time.

This patch contains the following modifications:

    Set the album CDDB dialog year's input to the current year if no year was specified before. (Who want to rip audio from year 1 by default ?)
    Set the default focus to the Title input in the track edit CDDB dialog.
    In the same dialog if no artist was specified before set the artist to the album's artist.
REVIEW: 121297

M  +13   -1    src/rip/k3baudiocdview.cpp

http://commits.kde.org/k3b/9f9964d8a564a78152bdd1110cc496266412b651