You are not logged in.

#1 2020-11-29 22:50:53

iMaaNor
Member
Registered: 2020-03-20
Posts: 10

An annoying transparent bar is on top of mpv

Hello friends
i have i3-gaps (with rounded borders)
the problem is that there is a transparent bar on top of mpv in all window modes (fullscreen - float - tiling)
here some screenshot (look at the top of mpv window)
https://ibb.co/gMRZTZq
https://ibb.co/1mNskMb

what should i do?

Offline

#2 2020-11-29 23:09:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: An annoying transparent bar is on top of mpv


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2020-11-29 23:29:45

iMaaNor
Member
Registered: 2020-03-20
Posts: 10

Re: An annoying transparent bar is on top of mpv

thank you for your attention but this is not my problem
my problem is there is a bar like menubar on top of mpv window always (with or without playing video)
i try to show you with a better example

https://ibb.co/cXMW1sP

Offline

#4 2020-11-30 10:01:12

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: An annoying transparent bar is on top of mpv

Do you set the "windowcontrols" or "border" parameter?
Does it matter if you start mpv --border / --no-border ?

Offline

#5 2020-11-30 18:39:39

iMaaNor
Member
Registered: 2020-03-20
Posts: 10

Re: An annoying transparent bar is on top of mpv

seth wrote:

Do you set the "windowcontrols" or "border" parameter?
Does it matter if you start mpv --border / --no-border ?

ok i test everything and now i know what is the reason of this issue
i have picom for some shadow and transparency in my i3wm and when i close it , this transparent bar is gone

but do you know how can i exclude mpv from picom modes?

Offline

#6 2020-11-30 18:41:58

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: An annoying transparent bar is on top of mpv

Of course it's gone, picom is what allows you to have transperancy.
That doesn't explain why it's there.

Post your picom config.

Offline

#7 2020-11-30 18:56:49

iMaaNor
Member
Registered: 2020-03-20
Posts: 10

Re: An annoying transparent bar is on top of mpv

seth wrote:

Of course it's gone, picom is what allows you to have transperancy.
That doesn't explain why it's there.

Post your picom config.

i hope it can be solved by adding somethings to this config

this is my picom config : http://ix.io/2G3W

Offline

#8 2020-11-30 19:01:39

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: An annoying transparent bar is on top of mpv

Does altering  "frame-opacity = 0.7;" have an impact?
Are you btw. using a patched version of picom (for the rounded corners)?

Offline

#9 2020-11-30 19:37:23

iMaaNor
Member
Registered: 2020-03-20
Posts: 10

Re: An annoying transparent bar is on top of mpv

seth wrote:

Does altering  "frame-opacity = 0.7;" have an impact?
Are you btw. using a patched version of picom (for the rounded corners)?

it worked; I replaced the picom with the version you mentioned and comment out "frame-opacity = 0.7;" and it worked perfectly

thank you so much for your help my friend

Offline

#10 2020-11-30 19:58:32

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: An annoying transparent bar is on top of mpv

This deosn't explain why picom thinks there's a titlebar in that area - esp. if this only applies to mpv.

Offline

#11 2020-11-30 20:38:48

iMaaNor
Member
Registered: 2020-03-20
Posts: 10

Re: An annoying transparent bar is on top of mpv

seth wrote:

This deosn't explain why picom thinks there's a titlebar in that area - esp. if this only applies to mpv.

i think because there is one titlebar there
because when i set --no-border and with mouse hover on mpv window this titlebar show the title of window and exit , minimize , fullscreen buttons
like here : https://ibb.co/DQTcVzt

Offline

#12 2020-11-30 20:47:55

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: An annoying transparent bar is on top of mpv

What brings us to post #4 - do you run mpv this way? What's your mpv config?

Offline

#13 2020-11-30 21:04:17

iMaaNor
Member
Registered: 2020-03-20
Posts: 10

Re: An annoying transparent bar is on top of mpv

seth wrote:

What brings us to post #4 - do you run mpv this way? What's your mpv config?

but i dont make any change in my mpv config and i run it even with option --no-config but that has the same issue
here my mpv config : http://ix.io/2G4V

Offline

#14 2020-12-01 04:20:37

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: An annoying transparent bar is on top of mpv

Seems a misdetection then, but mpv doesn't have weird properties here.
Output when you run "xprop" and then click the mpv window?

Which picom version/patches do you use exactly?
Edit: and does it happen w/ the repo version as well?

Last edited by seth (2020-12-01 04:21:00)

Offline

#15 2020-12-01 17:59:53

iMaaNor
Member
Registered: 2020-03-20
Posts: 10

Re: An annoying transparent bar is on top of mpv

seth wrote:

Seems a misdetection then, but mpv doesn't have weird properties here.
Output when you run "xprop" and then click the mpv window?

Which picom version/patches do you use exactly?
Edit: and does it happen w/ the repo version as well?

i don't know why its happened
but 4 days ago i had i3-gaps(not rounded) with normal picom version (vr in community) and this problem is there too
and now i have i3-gaps-rounded-git 4.16.1.r184.g00181678-3 and picom-rounded-corners r1392.bae5bf0-1 form AUR

and here is "xprop" on mpv out put : http://ix.io/2Gb9

Last edited by iMaaNor (2020-12-01 18:00:33)

Offline

#16 2020-12-01 21:12:25

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: An annoying transparent bar is on top of mpv

_NET_FRAME_EXTENTS(CARDINAL) = 2, 2, 20, 2

It says there's a 20px titlebar, this is supposed to be set by the WM ie. i3-gaps and does not match the visual appearance.
Do other windows have a "regular" titlebar in your setup?

Offline

#17 2020-12-01 22:18:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: An annoying transparent bar is on top of mpv


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#18 2020-12-02 12:03:53

iMaaNor
Member
Registered: 2020-03-20
Posts: 10

Re: An annoying transparent bar is on top of mpv

This seems to be an incompatibility between i3 and mpv that mpv creates this titlebar by itself.
Because the only app that has this titlebar in my system is mpv

Offline

Board footer

Powered by FluxBB