DIGIT-ARC read-only archive · snapshot: July 23, 2026

NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

22 posts · originally from https://geek.digit.in/community/threads/notepad-bug-found-by-vishal-gupta-a-k-a-mr-vista.59638/

Vishal Gupta
Vishal Gupta Original post #1
Jun 6, 2007 at 2:40 PM
UPDATE: Don't forget to visit following similar threads:

DID YOU KNOW? Windows Live Mail BUGs & Goof-ups
DID YOU KNOW? IE7 BUGS & Goof-ups
DID YOU KNOW? Windows VISTA Facts & Goof-ups


Guys!

Today I found a BUG in Notepad, which is not new to Vista. I have checked it in XP and its also working there. :rolleyes:

So get ready for enjoying it: :D

1. Open Notepad and enable "Status Bar" from "View -> Status Bar". If this option is disabled, then first uncheck "Format -> Word Wrap" option and now enable Status Bar again. Actually Notepad doesnt allow to hv Status Bar along with Word Wrap feature. U can hv one of them enabled at a time. But there is a registry hack, using it u can hv both of them at the same time. :D

Open regedit and goto:

Code:
HKEY_CURRENT_USER\Software\Microsoft\Notepad
In right-side pane, change value of StatusBar to 1.

2. Now open any existing text file (Yeah, you hv to open an already saved file to check this BUG) and put your cursor to any line, you'll see its location in Status Bar.

e.g. we assume that you put the cursor at column 3 of Line 3, then it'll show "Ln 3, Col 3" in Status Bar.

OK, fine then whats the BUG? :D Now press <Ctrl>+S or Choose "File -> Save" and look at the Status Bar. VOILLA, it'll show "Ln 1, Col 1" irrespective of the actual Line and column Number, that was "Ln 3, Col 3" in our case.

*img245.imageshack.us/img245/1964/notepadbugaj3.jpg

Sometimes you may hv to press <Ctrl>+S twice to re-create this BUG.

So the BUG is whenever you save an existing file, Notepad will show "Ln 1, Col 1" in Status Bar and it'll be corrected when you'll move the cursor. :cool:
iMav
iMav #2
Jun 6, 2007 at 2:44 PM
note pad hai yaar itna advanced nahi hai :D
rakeshishere
Jun 6, 2007 at 2:51 PM
Its sounds like Bug But M$ might call it an "Easter Egg" :)
Vishal Gupta
Jun 6, 2007 at 2:57 PM
No matter what the software is but a BUG is a BUG and I hv reported it to MS. :D
And it can't be called an easter egg. ;)
sam_1710
Jun 6, 2007 at 2:59 PM
hey Mr.Vista..
in the view menu of my notepad, the status bar option has been greyed out!! .. why??
rakeshishere
Jun 6, 2007 at 3:08 PM
Vishal Gupta said:
And it can't be called an easter egg. ;)

Even I know that(I was kiddin):D..But Wonder How could some one possibly Not Able to Find such a Silly "BUG" in such a silly APP:confused:
Vishal Gupta
Jun 6, 2007 at 3:23 PM
@sam
u missed this part in my first post: ;)

Open Notepad and enable "Status Bar" from "View -> Status Bar". If this option is disabled, then first uncheck "Format -> Word Wrap" option and now enable Status Bar again. Actually Notepad doesnt allow to hv Status Bar along with Word Wrap feature. U can hv one of them enabled at a time. But there is a registry hack, using it u can hv both of them at the same time. :D

Open regedit and goto:

Code:
HKEY_CURRENT_USER\Software\Microsoft\Notepad
In right-side pane, change value of StatusBar to 1.

@Rakesh
bcoz a silly person was needed to find this silly bug. :D
sam_1710
Jun 6, 2007 at 3:26 PM
oh.. sorry.. dint read it properly!! :(
thanks Vishal!
u got some powerful eyes wid u!! :))
~Phenom~
Jun 6, 2007 at 3:57 PM
hmm , nice find.
casanova
casanova #10
Jun 6, 2007 at 5:45 PM
Bug not noticed coz people cant go testing around for everything done with registry hacks.

Nice find but not fair to call it a bug. Call it a lapse instead
rakeshishere
Jun 6, 2007 at 7:25 PM
casanova said:
Bug not noticed coz people cant go testing around for everything done with registry hacks.

Nice find but not fair to call it a bug. Call it a lapse instead
You Mean..." A Programming Flaw " :D :p

Edit: Or a LoopHole;)
Garbage
Garbage #12
Jun 6, 2007 at 9:50 PM
I think this is happening bcoz, after saving the file, "File Pointer" is placed again to "First Character" or "@ beginning of file".

isn't it ?
planetcall
Jun 6, 2007 at 11:30 PM
*board.freeones.com/images/smilies/hatsoff.gif
N
Jun 7, 2007 at 12:40 AM
I already knew about the first one. Always thought for what they give enable status bar when option itself becomes greyed out. Second one was entirely new for me!
casanova
casanova #15
Jun 12, 2007 at 5:05 PM
A flaw in how the program and registry interacts.
R
Jun 12, 2007 at 10:13 PM
Probably the MS programmer needed some sleep and he/she forgot to codify this mistake correctly.
Quiz_Master
Jun 15, 2007 at 1:43 PM
I knew the first one. But that "line" one was new to me. Keep finding bugs...

How u find bugs yaar.... It can take months to foind bugs like this...
Vishal Gupta
Jun 15, 2007 at 2:15 PM
I never tried to find any BUG to date. It just come in my way and I post them here. :D
piyush gupta
Jun 18, 2007 at 10:37 AM
@VISTA

yarr notepad hai very old hai and MS ke pass apke jaisa tester nahin hiana jo Regestry hack karke s/w ko test kare :D
A
Jun 18, 2007 at 11:23 AM
so good one man.

so good one man