Bug 318870

Summary: Space pauses media when typing into playlist filter
Product: [Plasma] plasma-mediacenter Reporter: Shantanu Tushar <shantanu>
Component: GeneralAssignee: Sinny Kumari <ksinny>
Status: RESOLVED FIXED    
Severity: major CC: akshay_ratan, saurabhskj
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Bug Depends on:    
Bug Blocks: 321239    
Attachments: Screenshot of problem
Screen video recording of PMC

Description Shantanu Tushar 2013-04-25 19:08:22 UTC
If I press space typing into playlist filter textbox (so as to type a space in the media name), mediacenter incorrectly uses that space to pause the currently playing song.

Reproducible: Always

Steps to Reproduce:
1. Play a music/video
2. Open playlist
3. Type "A B" (with space between A and B)

Actual Results:  
music/video pauses

Expected Results:  
music/video shouldn't pause when playlist is open
Comment 1 Saurabh Jain 2013-04-26 12:57:26 UTC
I got the expected results on trying. Pressing the space bar seems to be working properly on my system and it only pauses the music/video when its media information is being displayed on the front end. In all other situations, pressing the space does not produce any weird results. For eg: I successfully searched for a song with name "a bc.mp3" in my playlist.
Comment 2 Shantanu Tushar 2013-04-26 19:25:50 UTC
Created attachment 79479 [details]
Screenshot of problem

try searching while the media player is maximized (as in its not in the top right corner) as shown in the attached screenshot
Comment 3 Saurabh Jain 2013-04-27 05:21:21 UTC
Created attachment 79484 [details]
Screen video recording of PMC

Please watch the video attached. I maximized the window of plasma media center and then performed the steps mentioned on https://bugs.kde.org/show_bug.cgi?id=318870#c1 to find out the bug. In this video, you will find out that I successfully searched for the song "burn it down" in the playlist text box when a song was already being played. 
I think the problem might be arising in case of some other operating system or there might be an issue with PMC version as I can see the screenshot you attached on bugs.kde.org has a bit different gui controls than that of the version of pmc installed on my system. Can you please tell me on which OS you tried?
Comment 4 Sinny Kumari 2013-04-27 06:49:23 UTC
Weird, I am also able to reproduce this bug.
Comment 5 Akshay Ratan 2013-05-06 06:17:15 UTC
yes, i reproduced this bug, its happening as reported ..
Comment 6 Shantanu Tushar 2013-05-08 15:05:17 UTC
This has been fixed as part of commit 5fd2c0c7a94650478e6b3f4afcde64cbf03067d1 .
The commit message is wrong, please ignore.