| Summary: | When registering the png file with alpha information to the toolbar, it was discolored. | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Miday <Miday> |
| Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | dent.ace, lo_bugs |
| Priority: | medium | Keywords: | regression |
| Version: | 3.5.0 Beta0 | ||
| Hardware: | Other | ||
| OS: | Linux (All) | ||
| Whiteboard: | bibisected40older | ||
| Crash report or crash signature: | Regression By: | ||
|
Description
Miday
2013-05-17 14:56:10 UTC
I have seen the user-visible part of the bug in master commit 6faa622,
pulled 2013-04-19, configured with
--enable-option-checking=fatal
--enable-dbgutil
--enable-crashdump
--without-system-postgresql
--without-myspell-dicts
--without-help
--with-extra-buildid
built and running on ubuntu natty (11.04) 32-bit sith gnome classic
desktop
$ uname -a
Linux cougar-natty 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 18:00:43 UTC 2012 i686 athlon i386 GNU/Linux
$ gcc --version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~11.04.1)
OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)
For comparison, I do not see this problem with LibreOffice 3.3.4, as
delivered with ubuntu-natty; so am setting keyword regression. I
shall try to localize the the regression further.
Regression does appear in oldest version of bibisect-4.0.tar.xz I investigated further. Color was normal at LibreOffice 3.3.4. In LibreOffice 3.4.4, it became white. No less than 32 pixels are the same phenomenon. http://www.ne.jp/asahi/soft/miday/Calc_Moji/32pngdata.zip In 26 pixels, color was normal. It will be because it is not resizing. http://www.ne.jp/asahi/soft/miday/Calc_Moji/26pngdata.zip When outdev2.cxx of sauce was corrected by LO3.5, color was normal in three kinds of sizes. 32 pixels : nY and nX are 0 - 25. 26 pixels : It does not pass. I'm sorry
> When outdev2.cxx of sauce was corrected by LO3.5, color was normal in three
> kinds of sizes.
sauce -> source
(In reply to comment #3) > In 26 pixels, color was normal. It will be because it is not resizing. I tried LibreOfficePortable version 4.0.2.2 (4c82dcd) running on WinXP, and--as Miday said--256tr.png rendered nicely on the toolbar. However I noticed along the way that the Change Icon dialog says that the preferred size for an image is 16 by 16 pixels. Perhaps it is the lack of scaling which makes the image render correctly, and execution on Windows is merely coincidental. On the other hand, files 8tr.png and 8wh.png render nicely on both platforms; so it is not the case that scaling always fails when there are transparent pixels. (In reply to comment #5) It is a 8-pixel picture smaller than 16-pixels. http://www.ne.jp/asahi/soft/miday/Calc_Moji/8pngdata.zip Windows XP LibreOffice 3.5.4.2 A 8/26/32-pixel picture is normal. I think that the resizing processing by Windows is satisfactory. Marking version as being introduced 3.5 beta or before as per comment 2. This bug is not included in LibreOffice 4.4.0.3. I appreciate your debugging. Thank you very much!! Ubuntu 14.04 LTS 32bit/64bit LibreOffice 4.4.0.3 & Langpack_ja 32bit/64bit |