Stable: 2.5.2
Development: 2.6-alpha3
This occurs using version 2.5.0-beta1 and 2.5.0_alpha4_p20111211 on gentoo (these are the only 2 versions available in portage).
The interface frequently draws glitches as if something is failing to be refreshed when switching between panes. My terminal is rxvt-unicode v9.15. I've attached a picture demonstrating glitches in the bottom left pane.
slintux
Sat, 2013-02-02 21:09
Permalink
I want to add that glitching
I want to add that glitching does NOT occur when running mocp from a bare TTY, rather than under urxvt.
tomaszg
Sun, 2013-02-03 16:44
Permalink
Hi, I've been trying to
Hi, I've been trying to reproduce your problem but I don't see anything like that (also on Gentoo). I've tried urxvt version from portage and everything works nice (with USE=xft). With USE=-xft I got general problems with bold fonts (probably some fonts are missing on my system).
I see that you have a sophisticated urxvt config. Did you try to reproduce that problem with plain urxvt? What USE flags have you set?
There were several similar problems in MOC before 2.5.0-beta1 due to Unicode related problems, but from what I see, you don't have any unicode characters there. In any case what are your LANG and LC_* settings? Could you try with locale set to C?
slintux
Sun, 2013-02-03 17:17
Permalink
Here are the relevant USE
Here are the relevant USE flags
My locality was set to en_US.UTF-8 but changing everything to C had no effect.
like this:
or like this:
This is my urxvt launch command:
Launching a vanilla urxvt session didn't fix the issue either though.
For what it's worth, my windows manager is XMonad, but I installed MOC on another similarly configured Gentoo system using Fluxbox and it has the same problem.
slintux
Sun, 2013-02-03 17:21
Permalink
Actually, I just tried
Actually, I just tried installing another terminal emulator (aterm) and it still has the same problem.
tomaszg
Sun, 2013-02-03 19:59
Permalink
I'm using Xfce, and on any
I'm using Xfce, and on any terminal I tried I can't reproduce it (urxvt, xfce-terminal, konsole).
I tried installing terminus-font, but for some reason, my system isn't showing it in configuration dialog or fc-list.
I can't think of anything else I could do to try to reproduce it. Are you sure you don't have anything weird in the tags themselves?
slintux
Sun, 2013-02-03 21:10
Permalink
I fixed it. I noticed that
I fixed it. I noticed that the "glitched" text was always the same as the terminal title so I dug around the config file and changed this:
I believe the problem occurred because I am running my X server from within a screen session, so it was printing out the xterm title AND the screen title. The second screen title was just being randomly printed on the interface, and that's the glitch I was seeing.
BTW, moc doesn't seem to initialize a default config file at ~/.moc/config. I was grepping around the source tarball when I found this in the config.example.in file.
tomaszg
Sun, 2013-02-03 21:13
Permalink
I had very similar problem
I had very similar problem using ConnectBot on Android. Also had to turn off setting title. Should have guessed it :)
slintux
Sun, 2013-02-03 21:19
Permalink
The offending code in
The offending code in interface_elements.c:
My env vars are set to $TERM=rxvt-unicode and $WINDOW=0 but it seems like $WINDOW only gets set inside a screen session. Seems like changing the OR in line 2457 to an AND might fix the glitch in this scenario. Is there another situation where the OR is relevant?
jcf
Wed, 2014-04-23 21:46
Permalink
RESOLVED
I have today committed a patch (r2628) which resolves this problem by adding a new configuration option,
ScreenTerms
, which parallels the existingXTerms
option. The default settings should work in most situations, but these two options together allow users sufficient control to resolve it themselves if not.