View Single Post
Old 01-08-2021, 03:40 AM   #15
mrkalle
Member
mrkalle began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Jun 2011
Device: none
Quote:
Originally Posted by kovidgoyal View Post
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.
mrkalle is offline   Reply With Quote