bugs

How do you ensure the same bug does not creep into the product the second time?

I understand the short answer to it is by doing testing but still how do you do this testing? Do you modify your test cases to include the bugs as additional test cases to run or do you just verify all the bugs in your bug tracking system starting from the oldest to the newest releases. Thanks for the answers. Looks like my question was...

Is the IE 7 in Windows Media Center a full featured IE?

I'm getting reports from my website of weird Javascript errors in a piece of code that normally works well, all with the following user agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.30618) Should I assumed that the IE7 in Windows Media Ce...

UIButton moves when pressed

I am trying to make a UIButton that grows when pressed. Currently i have the following code in my button's down event (courtesy of Tim's answer): #define button_grow_amount 1.2 CGRect currentFrame = button.frame; CGRect newFrame = CGRectMake(currentFrame.origin.x - currentFrame.size.width / button_grow_amount, currentFrame.o...

[UITableView indexPathsForVisibleRows] possible bug?

Hello, I been trying this in my code and it doesn´t work: NSArray *paths = [aUITableView indexPathsForVisibleRows]; An empty NSArray is returned. But if I do this in the previous line it works fine....is this a framework bug? NSArray *cells = [aUITableView visibleCells]; NSArray *paths = [aUITableView indexPathsForVisibleRows]; The...

IE7 border issue

Hi, Im my web page there is a div with width 0 which has a left and right border of 1px width each. In Firefox when I give the following code it holds the div with 50px width, but it happens to be 48px wide in IE7. <div style="width: 48px; border: #a9a9a9 1px solid; height: 30px;">test div</div> Can anyone help me resolving this issu...

ASP.NET MVC bugs

What bugs have you experience while using ASP.NET MVC? As a first, The Html.DropDownList does not respect Selected property of SelectListItem when explicitly bound to List of SelectListItem. ...

Google map + jQuery: rendering bug

When placing a google map inside a jquery-ui tab, the map fails to display properly in certain circumstances. To reproduce: Go here Click the 'list' link Resize the browser window Click the 'map' link Observe that some of the place name overlays draw properly, but others do not. I've actually stripped out all of the jquery-ui stuff t...

IE6 - Background img missing, extra pixels in header, and most content off center...

Having major issues getting my wordpress website to display correctly in IE6. Link to screenshot below. My background image is missing, the nav is knocked down a few extra pixels, and most of my content is off center. www.genevarealtytrust.com/content/wp-content/themes/wp-terra-basic/images/ie6_wpterra.jpg FF screenshot (linked below...

How do I check bug history on a module in the Perl core?

Quite recently, I asked a question about debugging a seg fault: What are some good methods or steps to debug a seg fault in Perl?. Somebody mentioned that Symbol had some deep XS magic in it. I'm wondering if I can find a bug history for a Perl core module. I tried looking on CPAN, but the change documentation is kept at the project le...

Little-endian hex in GHKit diagnostic, why?

In the context of iPhone programming, I am using the GHKit for unit testing (gabriel / gh-unit on github). Here is a failing test assertion : GHAssertEquals(150, 15, @"someLimit"); and here is the diagnostic from GHKit (shows up in the Simulator and in the Xcode Console) : 2009-07-25 22:41:12.553 UnitTests[38404:3f07] Exception:...

Why is .Equal False when i expect it to be true?

The first line is true, the second is false. htmlOut and s2 are StringWriter objects. bool b = s2.ToString() == htmlOut.ToString(); ret = htmlOut.Equals(s2); I expected true which b is but why is ret false? ...

Is there a bug in my code for populating a QTreeView?

I'm using PyQt 4.4. It's best shown using some pictures. All nodes should have leafs from 0 to 99. They are being incrementally loaded using canFetchMore() and fetchMore(). But for some reason unknown for me this works only for the root node. (Picture 1) If I collapse and expand a node it loads additional 10 values. (Picture 2 & 3) It...

Background Color and Italics sets off Internet Explorer 7 bug

The following code demonstrates the issue I'm encountering: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; <html> <head> <style> p { background-color:#FFF; } </style> </head> <body> <img src="http://www.google.com/intl/en_ALL/images/logo.gif" style='float:left;'> <p><e...

The context menu does not work in Visual Studio 2005 (win7)

When I select a class, variable etc that should have a context menu in vs2005 and right click on it does not open up the context menu. I can use the context menu key on the keyboard to activate the menu but not the mouse. If I right click on any white area a context menu will show, but that does not make any sense for me i.e. there is n...

git segfaults on merge - submodule conflict

I'm trying to combine code on two branches with the 'git merge' command, but git is crashing during the process. I need to find an alternative way to merge these branches. To increase merge output to a debug level I ran: $ export GIT_MERGE_VERBOSITY=5 I am currently on the destination branch. git-status shows everything clean an...

Why isn't the thread stopping?

My service spawns a new thread, and stops it according to the typically recommended java method of interrupt()'ing. When I stop the service, I stop the thread in onDestroy(). The service is stopped, and the interrupt code is reached. However, soon enough the thread restarts from the beginning of the Runnable. public class DoScan extends...

How to solve/hack fading semi-transparent PNG bug in IE8?

As you know, IE6 has bug that can't display semi-transparent PNG file without using non-standard style like filter. In IE7, this problem is fixed. But It still has some bug about PNG file. It can't correctly display fading semi-transparent PNG file. You can clearly see it when you use show/hide function in jQuery with semi-transparent PN...

Internal Error URW1135

When building my application in release mode, I get an internal error URW1135 at the end of one of my files. I searched the internet and found (here) that it could be about arrays of generic types like MyClass <T> = class FArray : array of T; end; So, I applied the proposed workaround (declaring a type TArrayType = array of T) throu...

How to debug the debugger of visual studio 2008 when debugging a multi threaded application ?

That's a hard title, let me explain what I mean, currently I'm programming a multi threaded application, and when I set a breakpoint in my code : Sometimes the breakpoint doesn't break, Sometimes the debugger can't evaluate variables, Every time, Step by step doesn't work as expected (it jumps anywhere) My multi thread app has 2 th...

FlexBuilder not creating .swf file for AIR project

This seems like a bug in Flex Builder, however the builder no longer creates the .swf file for any projects (I'm building an AIR app). It did previously however, for some reason it errors out with the message "Initial content not found" (referring to looking for the swf in bin-debug, and not being able to find it). There are many propos...