popcorn-official / popcorn-desktop

Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player ( Windows / Mac / Linux ) A Butter-Project Fork
https://popcorn-time.site
Other
9.48k stars 627 forks source link

UI unresponsive after file picker cancel #2644

Closed faveoled closed 2 years ago

faveoled commented 2 years ago

Operating System Version: Ubuntu 22.04.1

Popcorn Time Version: 0.4.9

Download date: October, 4th

Download url: GitHub releases page

Expected Behaviour

UI continues to be responsive

Actual Behaviour

UI stops respond to clicks

Steps to reproduce the behaviour

  1. Click Custom... on "Message" icon. File picker opens image

  2. Cancel file picker. Do not choose the file

  3. The UI is unresponsive

Screenshot(s) of issue or error(s) logs of developer console (Windows/Linux: F12, MacOS: ⌘ + 0 ... then 'console' tab) (recommended)

F12 not clickable

faveoled commented 2 years ago

Happens on both Wayland and Xorg. I open the video via a torrent magnet link if that's important

faveoled commented 2 years ago

The log starts to write repeated GL-related errors after the unresponsiveness event:

user@hp-laptop:~$ /opt/Popcorn-Time/Popcorn-Time
[29204:29204:1006/132228.483176:ERROR:edid_parser.cc(102)] Too short EDID data: manufacturer id
[29229:29229:1006/132228.623009:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
(node:29246) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[29229:29229:1006/132311.849910:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 1 times!
[29229:29229:1006/132314.844318:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 2 times!
[29229:29229:1006/132317.850701:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 3 times!
[29229:29229:1006/132317.854965:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 4 times!
[29229:29229:1006/132317.856281:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 5 times!
[29229:29229:1006/132322.376032:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 6 times!
[29229:29229:1006/132322.389710:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 7 times!
[29229:29229:1006/132326.844075:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 8 times!
[29229:29229:1006/132326.855495:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 9 times!
[29229:29229:1006/132326.859474:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 10 times!
[29229:29229:1006/132331.843838:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 11 times!

No gl_surface_presentation_helper error on discrete GPU but the UI still hangs

ivan1986 commented 2 years ago

for me all ok - after close dialog all works fine, no frize just pause playing and continue on click in torrent files and when select film from catalog