bugs

Can you repro this 64-bit .NET 4 GC bug?

Update: Microsoft have now reproduced the bug and are working on a fix. Whilst evaluating the viability of the .NET platform for low latency software development, we have discovered a serious bug in the .NET 4 concurrent workstation garbage collector that can cause applications to hang for up to several minutes at a time. On three of o...

Any workarounds to this IE8 bug?

Hello, Is there any workaround to the IE8 bug where some elements seem to collapse the vertical margins and reset it when hover over the element? You can test the bug at: http://www.gilbertybolona.com/seguros/generales/ And this is a screenshot: d.pr/Plf8 All of the elements should be equally separated. ...

Asp.net MVC Razor - Custom javascript inside if block

How can I put javascript code inside if block. @{ #if DEBUG $("#User").val("JDoe"); $("#Password").val("secrect"); #endif } When I try above code I get this compiler error: Compiler Error Message: CS1056: Unexpected character '$' And if I change $ to jQuery: Compiler Error Message: CS0103: The name 'jQuery' does no...

WTF is this Access bug?

Tested on Access 2003 Pro (build 11.8321.8324) SP3. Steps to reproduce: create a new database. create a new form. put a button on the form. paste the following code in the button's Click event procedure: Debug.Print Workspaces.Count Debug.Print CurrentDb.Name close the code editor and form, saving changes. do not skip thi...

SVG <image> doesn't work in <defs> on Chrome

I want to use image in a group definded in defs tag. But on Chrome nothing works. In Firefox only the .png file is displayd. Only Rectangle apears but with strange bug in Chrome. Is this is supported by SVG or im not using it right. plane.svg <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://...

WPF animation sometimes doesn't run

I have some pretty simple code that attempts to slide a custom progress bar over. Here is the XAML: <!-- Progress display --> <uControl:ProgressDisplayPie x:Name="soakProgressDisp" Canvas.Left="357" Canvas.Top="29" ProgressValue="0" Height="198" /> In response to a button click, the progress bar slides over: private void sau...

IE CSS Bug: background-color: transparent behaves differently to background-color: (any other colour)

Hi all I have been struggling to find out why this rollover is not behaving as it should in IE8. Go here : http://baked-beans.tv in IE8, you'll see that the rollover only works on the lower half of the thumbnails. Btw, this is not activated by an tag but by a ":hover" for the . What I cant figure out is why it works on only the low...

How to use TThread the right way.

Hi. Could you help me please. I'm writing a component (something like TListView), In my component I perform 3 procedures one by one: procedure findFiles(Path:String); // using FindFirst, FindNext procedure ArrangeItems; // assigns Item Position procedure SetIcons; // Loads Images, resizes, adds to ImageList I can not understand ho...

Firefox shows blank page when computer wakes up from screensaver.

I have a computer running Windows Vista setup as a kiosk. It runs Firefox and RKiosk addon and in it, there's splash page made of html with a bunch of images acting as links leading to pages with contents (PDFs, videos and images). When a user browses and leaves the kiosk at any content page, upon idling for a period, a Javascript functi...

Android: the GC doesn't respect SoftReferences?

It seams that Dalvik's garbage collector doesn't respect SoftReferences and removes them as soon as possible, just like WeakReferences. I'm not 100% sure yet, but despite the fact that there is still ~3MB of free memory my SoftReferences get cleared after I see "GC freed bla-bla-bla bytes" in LogCat. Also, I saw a comment by Mark Murphy...

Android animation startOffset broken or buggy?

Hi, I've taken some animation xml straight from the android docs, and as far as I can see, doesn't work on either my 2.1 update 1 emulator or my 2.1 update 1 Galaxy S device. Specifically, I'm trying to create an animation to pulsate a view (i.e. make it smaller then larger in one animation) This is the very simple markup: <?xml...

Help with focus/blur semantics in jquery

... $(document).ready(function(){ $('form').submit(function(){ $('input#second').focus(); return false; }); $('#first').blur(function(){ alert('blur'); }); }); ... <form> <input id=first><br> <input id=second><br> <input type=submit> ...

Bug: onNewIntent not called for singleTop activity with Intent.FLAG_ACTIVITY_NEW_TASK

There appears to be a bug in startActivity. By setting activities to be singleTop with different taskAffinity in AndroidManifest.xml and using the Intent.FLAG_ACTIVITY_NEW_TASK when calling startActivity, two activities can be created in two tasks (one activity per task). Calling startActivity again will return to the first activity/ta...

TypeDescriptor doesn't return members from inherited interfaces

my problem is that TypeDescriptor doesn't return members from inherited interfaces, is this how it is supposed to be working ? or is it a bug ? [TestFixture] public class DescriptorTests { [Test] public void Test() { // count = 1 ...

Padding on Shape in Progressbar

Hi I'm using xml file to define progress bar. I defined padding on background shape. But this setting will be sometimes displayed correctly, sometimes not. So If I start my application or Activity with progressbar inside, there will be correctly displayed progressbar with background and 'padded' progress. Then I close my application an...

Webkit canvas drawImage() and canvas not-integer scale factor bug?

Hi. I've got a problem with canvas context drawImage() method if an image is drawn on a canvas that already has not-integer scale factor. It seems that such images are clipped in a weird way (sometimes the most right part of an image is clipped, sometimes the most bottom side, sometimes both). This problem appears at least in Google Chr...

Ruby.vim indent fails with each..do leading with regex containing a hash ('#')

I'm editing Ruby code in Vim. There is a failure in the Ruby.vim indentation which is bugging me. Here is a block of code with correct indentation: text.scan(/#/).each do |match| line1 line2 end Here is how Ruby.vim indents the code: text.scan(/#/).each do |match| line1 line2 end All lines subsequent to line2 are inden...

AIR - Different behaviour when the app is installed and when it runs inside the builder

Hi, we are developing an Adobe AIR app using Flex4. We are facing lot of bugs that didn't show up when we run the application inside Flash Builder (both debug mode and run mode), but when we install the app and run it, the app shows a different behaviour. Any idea ? what does it change between running the installed application in the bui...

Google Chrome text shadow blur bug

Google Chrome has an extremely annoying defect in the blur algorithm it uses for text shadow (possibly other shadows too). As a result, the shadow "eats" into the letters and makes the text look strange and difficult to read. One of the places you can see this clearly is on Twitter - http://dev.twitter.com/pages/auth. The text-shadow is...

Why does jQuery not work like CSS in terms of inheritance?

This should be so simple: $("a").hover(function () { $(this).stop().animate({color: "#00cc00"}, 'fast'); }, function () { $(this).stop().animate({color: "#939393"}, 'fast'); }); $(".footer_link").find("a").hover(function () { $(this).stop().animate({color: "#333"}, 'fast'); }, function () { $(this).stop().animate({color...