elementary / videos

Video player and library app designed for elementary OS
https://elementary.io
GNU General Public License v3.0
58 stars 17 forks source link

The videos app opens multiple windows #394

Closed pibiba closed 2 weeks ago

pibiba commented 2 weeks ago

What Happened?

When you open a file, two or even three windows open, but the video itself plays in the second window.

Steps to Reproduce

Open the app and select the file or open the desired video file via a file manager.

1 2 3

Expected Behavior

The video should play in the main window as shown in the screenshot without opening any additional windows. 4

OS Version

Other Linux

Session Type

Classic Session (X11, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

~ ❯ io.elementary.videos

(io.elementary.videos:11339): GLib-GObject-CRITICAL **: 10:33:48.044: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.videos:11339): GLib-GObject-CRITICAL **: 10:33:48.054: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.videos:11339): Gtk-WARNING **: 10:33:48.058: A window is shown after it has been destroyed. This will leave the window in an inconsistent state.

(io.elementary.videos:11339): Adwaita-WARNING **: 10:33:49.922: AdwNavigationPage 0xe174c86dd30 is missing a title. To hide a header bar title, consider using AdwHeaderBar:show-title instead.
Stream with high frequencies VQ coding
~ ❯ G_MESSAGES_DEBUG=all io.elementary.videos   
(io.elementary.videos:11521): GLib-GIO-DEBUG: 10:34:40.464: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ?gsettings-backend?
(io.elementary.videos:11521): dconf-DEBUG: 10:34:40.465: watch_fast: "/io/elementary/videos/" (establishing: 0, active: 0)
(io.elementary.videos:11521): GLib-GIO-DEBUG: 10:34:40.466: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(io.elementary.videos:11521): dconf-DEBUG: 10:34:40.468: watch_established: "/io/elementary/videos/" (establishing: 1)
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:40.540: Connecting to session manager
(io.elementary.videos:11521): GLib-GIO-DEBUG: 10:34:40.544: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?

(io.elementary.videos:11521): GLib-GObject-CRITICAL **: 10:34:40.635: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.videos:11521): GLib-GObject-CRITICAL **: 10:34:40.646: g_object_get: assertion 'G_IS_OBJECT (object)' failed

(io.elementary.videos:11521): Gtk-WARNING **: 10:34:40.649: A window is shown after it has been destroyed. This will leave the window in an inconsistent state.
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:40.760: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:40.760: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:40.760: snapshot symbolic icon using mask

(io.elementary.videos:11521): Adwaita-WARNING **: 10:34:43.415: AdwNavigationPage 0x39dc15070 is missing a title. To hide a header bar title, consider using AdwHeaderBar:show-title instead.
** (io.elementary.videos:11521): DEBUG: 10:34:43.424: PlaybackManager.vala:178: Opening file:///home/user/%D0%92%D0%B8%D0%B4%D0%B5%D0%BE/%D0%9A%D0%BE%D1%80%D0%BF%D0%BE%D1%80%D0%B0%D1%86%D0%B8%D1%8F%20%D0%9C%D0%BE%D0%BD%D1%81%D1%82%D1%80%D0%BE%D0%B2.mkv
(io.elementary.videos:11521): dconf-DEBUG: 10:34:43.427: change_fast
(io.elementary.videos:11521): dconf-DEBUG: 10:34:43.432: change_fast
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:43.451: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:43.451: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:43.451: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:43.452: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:43.452: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:43.452: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:43.452: snapshot symbolic icon using mask
Stream with high frequencies VQ coding
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:44.093: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:44.094: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:52.707: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:52.707: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:52.707: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:52.707: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:52.707: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:52.707: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:34:52.707: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:35:07.746: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:35:07.746: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:35:07.746: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:35:07.746: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:35:07.746: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:35:07.746: snapshot symbolic icon using mask
(io.elementary.videos:11521): Gtk-DEBUG: 10:35:07.746: snapshot symbolic icon using mask
(io.elementary.videos:11521): dconf-DEBUG: 10:35:10.175: sync
~ ❯ 


### Hardware Info

_No response_
ryonakano commented 2 weeks ago

This sounds similar to #356 and #390. Did you install gst-plugins-rs on your system?

pibiba commented 2 weeks ago

There is no such package as gst-plugins-rs in the repositories. All dependencies were, of course, installed during the build. I had to install a whole bunch of gst-plugins- and only gst-plugin-gtk4 worked...

On the one hand, I'm glad that the problem was solved. On the other, I'm deeply disappointed with the speed of this application...