You are not logged in.

#1 2011-03-03 22:21:57

mycorunner
Member
Registered: 2010-01-06
Posts: 25

Chromium doesn't fill screen when maximized (Openbox+Xcompmgr)

First of all, hi all! I've gotten a lot of help here and in the wiki so thanks for that!

I'm using openbox, tint2 and xcompmgr. When I maximize chromium the right 1/3rd of the window doesn't draw, I just see the wallpaper or whatever window is underneath it. I don't think that happened before I installed xcompmgr. When I switch to another desktop then back again, the problem goes away (until I minimize/maximize again). Any ideas?

edit: it also leaves artifacts when I hit "restore" where the window used to be. They go away when I drag a window over it or move my mouse over it a lot.

Last edited by mycorunner (2011-03-03 22:23:33)

Offline

#2 2011-03-03 22:43:41

Arpione
Member
From: Pécs, Hungary
Registered: 2010-09-13
Posts: 31

Re: Chromium doesn't fill screen when maximized (Openbox+Xcompmgr)

It's a known (and sadly quite old) bug between chromium and xcompmgr. The only workaround I know of is to set chrome/chromium to use the system's titlebar.

Offline

#3 2011-03-03 22:45:36

mycorunner
Member
Registered: 2010-01-06
Posts: 25

Re: Chromium doesn't fill screen when maximized (Openbox+Xcompmgr)

Thanks for the reply. I guess I'll live with it.

Offline

#4 2011-03-04 00:07:37

mycorunner
Member
Registered: 2010-01-06
Posts: 25

Re: Chromium doesn't fill screen when maximized (Openbox+Xcompmgr)

On a related note, is there a way to get fullscreen windows to extend below the tint2 bar, so that the bar stays on top? I can do it if the windows aren't maximized and I'm dragging them around.

Offline

#5 2011-03-04 01:06:09

Arpione
Member
From: Pécs, Hungary
Registered: 2010-09-13
Posts: 31

Re: Chromium doesn't fill screen when maximized (Openbox+Xcompmgr)

In your tint2rc add/modify these 2 lines:

panel_layer = top
strut_policy = none

Offline

#6 2011-03-04 05:08:15

mycorunner
Member
Registered: 2010-01-06
Posts: 25

Re: Chromium doesn't fill screen when maximized (Openbox+Xcompmgr)

Hm that seems to have half-worked. The bottom border is below the border, but I still see the wallpaper through the tint panel.

I think I'm not getting "true" transparency. For example, when I move a transparent terminal window around I don't see anything until I stop moving and unclick, and even then I only see the wallpaper, not any windows that may be underneath it.

Offline

#7 2011-03-04 07:34:07

hellomynameisphil
Member
From: /home/phil/Vancouver
Registered: 2009-10-02
Posts: 257
Website

Re: Chromium doesn't fill screen when maximized (Openbox+Xcompmgr)

mycorunner wrote:

Thanks for the reply. I guess I'll live with it.

Does cairo-compmgr or dcompmgr (in AUR) work any better?

Offline

#8 2011-03-08 01:00:59

Arpione
Member
From: Pécs, Hungary
Registered: 2010-09-13
Posts: 31

Re: Chromium doesn't fill screen when maximized (Openbox+Xcompmgr)

mycorunner wrote:

...when I move a transparent terminal window around I don't see anything until I stop moving and unclick, and even then I only see the wallpaper

This sounds like you don't have compositing enabled. To get real transparency you have to enable the Composite extension in X.
To achieve this create a file or edit an existing one in /etc/X11/xorg.conf.d (mine is called 10-extensions.conf) and add the following:

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

This should solve your problems with tint and transparent terminals.

Last edited by Arpione (2011-03-08 01:01:47)

Offline

#9 2011-03-08 17:21:19

mycorunner
Member
Registered: 2010-01-06
Posts: 25

Re: Chromium doesn't fill screen when maximized (Openbox+Xcompmgr)

Thanks! That's exactly what I needed.

Offline

Board footer

Powered by FluxBB