Transparency / BCE

Bug #924209 reported by SabreWolfy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mc (Ubuntu)
Invalid
Undecided
Unassigned
tmux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Referes: https://answers.launchpad.net/byobu/+question/186169

When using tmux within byobu, transparency effects which otherwise worked under screen do not render correctly. More information in the link provided above and here: http://blog.jwcxz.com/?p=517

I have noticed this behaviour in Midnight Commander 4.7.5 and MOCP 2.5.0-alpha4. When exiting MC, the terminal is not reset correctly, such that text overwrites other text and the cursor is not visibile. Running 'reset' corrects this. In MOCP, some screen updates appear to be showing text from underneath through. None of these problems were present on the same system running byobu with the screen backend rather than the tmux backend.

Revision history for this message
SabreWolfy (sabrewolfy) wrote :

If the terminal emulator (Terminator in this case) is showing proper transparency, then transparency in MOCP can be achieved with:

mocp -T transparent-background

I do not recall this being necessary before under screen, but now it is required under screen too for proper transparency. I will have to test this further with MOCP and MC.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mc (Ubuntu):
status: New → Confirmed
Changed in tmux (Ubuntu):
status: New → Confirmed
Revision history for this message
William Ting (wting) wrote :

Some more info on bce support within tmux can be found here:
http://sourceforge.net/mailarchive/forum.php?thread_name=20110812184421.GM13508%40plenz.com&forum_name=tmux-users

I've attached a screenshot of `htop` running within tmux v1.6. You'll notice the CPU usage bars aren't being erased due to lack of background-color-erase (bce) support.

Revision history for this message
pi-rho (pi-rho) wrote :

This is not a bug. tmux does not support bce as stated by its author below. Check your TERM and make sure it is a screen variant that does not advertise BCE.

------------ http://comments.gmane.org/gmane.comp.terminal-emulators.tmux.user/1931 ------------
This is called background-colour-erase (BCE) and is not supported by
tmux.

Applications should not depend on this behaviour unless the bce flag
capability is in the terminfo description and for TERM=screen it is not:

$ infocmp -x xterm|grep bce
        OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, AX,
$ infocmp -x screen|grep bce
$
--------------------------------------------------------------------------------------------------------------------------------------

----------------- man tmux ------------------------------------------------------------------------------------------------------
default-terminal terminal
                     Set the default terminal for new windows created in this
                     session - the default value of the TERM environment
                     variable. For tmux to work correctly, this must be set
                     to `screen' or a derivative of it.
--------------------------------------------------------------------------------------------------------------------------------------

Changed in tmux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Yury V. Zaytsev (zyv) wrote :

Okay, since apparently this is not a bug in mc, I'm marking it as invalid too.

Changed in mc (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.