[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #44991] gfxmenu item drawing broken?
From: |
Sebastian Pipping |
Subject: |
[bug #44991] gfxmenu item drawing broken? |
Date: |
Sat, 02 May 2015 02:51:06 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 |
URL:
<http://savannah.gnu.org/bugs/?44991>
Summary: gfxmenu item drawing broken?
Project: GNU GRUB
Submitted by: hartwork
Submitted on: Sat 02 May 2015 02:51:03 AM GMT
Category: None
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: 2.02~beta1
Reproducibility: None
Planned Release: None
_______________________________________________________
Details:
Hi!
While playing with a theme I noticed that changing item selection triggers
drawing bugs with (selected_)item_pixmap_style images making use an alpha
channel (i.e. partial or full transparency.
In the screenshots attached you can see a simple theme right after loading and
after a few keypresses changing selection (<down>, <down>, <up> to be
precise).
The screenshots show that the current rendering behavior does paint the
(selected_)item_pixmap_style images on top of whatever was there before rather
than re-painting that area from the ground up. (Any ideas why only part looks
broken while the leftmost third remains looking sane?) The rendering order
needed for both the item obtaining selection and the item losing selection in
my eyes would be:
Background color
then background image
then (selected_)item_pixmap_style images
then text
I'll also attach the related theme.txt.
For the selected_item_pixmap_style, center/north/south are 30% opaque white,
the others 100% opaque.
For the item_pixmap_style, all of them are 0% opaque.
Version of GRUB is 2.02~beta2.
I'm not sure if that's related but I noticed that function canvas_paint reads
if (canvas_area_status == GRUB_VIDEO_AREA_ENABLED)
grub_video_set_area_status (GRUB_VIDEO_AREA_ENABLED);
in Git. It looks to me like one of those should be _DISABLED, instead.
True?
Would be cool to hear from you.
Best, Sebastian
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 02 May 2015 02:51:03 AM GMT Name:
grub_gfxmenu_drawing_bug__just_loaded.png Size: 98kB By: hartwork
<http://savannah.gnu.org/bugs/download.php?file_id=33870>
-------------------------------------------------------
Date: Sat 02 May 2015 02:51:03 AM GMT Name:
grub_gfxmenu_drawing_bug__down_down_up.png Size: 99kB By: hartwork
<http://savannah.gnu.org/bugs/download.php?file_id=33871>
-------------------------------------------------------
Date: Sat 02 May 2015 02:51:03 AM GMT Name:
grub_gfxmenu_drawing_bug__theme.txt Size: 822B By: hartwork
<http://savannah.gnu.org/bugs/download.php?file_id=33872>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44991>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #44991] gfxmenu item drawing broken?,
Sebastian Pipping <=