smplayer-dev / smplayer

Free Media Player for Windows, Linux and Mac OS with YouTube support.
https://smplayer.info
GNU General Public License v2.0
664 stars 93 forks source link

cannot bind other functions using `alt+H` #1077

Open DreamMaoMao opened 2 hours ago

DreamMaoMao commented 2 hours ago

Describe the bug When I use alt h binding to roll back the 10s function, I need to press twice to trigger, the first trigger is the help button in the menu bar, it seems that the shortcut key of the menu bar cannot be overwritten by the shortcut key in the setting, this problem does not seem to exist in the old version, but I do not remember which version was before I upgraded

To Reproduce Steps to reproduce the behavior:

  1. bind 'alt+h' to other function
  2. keydown 'alt+h'

Expected behavior alt+h can be bound to other functions

Screenshots If applicable, add screenshots to help explain your problem.

Your Enviroment

Logs

[19:22:25:864] BaseGui::togglePlayAction
[19:22:25:864] Core::changeCurrentSec: mplayer reports that now it's playing
[19:22:25:876] BaseGui::checkStayOnTop
[19:22:27:881] BaseGuiPlus::eventFilter: key: QKeySequence("Alt+H")
[19:22:27:882] WARNING: QAction::event: Ambiguous shortcut overload: Alt+H
[19:22:30:959] BaseGuiPlus::eventFilter: key: QKeySequence("Alt+H")
[19:22:30:960] Core::srewind
[19:22:30:961] Core::seek: -10
[19:22:30:962] MPVProcess::sendCommand: "seek -10 relative keyframes"
[19:22:30:975] MPVProcess::parseLine: "[ffmpeg/video] h264: illegal modification_of_pic_nums_idc 8"
[19:22:30:977] MPVProcess::parseLine: "[ffmpeg/video] h264: decode_slice_header error"
[19:22:30:978] MPVProcess::parseLine: "[ffmpeg/video] h264: no frame!"
[19:22:30:978] MPVProcess::parseLine: "Error while decoding frame (hardware decoding)!"
[19:22:30:979] MPVProcess::parseLine: "[ffmpeg/video] h264: illegal modification_of_pic_nums_idc 4"
[19:22:30:980] MPVProcess::parseLine: "[ffmpeg/video] h264: decode_slice_header error"
[19:22:30:980] MPVProcess::parseLine: "[ffmpeg/video] h264: no frame!"
[19:22:30:981] MPVProcess::parseLine: "Error while decoding frame (hardware decoding)!"
[19:22:30:981] MPVProcess::parseLine: "[ffmpeg/video] h264: illegal modification_of_pic_nums_idc 32"
[19:22:30:982] MPVProcess::parseLine: "[ffmpeg/video] h264: decode_slice_header error"
[19:22:30:983] MPVProcess::parseLine: "[ffmpeg/video] h264: no frame!"
[19:22:30:983] MPVProcess::parseLine: "Error while decoding frame (hardware decoding)!"
[19:22:30:984] MPVProcess::parseLine: "Attempting next decoding method after failure of h264-d3d11va."
DreamMaoMao commented 2 hours ago

https://github.com/user-attachments/assets/dfc62cf6-b5ec-404d-b46c-bb00c76d83eb