Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 01:03:14 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Black horizontal line artifacts on controls  (Read 537 times)
Bruce_Dickey
Sr. Member
****
Posts: 67


View Profile
« on: October 04, 2011, 03:23:11 PM »

Hi,

I've populated the TreeView as shown below. In both Firefox 3.6.15 and Chrome 12.0.742.124, when a tree leaf item is selected, it is rendered as a light blue dashed line (instead of text with a selection background). The item text is fine when the page is refreshed, before it is selected. When a folder node is selected, the text is fine, however. I have not tried in another browser.

Please help.

Thanks,
Bruce


[{
    "id" : "pm_group",
    "caption" : "PM",
    "sub" : [{
        "id" : "pm system type",
        "caption" : "system type"
    },
    {
        "id" : "pm vcc enable",
        "caption" : "vcc enable"
    }]
},
{
    "id" : "psd_with_ftb_group",
    "caption" : "PSD WITH FTB",
    "sub" : [{
        "id" : "psd ftb system type",
        "caption" : "system type"
    },
    {
        "id" : "psd ftb vcc enable",
        "caption" : "vcc enable"
    }]
},
{
    "id" : "psd_without_ftb_group",
    "caption" : "PSD, NO FTB",
    "sub" : [{
        "id" : "psd system type",
        "caption" : "system type"
    },
    {
        "id" : "psd vcc enable",
        "caption" : "vcc enable"
    }]
}]
« Last Edit: March 30, 2012, 12:34:52 PM by Bruce_Dickey » Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #1 on: October 04, 2011, 08:40:37 PM »

Did you set custome style?
Logged
Bruce_Dickey
Sr. Member
****
Posts: 67


View Profile
« Reply #2 on: October 05, 2011, 07:08:28 AM »

Found the problem.

I had the following erroneous "reset" CSS:



Thanks,
Bruce
« Last Edit: March 28, 2012, 11:03:15 AM by Bruce_Dickey » Logged
Bruce_Dickey
Sr. Member
****
Posts: 67


View Profile
« Reply #3 on: March 28, 2012, 11:09:54 AM »

This seems to have been a problem on older, outdated browsers (Like Firefox 3.6.7). Is currently OK on Firefox 11, Opera 11.61, Chrome 18.
`font: inherit` is not a problem with the recent browsers. I have not been able to test with IE because my app page does not load in that browser (any version of it).



« Last Edit: April 02, 2012, 07:28:34 AM by Bruce_Dickey » Logged
Bruce_Dickey
Sr. Member
****
Posts: 67


View Profile
« Reply #4 on: April 02, 2012, 07:29:20 AM »

Hi Linb,

One exception to that is Firefox 11 on Red Hat Enterprise Linux 5, 64-bit. When using CTRL+ and CTRL- to zoom the web page, the black horizontal lines appear at times on buttons (linb.UI.Button).  I've also seen it in the edit boxes under Properties in VisualJS on this same OS but with Firefox 3.6.7.

On the buttons, the line seems to appear at the edge of the images or regions. Please see attached pic; this is after hitting CTRL+ a few times.

It could be construed to be a Firefox bug, but would you be able to address it in your code anyway?

Thanks
Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #5 on: April 04, 2012, 06:30:44 PM »

It's a render bug in firefox, maybe you can try to modify images in "appearance\default\Button" to avoid that.

The "black line" appears in the color junction of those images .
Logged
Bruce_Dickey
Sr. Member
****
Posts: 67


View Profile
« Reply #6 on: April 05, 2012, 09:26:55 AM »

Update: I agree it is a Firefox bug. In looking at it some more, at certain zoom levels, the black line is not even at color boundaries. So I doubt any changes to the images will help. Sometimes there are two black lines.

I have also seen this recently on the buttons in another app: Trac.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!