bugs

Secondary monitor bug: a problem in WPF or in the graphics driver?

I have discovered a strange bug with my WPF application and I am trying to determine whether it is a problem with WPF or my graphics driver so that I can report it to the appropriate company. I have a Quadro FX 1700 with the latest drivers (197.54) on a Windows XP system, running a .NET 3.5 SP1 application. I have dual monitors, my prim...

Memory leak in Apples 'Scrolling' sample code

Hi All, I'm using code based on Apple's "Scrolling" sample code - here's where I have a problem: // load all the images from our bundle and add them to the scroll view NSUInteger i; for (i = 1; i <= jNumImages; i++) { NSString *imageName = [NSString stringWithFormat:@"page%d.png", i]; UIImage *image = [UIImage imageNamed:image...

Did I find a bug in PHP's `crypt()`?

I think I may have found a bug in PHP's crypt() function under Windows. However: I recognize that it's probably my fault. PHP is used by millions and worked on by thousands; my code is used by tens and worked on by me. (This argument is best explained on Coding Horror.) So I'm asking for help: show me my fault. I've been trying to fin...

WPF Binding Error reported when Binding appears to work fine

I am trying to create a custom TabItem template/style in my WPF 4.0 application (using VS 2010 Pro RTM), but inspite of everything seeming to work correctly, I am noticing a binding error in the trace window. The resource dictionary XAML I use to style the TabItems of a TabControl is given in full here. (Just create a simple TabControl ...

Bug in jQuery's element creation ?

Hi Folks, $(document).ready(function(){ var _new_li = $('<li/>', { 'id': 'p', 'text': 'CLICKME', click: function(){ alert('fired'); }, data: { 'somedata': 'somedata', } }); _new_li.appendTo($("#example")); }); I receive an ...

Can compiler optimization introduce bugs ?

Hi, Today I had a discussion with a friend of mine and we debated for a couple of hours about "compiler optimization". I defended the point that sometimes, a compiler optimization might introduce bugs or at least, undesired behavior. My friend totally disagreed, saying that "compilers are built by smart people and do smart things" and...

Cannot evaluate expression error in ONE project for years

Just tired to see this error every time for years only in ONE project: "Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because the code is optimized" Almost every property or field displays this message. From vs2005+.net2.0 to vs2008+.net3.5 now. Does anybody know how t...

MKMapView span doubling bug

Setting the region in MKMapView occasionally results in the span being doubled. This bug seems to appear early in the map initialization phase. Although it's been reported elsewhere I wasn't able to find a descent existing workaround, so I'm posting my fix here. It relies on the fact that the regionThatFits method also produces the bug. ...

IE7 rendering bug: Heading before a floated list

Can somebody please explain this IE7 bug to me? It occurs in Standards and Quirks mode rendering, it does not occur in Firefox, Chrome or IE8 (though switching the rendering engine via IE8 developer tools will provoke it). Here's the HTML to reproduce the behavior: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/...

php include not working on IE?

This include is not working in IE: <?php include_once 'localization.php'; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Global...

Flash player inside a div is moving the whole page wrapper down in IE (why?)

I placed the flash player using: position: absolute; top: 20; right: 40; in the div around it. css: #page { position: relative; } #flashplayer { position: absolute; top: 10px; right: 30px; } (as you can see #page is relative) html: <div id="page"> <div id="flashplayer"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-4445535400...

The columns (divs) with the play button inside them (img) are getting stretching their height.

The columns with the play button are stretching vertically in IE. Here is the link: http://ada.kiexpro.com/test2/news.html html: <table border="1"> <tr><td><a href="http://www.ntdtv.com/xtr/b5/2009/09/28/a354615.html#video" target="_blank"> <li>天國樂團訪印度佛教聖地Nagpur <span>2009.09.28</span><img src="images/play.gif" width="16" height=...

Canvas maximization bug?

I must've killed over an hour on what seems to me like strange behaviour that happens in Firefox, Safari and Chrome. Here is some code: <!doctype html> <html> <head> <title>Watch me grow scrollbars!</title> </head> <body onload="resizeCanvas()"> <canvas id="canvas"></canvas> </body> </html> <script type=...

Python modules not updating after restarting the main module.

I've recently come back to a project having had to stop for about 6 months, and after reinstalling my operating system and coming back to it I'm having all kinds of crazy things happen. I made sure to install the same version(2.6) of python that I was using before. It started by giving me strange tkinter error that I hadn't had trouble ...

[C#] dotNet 4.0 Clipboard bug?

Try this: 1. Create an app in VS Express Edition 2010 (.NET 4.0). 2. Put these lines in the code wherever u like - string text = Clipboard.GetText(); MessageBox.Show(text); 3. Copy some ANSI text (for simplicity) from notepad. 4. Run the app and see the result. I see "Clipboard.GetText()" (without quotes) instead of a...

Delphi 6 - Bugs disappear when I compile multiple times.

My Delphi installation has been going downhill for the past few months. It seems though that every so often when I build a release it has strange errors in it which are resolved if I build, then compile, then build, compile, etc. I've talked to another developer who thinks that this is a compiler error. This sort of degrading perfor...

HTML5 Offline Storage on iPad and iPhone BUG

Hello everyone, I created a manifest file with 1000 items. Safari, Mozilla browsers are saving the files offline successfully and even Android saves the files correctly offline. On iPad and iPhone when I am trying to save more than 300 items in some point the applicationCache returns "error". When I am trying to save less (e.x.: 200) i...

jQuery clone problem

Hi all, I am trying to clone a div and change the names of the input fields in this div. It works great for most of the browsers but IE 7 does not change the name attribute of the input fields. Demo: http://jsbin.com/iduro/7 HTML <body> <pre></pre> <div><input value="Hello World" name="test"></div> </body> JS var lastRow = $("...

How to fix Internet Explorer PNG Bug ?

Hi, On this page http://browserupdate.microdual.com/ i have a bug on Internet Explorer. How to fix it? I had already used the DD_belatedPNG.fix() function, but it didn't worked. Thanks to all ...

Showing bug count or CI build on a TV in the office

I recently saw a blog post showing off different displays that some software development shops use for showing their bug count or CI build status on a nice TV in the office. I can't for the life of me find it now, and I can't find it on google either. Anyone know what I'm talking about? Edit: can anyone point me to an example of such ...