#17 jwm -reload ruins display colors

closed-fixed
nobody
None
5
2012-01-16
2012-01-04
Barry Kauler
No

I have reported this on my blog, with confirmation from others:

http://bkhome.org/blog/?viewDetailed=02629

After executing "jwm -reload", the screen looked ok, but after a short time it suddenly became "washed out". This problem is only for what jwm controls, tray, window title/border and menu, everything else is ok.
Icons are very pale, mostly white, the theme colors were changed.

Rebooting made no difference. Changing back to jwm version 505, the icons came back to normal, but not the theme colors. I had to re-select the theme to bring it back.

This is all pretty weird. There was a time a couple of years ago when we had a lot of trouble with jwm with washed-out icons, which we thought had something to do with the version of pixman. Note, I am using pixman 0.22.2, running Racy Puppy 5.2.2. But we thought that trouble was long-gone. Why the theme colors should change, that is weird.

Not everybody has the problem. 01micko, testing on Slacko, our Puppy built from Slackware 13.37 packages, reports success.

Regards,
Barry Kauler
bkhome.org/blog

Discussion

  • I can't think of anything that would have caused this off hand. Would you be able to point me to a screen shot of what this looks like?
    Also, do you have an idea as to what revision introduced this problem?
    Thanks!

     
  • Barry Kauler
    Barry Kauler
    2012-01-11

    Ok, running Racy Puppy 5.2.2, I replaced jwm 505 with 562, ran "jwm -reload". No change to screen -- before, it happened after awhile -- anyway, by restarting X I can make it happen immediately.

    Here are before and after screenshots:

    http://distro.ibiblio.org/quirky/test/jwm/screenshot-ok.png
    http://distro.ibiblio.org/quirky/test/jwm/screenshot-bad.png

    This time my theme colors are ok, it is just the icons that have become washed out.

    Repeating, this is a very old problem, washed-out icons, that we had with JWM a couple of years ago. I thought it had been solved, or rather, we haven't had the problem for the last couple of years.

    Changing back to 505 and restarting X fixes it.

    I presume that the problem has come in with the introduction of -reload. I will test that version and find out.

    Regards,
    Barry Kauler

     
  • Barry Kauler
    Barry Kauler
    2012-01-11

    Ok, got it. Revision 512 is good, 514 is bad -- got these from your snapshots directory, there is no 513.

    I can flip between good and washed-out icons simply by changing the version of jwm and restarting X.

    Interesting that, it seems that the single execution of "jwm -reload" has made a permanent change somewhere, so that now all revisions from 514 onwards cannot render the icons properly.

    JWM 562 does render icons properly in a pristine Puppy in which the "jwm -reload" has never been executed! Presume that applies to 514 also.

    Repeating an earlier comment, this problem of washed-out icons was happening with JWM a couple of years ago. Haven't had any problem since then, until now.

    Regards,
    Barry Kauler

     
  • Revision 514 is where JWM started using xrender for scaling icons, so it would make some sense that this is where the problem would be. A workaround would probably be to run configure with "--disable-xrender". Unfortunately, that would also disable alpha transparency for icons.

    I'll look into JWM's use of xrender (which has to be among the most temperamental API I've ever used).

     
  • This may be fixed in revision 574 (326).
    JWM now explicitly scales the alpha picture when scaling images rather than relying on the alpha_map picture to be scaled.

     
  • Barry Kauler
    Barry Kauler
    2012-01-15

    • status: open --> open-fixed
     
  • Barry Kauler
    Barry Kauler
    2012-01-15

    Joe, revision 574 works! The images are fine now after "jwm -reload".

    I don't know about the problem that I had with the theme colours changing. That only happened once, and maybe it was something that I did, not a jwm problem.

    So, mark this as solved!

     
    • status: open-fixed --> closed-fixed