You are not logged in.

#1 2021-09-29 19:30:47

tcomarchetti
Member
Registered: 2021-04-21
Posts: 36

Spotify not properly open and plank issue

Hi guys,
as well as you can see on the picture, Spotify is not properly open (Spotify icon is "inactive" while there is another one called "window untitled" on the right);
if I press Spotify icon while is reproducing music, the system tries to launch Spotify again (I mean, once Spotify is open, I can't maximize or minimize it clicking on his icon but I have to click on "window untitled" icon).
Any idea how to solve this bug?

I'm using Cinnamo DE, Spotify installed from flathub.

Be patience, I'm new on Arch wink

Pietro

spotify screen

https://imgur.com/a/Atf7on2

Offline

#2 2021-09-29 20:04:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,245

Re: Spotify not properly open and plank issue

Spotify installed from flathub

Why?
https://aur.archlinux.org/packages/spotify/

Though it's most likely due to the spotify window not setting any properties that identify it - check "xprop" (click the spotify window when the cursor turns into a "+")
No idea whether the AUR version does this any better…

Offline

#3 2021-09-29 20:13:14

tcomarchetti
Member
Registered: 2021-04-21
Posts: 36

Re: Spotify not properly open and plank issue

seth wrote:

Spotify installed from flathub

Why?
https://aur.archlinux.org/packages/spotify/

Though it's most likely due to the spotify window not setting any properties that identify it - check "xprop" (click the spotify window when the cursor turns into a "+")
No idea whether the AUR version does this any better…

 _NET_WM_STRUT(CARDINAL) = 0, 0, 0, 0
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
XKLAVIER_STATE(INTEGER) = 0, -545908992
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_GTK_EDGE_CONSTRAINTS(CARDINAL) = 170
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_STATE(ATOM) = _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_STICKY
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: False
		Initial state is Normal State.
		window id # of group leader: 0x3600001
_GTK_THEME_VARIANT(UTF8_STRING) = 
XdndAware(ATOM) = BITMAP
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 56623109, 56623110
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x3600004
WM_CLIENT_LEADER(WINDOW): window id # 0x3600001
_NET_WM_PID(CARDINAL) = 1415
WM_LOCALE_NAME(STRING) = "it_IT.UTF-8"
WM_CLIENT_MACHINE(STRING) = "ArchCINN"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 0, 0
		program specified minimum size: 1366 by 90
		program specified maximum size: 1366 by 90
		program specified base size: 0 by 0
		window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "plank", "Plank"
WM_ICON_NAME(STRING) = "plank"
_NET_WM_ICON_NAME(UTF8_STRING) = "plank"
WM_NAME(STRING) = "plank"
_NET_WM_NAME(UTF8_STRING) = "plank"
[pietro@ArchCINN ~]$ 

this is the result.
I'm currently playng spotify.

Offline

#4 2021-09-29 20:14:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,245

Re: Spotify not properly open and plank issue

Not the plank window, the spotify window. Not it's icon. The thing where you can select and play the music…

Offline

#5 2021-09-29 20:18:37

tcomarchetti
Member
Registered: 2021-04-21
Posts: 36

Re: Spotify not properly open and plank issue

 [pietro@ArchCINN ~]$ xprop
_NET_WM_ICON_GEOMETRY(CARDINAL) = 908, 714, 50, 54
XKLAVIER_STATE(INTEGER) = 0, -545908992
_GTK_EDGE_CONSTRAINTS(CARDINAL) = 85
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_MAXIMIZED_VERT
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 34, 0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
XdndProxy(WINDOW): window id # 0x6400002
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 0, 0
_NET_WM_PID(CARDINAL) = 6
WM_CLIENT_MACHINE(STRING) = "ArchCINN"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, _NET_WM_PING
[pietro@ArchCINN ~]$  

Sorry my mistake............... wink

Offline

#6 2021-09-29 20:23:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,245

Re: Spotify not properly open and plank issue

No class or name and "_NET_WM_PID(CARDINAL) = 6" is very most likely BS ("ps aux | grep spotify", I bet the pid isn't "6")
The window is not identifiable as anything and so the cinnamon plank can't link it to the fancy icon.

I don't know whether the AUR version does any better, but it can't get worse.

Offline

Board footer

Powered by FluxBB