Description of problem:
When using tab completion for media files with mplayer, they won't complete. Tab does nothing
Version-Release number of selected component (if applicable):
touch "a b c.mpg"
and it completes properly
and it does not complete and just lists:
a b c.mpg l.avi
and nothing is displayed and just beeps.
All of the above [tab] presses should have resulted in a completed filename.
Is there a "cd test" missing in your reproducer? Assuming so. Completing using quotes like that doesn't work at all in F-10 (I guess bash < 4), and I'm a bit surprised that it works in the first place with later versions - it does work in a Rawhide mock chroot for me the expected way. A workaround for F-11 seems to be not to use quotes at all, just do "mplayer a[tab]".
So, this seems to be something that happens in F-11 only. bash-completion is practically the same in both so I suppose something else causes it. bash maintainers, any ideas?
Oh, and this doesn't seem to have anything to do with mplayer, it's reproducible using for example python too:
touch "a b c.py" "l.py"
--> completes OK to 'python "a b c.py"'
python "a <TAB>
--> does not complete, 2nd <TAB> lists "a b c.py l.py" as possible completions
python "a b<TAB>
--> does not complete at all
> Is there a "cd test" missing in your reproducer? Assuming so.
Yes...you're right. My bad.
> Completing using quotes like that doesn't work at all in F-10
> (I guess bash < 4)
I upgraded from F-9 directly to F-11. It worked perfectly in F-9.
Thanks for generalizing the test case.
I don't have access to a F-9 box, but it seems to work on F-8 as well, so F-10 and F-11 seem to be affected, possibly in different ways.
Any word on this one?
bash-completion-1.2-1.fc13 has been submitted as an update for Fedora 13.
bash-completion-1.2-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.