Bug 10273 - You can't add multiple files in media player
Summary: You can't add multiple files in media player
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 2.2
Hardware: NUC Multiple
: Medium normal
Target Milestone: 2.2 M4
Assignee: Jussi Kukkonen
QA Contact: Juan Ramos
URL: http://autobuilder.yoctoproject.org/p...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-09-13 21:53 UTC by Francisco Pedraza
Modified: 2016-10-25 18:54 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Found by QA test)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Pedraza 2016-09-13 21:53:36 UTC
STATUS: FAILED
BUILD: 2.2 M3: 2679a347c576f5411fbe802d2f6201c94036ecb2
ENVIRONMENT: genericx86-64 on NUC 6i5SYH
STEPS TO REPRODUCE: 1. Launch media player

2. Add multiple files(5 files) in media player at same time (ogg or wav)
3. Verify the sound.

EXPECTED OUTCOME: Media player should be OK with this action, it reproduce files correctly.

ACTUAL OUTCOME: You can't add many files to the media player.
Comment 2 Ross Burton 2016-09-15 15:02:03 UTC
More information please: does it only add the first file selected?  Does it add the files but not play them correctly?  If you add just one file that didn't play does it then play correctly?
Comment 3 Jussi Kukkonen 2016-09-16 10:56:47 UTC
Is this about selection multi-select with e.g. shift-click sometimes not working in the filechooser?

I think there's a focus bug/feature in GtkFileChooserDialog that prevents some types of selections from working: please try with the lasso selection (click-and-drag from one file to other files).
Comment 4 Jussi Kukkonen 2016-09-19 07:14:41 UTC
Marking NEEDINFO, Francisco please add a more detailed explanation of the failure, and if you can please try the lasso selection I mentioned in comment 3.
Comment 5 Francisco Pedraza 2016-09-20 16:17:58 UTC
(In reply to comment #4)
> Marking NEEDINFO, Francisco please add a more detailed explanation of the
> failure, and if you can please try the lasso selection I mentioned in
> comment 3.

Hi,
You can't select many files from media player. I tried with selecction, ctrl+click, and with SHIFT key. Only the first is selected. Also is not able to reproduce due https://bugzilla.yoctoproject.org/show_bug.cgi?id=10272 issue.
Regards.
Comment 6 Francisco Pedraza 2016-09-20 16:20:58 UTC
You can't select many files from media player. I tried with selecction, ctrl+click, and with SHIFT key. Only the first is selected. Also is not able to reproduce due https://bugzilla.yoctoproject.org/show_bug.cgi?id=10272 issue.
Comment 7 Jussi Kukkonen 2016-09-21 07:25:16 UTC
(In reply to comment #5)
> You can't select many files from media player. I tried with selecction,
> ctrl+click, and with SHIFT key. 

Please confirm that you've tried the lasso-selection:
 * click and hold from a unselected file
 * drag to another file and release
This works for me

I'm not questioning the results you see, I just want to confirm we are seeing the same behaviour.
Comment 8 Francisco Pedraza 2016-09-21 16:03:54 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > You can't select many files from media player. I tried with selecction,
> > ctrl+click, and with SHIFT key. 
> 
> Please confirm that you've tried the lasso-selection:
>  * click and hold from a unselected file
>  * drag to another file and release
> This works for me
> 
> I'm not questioning the results you see, I just want to confirm we are
> seeing the same behaviour.

Hi,
Yes you are right, performing in that way I am able to select many files.
Regards.
Comment 9 Jussi Kukkonen 2016-10-04 12:58:08 UTC
Working on this one. It's fixed in current master and seems to be a treeview focus issue.
Comment 10 Jussi Kukkonen 2016-10-05 12:18:23 UTC
commit 079396f5a2909e479a0a8652b16bec6a99674914
Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date:   Tue Oct 4 16:16:42 2016 +0300

    gtk+3: Backport treeview focus fix
    
    Treeview did not grab focus properly on mouse click, leading to e.g.
    multifile selection with click/shift-click not working in the
    filechooser. Backport a fix.
    
    Fixes [YOCTO #10273].
    
    (From OE-Core rev: d408b79dba47e4392a9d13aff1660a1e483a765c)



Note that if focus is outside the fileselection treeview, you still have to click there first to get focus (in other words, if the first shift-click doesn't select multiple files, try again).
Comment 11 Juan Ramos 2016-10-25 18:54:18 UTC
Tested on NUC 6Si5SYH 
Build name: 2.2 rc4
poky commit: 4b94b498e21aeba945fe7e72a6b7c4bb0314fb83
opened media player and selected 5 files .ogg (with shift key), the files can be played.