Issue 6266 - CDE desktop gull icon appears corrupt when graphics card operating in 8 bit mode
Summary: CDE desktop gull icon appears corrupt when graphics card operating in 8 bit mode
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 Beta2
Hardware: Sun Solaris
: P3 Trivial with 2 votes (vote)
Target Milestone: OOo 1.1 Beta2
Assignee: khendricks
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-03 16:15 UTC by robert.kinsella
Modified: 2003-11-23 11:39 UTC (History)
5 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
gzipped tar archive with new CDE icon images in XPM format (9.44 KB, application/octet-stream)
2002-08-02 11:46 UTC, jkeil
no flags Details
Updated xpm icons, the C variable names in the previous attachment were wrong (8.80 KB, application/octet-stream)
2002-08-02 21:28 UTC, jkeil
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description robert.kinsella 2002-07-03 16:15:01 UTC
OpenOffice.org 1.0.1, Solaris sparc and Solaris Intel.

The OpenOffice.org Gulls icon added to the users toolbar under CDE appears
corrupt when the graphics card is set to operate in 8 bit mode.
Tested on sparc mach64 graphics card, and ATI RAGE PRO on intel.
Comment 1 stx123 2002-07-03 16:46:58 UTC
Hi Robert, is this a regression?
Is this a problem introduced with 1.0.1?
Comment 2 khendricks 2002-07-03 18:32:04 UTC
Hi,  
  
I think I found the problem.  The following icons use a 32bit color  
depth (all of the others seem to be 8 bit depth).  
  
/src2/openoffice-1.0.x/sysui/oounix/office/cde/icons/001_star_butterfly.l.xpm  
/src2/openoffice-1.0.x/sysui/oounix/office/cde/icons/ooo_gulls.l.xpm  
  
So these need to be fixed (reduced to 8 bit depth) for the next  
release. This was not a regression in 1.0.1 since 1.0 has the same  
problem.  
  
I will review the color depth of all of the new icons and make sure  
they are 8 bits or less for the next release.  
  
Hope this helps,  
  
Kevin  
  
  
  
Comment 3 Olaf Felka 2002-07-17 15:31:43 UTC
Hi Lee,
as far as I know, you have made the OOo icons.
Comment 4 jkeil 2002-08-02 11:44:41 UTC
> The following icons use a 32bit color depth (all of the others seem
to be 8 bit depth).
>
>
/src2/openoffice-1.0.x/sysui/oounix/office/cde/icons/001_star_butterfly.l.xpm
 
> /src2/openoffice-1.0.x/sysui/oounix/office/cde/icons/ooo_gulls.l.xpm 

They are not really "32bit" color depth. The xpm color table for these
icons has more than 256 entries so that 'xv' (for example) renders them
in "24-bit mode" "true color".

ooo_gulls.l.xpm (== 001_star_butterfly.l.xpm) actually
uses 83 unique colors.  And ooo_gulls.m.xpm uses 116 unique colors.

  
> So these need to be fixed (reduced to 8 bit depth) for the next release.

Not only that, they should use *much* *fewer* color map entries.
Currently the set of CDE icons (ooo_gulls.l.xpm for the front panel
icon and ooo_*.m.xpm for the icons in the front panel popup menu)
require 146 color cells.

The CDE icons for SO 6.0 use 29 unique colors and that includes the 
set of 20 standard CDE colors + transparent color.

I'll attach an updated set of OO CDE icons.  Install them into
oo_1.0.1_src/sysui/oounix/office/cde/icons . All new icons plus the
original SO 6.0 icons combined use a shared color map of 33 colors.
With this icon set the corrupted OO icons are gone on an Ultra60 +
Creator3D with a default visual of 8-bit pseudocolor.  And there are
free color cells left for application programs that use 8-bit pseudo
color, so there's reduced colormap flashing as well!
Comment 5 jkeil 2002-08-02 11:46:58 UTC
Created attachment 2410 [details]
gzipped tar archive with new CDE icon images in XPM format
Comment 6 jkeil 2002-08-02 21:28:25 UTC
Created attachment 2419 [details]
Updated xpm icons, the C variable names in the previous attachment were wrong
Comment 7 jkeil 2002-09-07 22:03:58 UTC
This issue should be reassigned to component "gsl" / "code", I think...

Can someone please review the patch (new icons, 
2002-08-02 13:28 PDT: oo-cde-icons.tar.gz) and approve them for
check in?
Comment 8 leecorbin.ooo 2002-09-28 23:59:35 UTC
Hi Kevin

My apologies for passing the buck onto you, but this issue seems to be
stuck with me, and I am only the icon tweaker and would have no idea
how to check the patch! :-)

