bugGNU Screen - Bugs: bug #32339, Coloring problems when using...

 
 

bug #32339: Coloring problems when using caption padding

Submitted by:  None
Submitted on:  Thu 03 Feb 2011 02:18:07 PM UTC  
 
Category: User InterfaceSeverity: 3 - Normal
Priority: 5 - NormalStatus: In Progress
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: <= 3.6.x
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 17 May 2014 10:48:08 AM UTC, comment #6:

Ok, got it fixed:

http://git.savannah.gnu.org/cgit/screen.git/commit/?id=8ffd5f465ef4ed07b45534393ed51502b9b0ea77

will be in next bugfix release

Amadeusz Sławiński <amade>
Project Administrator
Sat 17 May 2014 12:03:39 AM UTC, comment #5:

For now I reverted commit that broken it.

Amadeusz Sławiński <amade>
Project Administrator
Wed 30 Apr 2014 04:03:38 PM UTC, comment #4:

duplicate report for this issue: http://savannah.gnu.org/bugs/index.php?42247

Anonymous
Wed 04 Dec 2013 10:17:45 PM UTC, comment #3:

The (close to) minimal hardstatus line to reproduce this issue is "%{k}%=%-w%{r}[%n %t]%{k}%+w%=".

This has also been reported in Ubuntu at https://bugs.launchpad.net/ubuntu/+source/screen/+bug/1257895

Anonymous
Sun 05 May 2013 09:09:07 PM UTC, comment #2:

Sorry, below was the fixed hardstatus line. The broken one (with the %=) is:
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-\
%d %{W}%c %{g}]'

Patrick Stetter <chipmaster>
Sun 05 May 2013 08:58:56 PM UTC, comment #1:

I ran into this issue as well. I reproduce it with the following:
hardstatus string '%{= kG}[ %{G}%H %{g}][ %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)\
%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c %{g}]'

And removing the first %= also fixes the issue.

Patrick Stetter <chipmaster>
Thu 03 Feb 2011 02:18:07 PM UTC, original submission:

I'm currently using the following caption line:

caption string '%{= kG}[ %{G}%H%{g} ][ %= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%= %{g}][ %{Y}%l%{g} ][ %{B}%m/%d %{W}%C%a%{g} ]'
caption always

On 066b098a312e5c from git, on Snow Leopard in Terminal.app this produces some odd results as shown here.

When I select one of the middle windows, everything is fine (see screenshot middleselected.png), but when I select the last window the highlighting is incorrect (lastselected.png). Note now the "h" is red and the parens around the highlighted window are not.

The built in version of screen (Screen version 4.01.00devel (GNU) 2-May-06) does not exhibit this behavior.

If I remove the first '%= ' to left justify the window list, the coloring works as expected.

My screen was compiled using:

./autogen.sh
./configure --enable-locale --enable-telnet --enable-colors256 --enable-rxvt_osc --prefix=/usr/local
make install

gcc version reports as i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)

Let me know if you need any more information. Thanks!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #22590:  middleselected.png added by None (60kB - image/png)
file #22591:  lastselected.png added by None (60kB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by rah
  • -unavailable- added by chipmaster (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 May 2014 10:48:08 AM UTCamadeStatusNone=>In Progress
    Mon 01 Jul 2013 10:13:22 AM UTCrahCarbon-Copy-=>Added rah
    Thu 03 Feb 2011 02:18:07 PM UTCNoneAttached File-=>Added middleselected.png, #22590
      Attached File-=>Added lastselected.png, #22591

    Back to the top


    Powered by Savane 3.1-cleanup