Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 724D4D5E3 for ; Thu, 19 Jul 2012 16:23:26 +0000 (UTC) Received: (qmail 84937 invoked by uid 500); 19 Jul 2012 16:23:26 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 84873 invoked by uid 500); 19 Jul 2012 16:23:26 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 84864 invoked by uid 99); 19 Jul 2012 16:23:26 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 16:23:26 +0000 Received: from localhost (HELO localhost) (127.0.0.1) (smtp-auth username arielch, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 16:23:25 +0000 Date: Thu, 19 Jul 2012 13:23:24 -0300 From: Ariel Constenla-Haile To: ooo-dev@incubator.apache.org Subject: Re: [UI] ColorPicker - entering hex color code Message-ID: <20120719162324.GJ17826@localhost> References: <20120719144316.GH17826@localhost> <500828CF.1030504@a-w-f.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BOmey7/79ja+7F5w" Content-Disposition: inline In-Reply-To: <500828CF.1030504@a-w-f.de> User-Agent: Mutt/1.5.21 (2010-09-15) --BOmey7/79ja+7F5w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Andre, * On Thu, Jul 19, 2012 at 05:33:35PM +0200, Andre Fischer wrote: > On 19.07.2012 16:43, Ariel Constenla-Haile wrote: > >Hi there, > > > >entering a color in the new color, with its hex code, has a rather > >strange result. Try > > > >- menu "Tools" -"Options..." > >- on the "Options" dialog, select the on the tree "OpenOffice.org" > > - "Colors" > >- select a color and press the "Edit..." button (side comment: the color > > picker should be available from the floating window that opens from > > the toolbar!) > >- enter some color in the "Hex #" edit field, for example AA > > > >If I enter AA, I would expect it to be #0000AA, that is, zeros added at > >the left. > > > >AA -> 0000AA -> RBG 0,0,170 > > > >but the color picker shows RGB 170,170,170 >=20 > AA -> AAAAAA >=20 > seems to me more natural then than AA -> 0000AA or AA -> AA0000 (or > AA -> 00AA00) >=20 > > > >Enter only A > > > >A -> 00000A -> RGB 0,0,10 > > > >but the color picker shows RGB 160,160,160 >=20 > this is unexpected. Following the previous case I would have expected > A -> 0A0A0A >=20 > > > >Enter ABC > > > >ABC -> 000ABC -> RGB o,10,188 > > > >the color picker shows 171,171,171 >=20 > urgh, I would expect an error message here looking at other applications I have at hand: - KDE color picker: only accepts 3 and 6 hex digits as valid, other values are ignored (no warning/error box). * AA -> not accepted, no error/warning * aaa -> RGB 170, 170, 170 It means aaa -> AAAAAA * abc -> RGB 170, 187, 204 It means abc -> AABBCC * 123 -> 112233 * 1234 -> ignored * yjr -> no error nor warning - Gnome2 color picker: only accepts 3 and 6 hex digits as valid, other values are ignored (no warning/error box) * AA -> ignored * aaa -> AAAAAA * abc -> AABBCC * 123 -> 112233 * 012 -> 001122 * 1234 -> ignored=20 * yjr -> ignored * 1234567 -> ignored Regards --=20 Ariel Constenla-Haile La Plata, Argentina --BOmey7/79ja+7F5w Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQCDR8AAoJEMjP1bm45QNWzsYP/0ZVrdP9BQ4pYpm+oZL/nqqI lW+Sl3bPAcDxwkAbp+i8bMAtGV0dv+VOW/hZa2muaVq6Uo2HYpgwFx7gAhLo2rDn e1LjNxvAedNm4sW+HOeTPNVfXU0ceAAn3BSAvAuvNqVB1W80ZIaG4lZrrwVHtMAA mhb59wZGYJi7JIFHNSj1JCFKVOR8S0nZDCzxMzMsYTIduUEf0yjQdOmW4ucdOZsL JX0AKsO5sZufOMDLPO0/mAQBj0Io5cjGMT8n6vvQScQflOvU8Ypnv9XQmyA66LcB iMCEMz4DuJyFGNw5kslzsBKe/GmZpc6N9mEKF3Ly7EMT7n2N7Q4eHKTre+xJJgEg tp4taH8rulVcbe0TMcsmOPuIWLEOFVDjkoL8vK5mgQ+4zqqpqxzFfuyoHhy5/HZk ijYPFs2sQwK1IL3lElksShHek33xRHnsIfv1YaCnf99mRaZ6qfeQLZAoS9NhKOzG /D8tMy+Rwldw/eDDEYiZT3Au9UTC0rUKPL8TtjoRkvCGSjDaWvefrIX/+qTGlUxk +TeMaxIfJvm6WNhoRvAeB33nSeYmCeEgdUUBJZYDAtzFAPQtyc7r979dT6Z9/6bG wlYT4c4y/7obw1B+l+q3yutrt5kBm69hWisOtt2orqDctPZFzqepfIDf0ykWIyCk tQCAtGlIFJNpUuaWojt7 =BPAX -----END PGP SIGNATURE----- --BOmey7/79ja+7F5w--