Quote:
Originally Posted by kovidgoyal
Yeah like I said, its a bug in Qt WebEngine, not the calibre viewer code. it needs to be fixed there.
|
How about
:
if ev.key is ' ' or ev.key is 'MediaPlayPause' or ev.key is 'PlayPause' or ev.key is 'Play':
self.toggle()
return
The reason I'm suggestion this is that few people have separate pause and play keys. Does anyone? Could someone who has a separate pause key for media (not the windows pause key or some other pause key) post here? Also, having the Play key toggle Play/Pause is not irrational.