Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observed clipboard doesn't update unless the window is hovered or playing a video. #15577

Open
6 tasks done
Sneakpeakcss opened this issue Dec 26, 2024 · 0 comments
Open
6 tasks done
Labels

Comments

@Sneakpeakcss
Copy link

mpv Information

mpv v0.39.0-532-gd9eb9ed8 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Dec 25 2024 18:04:34
libplacebo version: v7.350.0 (v7.349.0-30-g056b852-dirty)
FFmpeg version: N-118168-gfe04b93af
FFmpeg library versions:
   libavcodec      61.28.100
   libavdevice     61.4.100
   libavfilter     10.6.101
   libavformat     61.9.101
   libavutil       59.53.100
   libswresample   5.4.100
   libswscale      8.13.100

Other Information

- Windows version: WIN10 22H2
- GPU model, driver and version: RX570 24.9.1
- Source of mpv: zhongfly
- Latest known working version: N/A
- Issue started after the following happened: N/A

Reproduction Steps

  • Set clipboard-monitor=yes
  • Open mpv in idle or with an image
  • Copy anything to clipboard
  • Hover over the mpv window

Expected Behavior

Observing clipboard should update without hovering over the window even when no video is playing.

Actual Behavior

As per #15565 (reply in thread):

Is it expected that on Windows(10) observing clipboard does anything only when mpv is playing a video(can be paused) ?

On my side when its in idle or 'playing' an image, it requires hovering over the window to actually update. Docs don't mention anything about it in clipboard-monitor, but in the PR there was something about Wayland being only updated on window focus, nothing about Windows and hovering over it though. Should this be a potential bug report ?

However, i had it the other way around in the mentioned working scenario, the video can't be paused for it to work.

Idle example:

clipboard_Idle.mp4

Video paused/playing example:

clipboard_Video.mp4

Log File

clipboard_Idle.txt
clipboard_Video.txt

Sample Files

mp.observe_property('clipboard/text', 'native', function (_, clipboard)
        mp.msg.info(clipboard)
end)

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant