UltimateListCtrl: strange background of checkboxes

Hi,

on Ubuntu 12.04 with Unity I have problems with the appearance of UltimateListCtrl. You can see it in the attached screenshot of ULC demo. The radiobuttons and checkboxes have strange background. Any idea how to fix it?

Thanks in advance,

Anna

ULC_demo_ubuntu.png

Hi,
I can confirm the same with Ubuntu 12.04 64 bits running wxPython 2.8.12.1

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
OpenOffice.org Perú:: http://openoffice-peru.com/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com

···

El 26/12/12 10:28, annakrat escribió:

Hi,

on Ubuntu 12.04 with Unity I have problems with the appearance of UltimateListCtrl. You can see it in the attached screenshot of ULC demo. The radiobuttons and checkboxes have strange background. Any idea how to fix it?

Thanks in advance,

Anna
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Hi Anna,

Hi,

on Ubuntu 12.04 with Unity I have problems with the appearance of
UltimateListCtrl. You can see it in the attached screenshot of ULC demo. The
radiobuttons and checkboxes have strange background. Any idea how to fix it?

I don't have a Linux machine to test this thing, so I am just
guessing. ULC uses wx.RendererNative to draw checkboxes and
radiobuttons, so there might be an issue with it. Can you see if the
wx.RendererNative demo (in the wxPython demo, under the
"Miscellaneous" tree item) has any issues with checkboxes and/or
radiobuttons?

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

    if mention_platform_and_version() and include_sample_app():
        send_message(email)
    else:
        install_malware()
        erase_hard_drives()
# ------------------------------------------------------------- #

···

On 26 December 2012 16:28, annakrat wrote:

It looks to me like those icons are being rendered into a bitmap, and that bitmap wasn't cleared first. New empty bitmaps on wxGTK are not initialized to all black like they are on Windows.

···

On 12/26/12 10:39 AM, Andrea Gavana wrote:

Hi Anna,

On 26 December 2012 16:28, annakrat wrote:

Hi,

on Ubuntu 12.04 with Unity I have problems with the appearance of
UltimateListCtrl. You can see it in the attached screenshot of ULC demo. The
radiobuttons and checkboxes have strange background. Any idea how to fix it?

I don't have a Linux machine to test this thing, so I am just
guessing. ULC uses wx.RendererNative to draw checkboxes and
radiobuttons, so there might be an issue with it. Can you see if the
wx.RendererNative demo (in the wxPython demo, under the
"Miscellaneous" tree item) has any issues with checkboxes and/or
radiobuttons?

--
Robin Dunn
Software Craftsman

Hello Andrea,

no issues in that screen...

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
OpenOffice.org Perú:: http://openoffice-peru.com/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com

···

El 26/12/12 13:39, Andrea Gavana escribió:

Hi Anna,

On 26 December 2012 16:28, annakrat wrote:

Hi,

on Ubuntu 12.04 with Unity I have problems with the appearance of
UltimateListCtrl. You can see it in the attached screenshot of ULC demo. The
radiobuttons and checkboxes have strange background. Any idea how to fix it?

I don't have a Linux machine to test this thing, so I am just
guessing. ULC uses wx.RendererNative to draw checkboxes and
radiobuttons, so there might be an issue with it. Can you see if the
wx.RendererNative demo (in the wxPython demo, under the
"Miscellaneous" tree item) has any issues with checkboxes and/or
radiobuttons?

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://www.infinity77.net

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

     if mention_platform_and_version() and include_sample_app():
         send_message(email)
     else:
         install_malware()
         erase_hard_drives()
# ------------------------------------------------------------- #

Ah OK, good to know. I have committed a possible fix to SVN. If
someone could test it please and let me know if it's OK...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

    if mention_platform_and_version() and include_sample_app():
        send_message(email)
    else:
        install_malware()
        erase_hard_drives()
# ------------------------------------------------------------- #

···

On 26 December 2012 19:42, Robin Dunn wrote:

On 12/26/12 10:39 AM, Andrea Gavana wrote:

Hi Anna,

On 26 December 2012 16:28, annakrat wrote:

Hi,

on Ubuntu 12.04 with Unity I have problems with the appearance of
UltimateListCtrl. You can see it in the attached screenshot of ULC demo.
The
radiobuttons and checkboxes have strange background. Any idea how to fix
it?

I don't have a Linux machine to test this thing, so I am just
guessing. ULC uses wx.RendererNative to draw checkboxes and
radiobuttons, so there might be an issue with it. Can you see if the
wx.RendererNative demo (in the wxPython demo, under the
"Miscellaneous" tree item) has any issues with checkboxes and/or
radiobuttons?

It looks to me like those icons are being rendered into a bitmap, and that
bitmap wasn't cleared first. New empty bitmaps on wxGTK are not initialized
to all black like they are on Windows.

Andrea,

if you send me the file py to be updated I can do it inmediately.

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
OpenOffice.org Perú:: http://openoffice-peru.com/
Hosting:: http://mlv-host.com/
Mascotas Perdidas:: http://mascotas-perdidas.com/
Google Talk / Y! messenger / Skype: mlacunzav
MSN: mlacunzav@hotmail.com

···

El 26/12/12 14:02, Andrea Gavana escribió:

On 26 December 2012 19:42, Robin Dunn wrote:

On 12/26/12 10:39 AM, Andrea Gavana wrote:

Hi Anna,

On 26 December 2012 16:28, annakrat wrote:

Hi,

on Ubuntu 12.04 with Unity I have problems with the appearance of
UltimateListCtrl. You can see it in the attached screenshot of ULC demo.
The
radiobuttons and checkboxes have strange background. Any idea how to fix
it?

I don't have a Linux machine to test this thing, so I am just
guessing. ULC uses wx.RendererNative to draw checkboxes and
radiobuttons, so there might be an issue with it. Can you see if the
wx.RendererNative demo (in the wxPython demo, under the
"Miscellaneous" tree item) has any issues with checkboxes and/or
radiobuttons?

It looks to me like those icons are being rendered into a bitmap, and that
bitmap wasn't cleared first. New empty bitmaps on wxGTK are not initialized
to all black like they are on Windows.

Ah OK, good to know. I have committed a possible fix to SVN. If
someone could test it please and let me know if it's OK...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://www.infinity77.net

# ------------------------------------------------------------- #
def ask_mailing_list_support(email):

     if mention_platform_and_version() and include_sample_app():
         send_message(email)
     else:
         install_malware()
         erase_hard_drives()
# ------------------------------------------------------------- #

http://svn.wxwidgets.org/svn/wx/wxPython/3rdParty/AGW/agw/ultimatelistctrl.py

Or you can see just what was changed here: wxTrac has been migrated to GitHub Issues - wxWidgets

···

On 12/26/12 11:26 AM, Mario Lacunza wrote:

Andrea,

if you send me the file py to be updated I can do it inmediately.

--
Robin Dunn
Software Craftsman

Dne středa, 26. prosince 2012 20:31:13 UTC+1 Robin Dunn napsal(a):

Andrea,

if you send me the file py to be updated I can do it inmediately.

http://svn.wxwidgets.org/svn/wx/wxPython/3rdParty/AGW/agw/ultimatelistctrl.py

Or you can see just what was changed here:
http://trac.wxwidgets.org/changeset/73272/wxPython/3rdParty/AGW/agw/ultimatelistctrl.py

Cool, it’s working now. The background color of the checkboxes is white now (which means that in case of not white item background there is still small problem but I will happily ignore it).

Thanks a lot for such quick fix.

Anna

···

On 12/26/12 11:26 AM, Mario Lacunza wrote:


Robin Dunn

Software Craftsman

http://wxPython.org