I'd appreciate it if you could either take this one over or reassign
to somebody more appropriate.

Many thanks.

Lee
Comment 9 khendricks 2002-10-07 13:06:38 UTC
 Hi, 
 
This seems to be mine now.  I will grab your new icons and check the 
C includes to make sure they match the old and then test them on my 
latest 643 buid. 
 
One thing, just to be safe, has the submitter of these icons signed 
a copyright assignment agreement that would allow me to commit them 
to the tree? 
 
Thanks, 
 
Kevin 
 
Comment 10 jkeil 2002-10-07 13:22:18 UTC
Hi Kevin,

> has the submitter of these icons

that was me.

> signed 
> a copyright assignment agreement that would allow me to commit them 
> to the tree? 

Yes, I've signed & sent it on 2002-07-30.

My name was added here as well:

  http://www.openoffice.org/copyright/copyrightapproved.html
Comment 11 khendricks 2002-10-07 13:49:08 UTC
Hi, 
 
Thanks, I should have looked there myself. 
 
Okay, I will use your icons to replace the xpms used for KDE and CDE 
(GNOME uses the .pngs I believe) and try a clean rebuild to make 
sure they won't break anything. 
 
Once I can get the clean rebuild done and everything works, I will 
get them committed to the SRX643_OO tree and try to do the same for 
OOO_STABLE_1 so that any possible 1.0.2 followup is ready to go as 
well. 
 
Thanks, 
 
Kevin 
  
Comment 12 khendricks 2002-10-07 15:42:02 UTC
Hi, 
 
Your icons look fine.  I edited the C header slightly to add a space 
before the variable name just to match the original and for 
readability. 
 
I used them to replace the icons for cde, and kde and rebuilt sysui, 
desktop, and vcl and reinstalled. 
 
I do not have access to cde to check if this has fixed the problem 
but under kde2, they all look fine. 
 
I will commit this to SRX643_OO. 
 
Once a new release (after the one made today or tomorrow), the 
problem will hopefully be gone.   
 
Thanks for your bug report and your icons! 
 
Kevin 
  
Comment 13 robert.kinsella 2003-01-15 16:28:46 UTC
Reopening issue for OpenOffice.org build 1.0.2 Solaris sparc 9 FCS. 
Comment 14 robert.kinsella 2003-03-14 12:22:15 UTC
issue also seen on build 1.1Beta
Comment 15 khendricks 2003-04-03 13:15:52 UTC
Hi, 
 
These icons (see the last attachment) were actually committed to my tree and fixed the 
corruption problem so they should probably be committed to OOO_STABLE_1 and 
1.1Beta as well. 
 
I will try to do that sometime today if someone can approve these. 
 
Kevin 
 
 
Comment 16 robert.kinsella 2003-04-03 16:10:43 UTC
this problem still exists in build
OOo_1.0.3b_SolarisSparc_install.tar.gz on collab
Comment 17 khendricks 2003-04-03 16:13:58 UTC
Hi, 
 
Yes it will exist in all builds but the one I fixed it in originally and will until I replace the 
icons in sysui/oounix/ with the icons attached to this issue and commit them. 
 
I should have time to do that tonight. 
 
Kevin 
 
Comment 18 robert.kinsella 2003-04-04 15:13:42 UTC
fixed / verified in build 1.0.3 c, will not mark as verified until fix
is also confirmed fixed in 1.1 Beta2 - changing target to 1.1Beta2
Comment 19 robert.kinsella 2003-05-12 17:28:41 UTC
corrupt icons are present in latest Solaris Sparc 1.1 beat2 build when
graphics mode set to operate in 8 bit mode. Also the Maths menu item
is missing from the cde OO.org menu.
Resetting version ot 1.1Beta2, leaving target as 1.1Beta2.
Reopening issue
Comment 20 khendricks 2003-05-12 22:50:16 UTC
Hi, 
 
Okay, I just copied known good files from the OOo 1.0.3 icons  
which had this fixed and used them to updat ehte icons in 
sysui/oounix/office/cde/icons/ 
 
So  after a clean rebuild and forced delivery in sysui, the corrupt icons 
should now be fixed. 
 
(I hope!). 
 
Kevin 
 
Comment 21 robert.kinsella 2003-05-14 11:12:38 UTC
the corrupt CDE icon in 8 bit mode is fixed in the latest build
(1.1beta2d). 
The math menu item is still missing - see issue 14355.
Closing this issues as fixed
Comment 22 robert.kinsella 2003-05-14 11:13:05 UTC
marking issue verified
Comment 23 robert.kinsella 2003-06-30 11:48:25 UTC
verified fixed - closing issue