Icons for Table - Delete - Rows / Columns don't get grayed even when those menu items are disabled.
In fact, there are other icons that don't get grayed, such as
* Table - Split Cells
* Table - AutoFormat
* Table - Select - Table / Rows / Columns.
There may be other icons with similar problems.
Created attachment 42937 [details]
Reproducible with "LibreOffice 3.3.0 RC4 - WIN7 Home Premium (64bit) German UI [OOO330m19 (build 6 / tag 22.214.171.124)]"
I did not see so often because (for example) my WRITER Table toolbar disappears if no table is active. But further tests showed that the problem really exists
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Still exists with LOdev 3.5.0beta2
Build ID: 8589e48-760cc4d-f39cf3d-1b2857e-60db978
Please feel free to reassign (or reset Assignee to default) if it’s not your area or if provided information is not sufficient. Please set Status to ASSIGNED if you accept this Bug.
Yeah, there is some problematic icons (maybe the ones without transparent pixels?).
Some (technical) details:
When drawing a disabled menu item, OutputDevice::DrawImage is called for drawing an icon. The nStyle parameter of that method has the IMAGE_DRAW_DISABLE flag in our case. But if rImage.mpImplData->meType == IMAGETYPE_BITMAP (see the code), then we just ignore nStyle and draw a bitmap as it is.
I'm sorry but I don't know what to do here... Perhaps some VCL-expert knows.
Can you help?
http://cgit.freedesktop.org/libreoffice/core/commit/?id=159b5088ee303f7adf6a4c0e5e72b32c37f9f910 should make it do the right thing for those non-alpha channel icons I think
This is a Writer (or UI) issue, therefore changed the 'Component' field accordingly and added 'UI' to the Summary.
Set 'Version' field according to comment #1.