Query comboboxes lacking vertical scrollbars

If you are having a problem using Dragnet, post a message here.

Moderator: SourceGear

Locked
Perry
Posts: 110
Joined: Tue Dec 27, 2005 9:11 am

Query comboboxes lacking vertical scrollbars

Post by Perry » Wed Feb 01, 2006 3:56 pm

Oh yes, here is another bug in the dragnet version we have.

On the main query window, all the little comboboxes are lacking vertical scrollbars, so it looks like each only has two options -- fortunately I know that is not true, and that if I click on an option in one of them, I can scroll down into the hidden options and bring them up.


SourceGear Dragnet
Version 1.0.5.1245

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Wed Feb 01, 2006 4:12 pm

That is wierd.

What browser are you using?
Mary Jo Skrobul
SourceGear

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Wed Feb 01, 2006 4:39 pm

Are you using large fonts?

This seems to be an issue with firefox and large fonts. It doesn't happen on IE. It doesn't happen on Firefox if you are using normal fonts.
Mary Jo Skrobul
SourceGear

Perry
Posts: 110
Joined: Tue Dec 27, 2005 9:11 am

Large Fonts, yes!

Post by Perry » Wed Feb 08, 2006 1:32 pm

Yes, I'm using Large Fonts!

Well, actually only 120%, not the (I think) 125% default.

And, yes, I'm using Firefox.

Perry
Posts: 110
Joined: Tue Dec 27, 2005 9:11 am

Details (120PPP not 120%!)

Post by Perry » Wed Feb 08, 2006 1:34 pm

Details -- which I probably should have provided at start.

1280 x 1024 screen configuration

Options Advanced/Configuration PPP
Large Size 120ppp, 125%

(Oops, I was wrong earlier about 120%, I got it mixed up with PPP.)

Mozilla Firefox 1.5.0.1
Default pretty much everything, default theme, default skin

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Wed Feb 08, 2006 2:00 pm

We can look into this, but I don't know that Dragnet has any control over how FireFox renders these controls. These combo boxes are just regular ASPNET controls. This *seems* to be a problem with FireFox. These controls render fine with regular fonts in FireFox and they render fine in IE regardless of the font size.
Mary Jo Skrobul
SourceGear

Perry
Posts: 110
Joined: Tue Dec 27, 2005 9:11 am

comboboxes are fine without dragnet.css

Post by Perry » Thu Feb 09, 2006 1:21 pm

I can copy & paste the page html source into a new file, and open it with firefox on the same computer, and then the comboboxes are fine (that is, they have the expected scrollbars).

If I go back to the original and look for a css link, I see one to dragnet.css. I fetch that file and put it in the same directory and refresh my view of that local html test version, and then the bug appears.

I don't know how much this helps, but it does seem to show (or argue) that the bug only manifests when dragnet.css is applied.

mskrobul
Posts: 490
Joined: Wed Jan 14, 2004 10:22 am
Location: SourceGear
Contact:

Post by mskrobul » Thu Feb 09, 2006 3:15 pm

OK. If you are using large fonts in FireFox and the font-size is set to an absolute value (like px or em) in a style sheet the scroll bars on the list control disappear. This problem is not specific to Dragnet.

To reproduce, create the following HTML page:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title></title>
		<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<link href="test.css" type="text/css" rel="stylesheet">
	</head>
	<body>

		<SELECT class="test" id="Select1" multiple size="3">
			<OPTION>one</OPTION>
			<OPTION>two</OPTION>
			<OPTION>three</OPTION>
		</SELECT>
	</body>
</html>
And this in a style sheet:

Code: Select all

/*this will make the scrollbars disappear*/
.test
{
	width: 200;
	font-size: 12px;
}

The workaround would be :

(in the dragnet.css file in the Dragnet folder on the server machine)
Search for ".listcontrol" and "#QueryItemsControl1_tbl1 td" then
replace the abosolute values for font-size with a relative value (like x-small, small, medium, large) or just /*comment out*/ the font-size values.
Mary Jo Skrobul
SourceGear

Perry
Posts: 110
Joined: Tue Dec 27, 2005 9:11 am

Post by Perry » Fri Feb 10, 2006 8:15 pm

Ahh. Using absolute pixel sizes like that is frowned upon, I think, yes?

Thanks for the info and workaround!

Perry
Posts: 110
Joined: Tue Dec 27, 2005 9:11 am

Post by Perry » Thu Mar 02, 2006 11:39 am

So will this be fixed in any future release?

Locked