Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007068 [Squeak] VM minor always 05-27-08 02:02 04-18-10 22:06
Reporter matthewf View Status public  
Assigned To bert
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0007068: Squeak is translucent under X compositing window managers
Description When running squeak under a compositing window manager (compiz, beryl, kwin), Squeak appears translucent; you can see the windows underneath it. The amount of translucency is dependent on the pixel color squeak draws: black is completely transparent, white is opaque, and in-betwen colors are translucent. Attached are some screenshots that demonstrate the bug.

This is mostly a bug in the Unix VM. I suspect the bug is in the color translation of the virtual machine, which is why I have filed it under VM

Additional Information
Attached Files  background.png [^] (634,053 bytes) 05-27-08 02:02
 depth-1.png [^] (434,279 bytes) 05-27-08 02:03
 depth-2.png [^] (380,174 bytes) 05-27-08 02:03
 depth-4.png [^] (395,454 bytes) 05-27-08 02:03
 depth-8.png [^] (405,976 bytes) 05-27-08 02:03
 depth-16.png [^] (465,542 bytes) 05-27-08 02:04
 depth-32.png [^] (261,405 bytes) 05-27-08 02:04
 DisplayDepth32.1.cs [^] (134 bytes) 05-30-08 18:06
 visual.patch [^] (2,733 bytes) 06-03-08 19:01

- Relationships
has duplicate 0007001closed bert Issue with 3.10 and Compiz 

- Notes
(0012190 - 87 - 87 - 87 - 87 - 87 - 87)
KenCausey
05-27-08 18:20

I would assign this to Ian but as far as I can tell he has not created an account here.
 
(0012195 - 43 - 43 - 43 - 43 - 43 - 43)
tim
05-27-08 19:31

I'll send Ian an email and see what he says
 
(0012231 - 262 - 349 - 349 - 349 - 349 - 349)
wiz
05-30-08 18:10

DisplayDepth32.1.cs uploaded.

Just a postscript

"Postscript:
 "
Display newDepth: 32 .

And it should do the trick. Drop this on to the image and install.

Alternately add to 3.10.1 updates stream.

Yours in curiosity and service, --Jerome Peace
 
(0012248 - 42 - 42 - 158 - 158 - 158 - 158)
KenCausey
06-03-08 16:55

Related: http://dev.laptop.org/ticket/6759 [^]
 
(0012250 - 766 - 790 - 790 - 790 - 790 - 790)
bert
06-03-08 19:00

I think setting the depth to 32 may or may not work, depending on the X server's color layout (ARGB vs RGBA). In one case we do no conversion so it works for most parts, just some parts become transparent. For the other case we do the conversion ourselves but miss the alpha component, so the window is completely blank.

We should prefer a 24 bit visual over a 32 bit one. Also, if 16 is the default visual we should take that instead of a 32 bit one. I am attaching a patch that addresses this (also sent to Ian). Tested on my desktop and on an XO.

Actually, when converting 32 to 32 we need to copy alpha as well. And when copying 16 to 32, alpha needs to be set to opaque. My patch does not address that (Ian said to better not touch the copying functions).
 
(0012259 - 49 - 49 - 49 - 49 - 49 - 49)
KenCausey
06-05-08 20:25

I'm released 3.10.2 with display depth set to 32.
 
(0012260 - 25 - 25 - 25 - 25 - 25 - 25)
KenCausey
06-05-08 20:25

err s/released/releasing/
 
(0012356 - 244 - 244 - 244 - 244 - 244 - 244)
wilfer9
07-11-08 02:23

The same version (3.9.8-6 for ubuntu 7.10)of squeak-vm runs well using a notebook with a ati graphic card, but get some trouble when runs under a desktop with a nvidia card. I think the problem of translucent window is concern i have described.
 
(0012381 - 184 - 184 - 184 - 184 - 184 - 184)
KenCausey
07-15-08 23:44

I've had a report from someone (zeuxis) on IRC that even with 32 bits while most of Squeak looks fine he says that the 'paintbox' is problematic. I believe he means the painting tool.
 
(0012510 - 245 - 245 - 245 - 245 - 245 - 245)
pfiled
08-22-08 15:08

For a bit of testing feedback; I had this issue with stock Ubuntu 8.04 system + Intel X3100. Running 'Display newDepth: 32 .' had no effect, 24 wasn't supported, 16 and 8 made it worse. Applying visual.patch to SVN truck 1905 resolved the issue.
 
(0013101 - 85 - 85 - 85 - 85 - 85 - 85)
bert
04-29-09 20:25

This is fixed in the 3.10-4 Linux VM by preferring a 24 bpp visual over a 32 bpp one.
 

- Issue History
Date Modified Username Field Change
05-27-08 02:02 matthewf New Issue
05-27-08 02:02 matthewf Status new => assigned
05-27-08 02:02 matthewf Assigned To  => KenCausey
05-27-08 02:02 matthewf File Added: background.png
05-27-08 02:03 matthewf File Added: depth-1.png
05-27-08 02:03 matthewf File Added: depth-2.png
05-27-08 02:03 matthewf File Added: depth-4.png
05-27-08 02:03 matthewf File Added: depth-8.png
05-27-08 02:04 matthewf File Added: depth-16.png
05-27-08 02:04 matthewf File Added: depth-32.png
05-27-08 18:20 KenCausey Note Added: 0012190
05-27-08 18:20 KenCausey Assigned To KenCausey => tim
05-27-08 18:20 KenCausey Category Any => VM
05-27-08 19:30 tim Assigned To tim =>
05-27-08 19:31 tim Note Added: 0012195
05-27-08 19:31 tim Status assigned => acknowledged
05-29-08 15:38 KenCausey Issue Monitored: KenCausey
05-30-08 18:06 wiz File Added: DisplayDepth32.1.cs
05-30-08 18:10 wiz Note Added: 0012231
06-03-08 16:55 KenCausey Note Added: 0012248
06-03-08 19:00 bert Note Added: 0012250
06-03-08 19:01 bert File Added: visual.patch
06-05-08 20:25 KenCausey Note Added: 0012259
06-05-08 20:25 KenCausey Note Added: 0012260
07-11-08 02:23 wilfer9 Note Added: 0012356
07-15-08 23:44 KenCausey Note Added: 0012381
08-22-08 15:02 pfiled Issue Monitored: pfiled
08-22-08 15:08 pfiled Note Added: 0012510
10-01-08 01:56 Keith_Hodges Relationship added has duplicate 0007001
04-29-09 20:25 bert Status acknowledged => resolved
04-29-09 20:25 bert Resolution open => fixed
04-29-09 20:25 bert Assigned To  => bert
04-29-09 20:25 bert Note Added: 0013101
04-18-10 22:06 andreas Status resolved => closed


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
119 total queries executed.
63 unique queries executed.
Powered by Mantis Bugtracker