Bug 220205

Summary: (setting for) prevent more than one instance of dragon player
Product: [Applications] dragonplayer Reporter: m.wege
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.10
Sentry Crash Report:

Description m.wege 2009-12-27 01:49:30 UTC
Version:           2.0 (using 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-17-generic

I would be good, if dragon player could prevent more than one instance of it to be started. If this happens for me, then by accident. I suggest following behaviour:
If the same movie is played already, a second activation is ignored. If it is a different movie, dragon player asks if it should stop playing the running movie in favour of an other movie. For those who really want more than one instance of dolphin there should remain an option do have it so.
Comment 1 Harald Sitter 2012-06-02 18:18:47 UTC
Git commit fa1589f07160e4e4f796fa020cc7bca48b1ae1ba by Harald Sitter.
Committed on 02/06/2012 at 20:18.
Pushed by sitter into branch 'single-instance'.

import slightly cleaned up code-in patch for single instance behavior
http://www.google-melange.com/gci/task/view/google/gci2011/7116235

M  +1    -0    src/app/CMakeLists.txt
M  +3    -4    src/app/main.cpp
M  +17   -0    src/app/mainWindow.cpp
M  +3    -1    src/app/mainWindow.h

http://commits.kde.org/dragon/fa1589f07160e4e4f796fa020cc7bca48b1ae1ba
Comment 2 Harald Sitter 2012-07-13 03:13:00 UTC
Git commit a6938ca9e7a233dbe7380ee6d5025ef414270599 by Harald Sitter.
Committed on 13/07/2012 at 05:12.
Pushed by sitter into branch 'master'.

import slightly cleaned up code-in patch for single instance behavior
http://www.google-melange.com/gci/task/view/google/gci2011/7116235
FIXED-IN: 4.10

M  +1    -0    src/app/CMakeLists.txt
M  +3    -4    src/app/main.cpp
M  +17   -0    src/app/mainWindow.cpp
M  +3    -1    src/app/mainWindow.h

http://commits.kde.org/dragon/a6938ca9e7a233dbe7380ee6d5025ef414270599