Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-06-2007, 02:40 PM   #1 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Cool NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

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.

So get ready for enjoying it:

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.

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? 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.



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.
__________________
http://www.AskVG.com/

Last edited by Vishal Gupta; 27-07-2007 at 04:32 PM.
Vishal Gupta is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 06-06-2007, 02:44 PM   #2 (permalink)
The Devil's Advocate
 
iMav's Avatar
 
Join Date: Mar 2006
Location: Masti Ki Paathshaala
Posts: 7,015
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

note pad hai yaar itna advanced nahi hai
__________________
"The problem that shows up with the three red lights on the console is a complex interaction with some very complex parts.” - Robbie Bach

http://beingmanan.com
twitter: manan | Last.FM: manan
iMav is offline  
Old 06-06-2007, 02:51 PM   #3 (permalink)
HELP AND SUPPORT
 
rakeshishere's Avatar
 
Join Date: Jun 2006
Posts: 1,595
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

Its sounds like Bug But M$ might call it an "Easter Egg"
rakeshishere is offline  
Old 06-06-2007, 02:57 PM   #4 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

No matter what the software is but a BUG is a BUG and I hv reported it to MS.
And it can't be called an easter egg.
__________________
http://www.AskVG.com/
Vishal Gupta is offline  
Old 06-06-2007, 02:59 PM   #5 (permalink)
Alpha Geek
 
sam_1710's Avatar
 
Join Date: May 2006
Location: Bang Bang BANGALORE !!
Posts: 755
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

hey Mr.Vista..
in the view menu of my notepad, the status bar option has been greyed out!! .. why??
__________________
C2D E8400, MSI P45 Neo-F, Sapphire HD4850, Dell 2409W, OCZ 2*1GB RAM + 1*2GB Transcend + 1*1GB Transcend , Seagate 1TB + 2*Seagate 80GB, 600W SMPS, APC 600VA, Creative EP630, Sennheiser HD202
sam_1710 is offline  
Old 06-06-2007, 03:08 PM   #6 (permalink)
HELP AND SUPPORT
 
rakeshishere's Avatar
 
Join Date: Jun 2006
Posts: 1,595
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

Quote:
Originally Posted by Vishal Gupta
And it can't be called an easter egg.
Even I know that(I was kiddin)..But Wonder How could some one possibly Not Able to Find such a Silly "BUG" in such a silly APP
rakeshishere is offline  
Old 06-06-2007, 03:23 PM   #7 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

@sam
u missed this part in my first post:

Quote:
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.

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.
__________________
http://www.AskVG.com/

Last edited by Vishal Gupta; 06-06-2007 at 03:35 PM.
Vishal Gupta is offline  
Old 06-06-2007, 03:26 PM   #8 (permalink)
Alpha Geek
 
sam_1710's Avatar
 
Join Date: May 2006
Location: Bang Bang BANGALORE !!
Posts: 755
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

oh.. sorry.. dint read it properly!!
thanks Vishal!
u got some powerful eyes wid u!!
__________________
C2D E8400, MSI P45 Neo-F, Sapphire HD4850, Dell 2409W, OCZ 2*1GB RAM + 1*2GB Transcend + 1*1GB Transcend , Seagate 1TB + 2*Seagate 80GB, 600W SMPS, APC 600VA, Creative EP630, Sennheiser HD202
sam_1710 is offline  
Old 06-06-2007, 03:57 PM   #9 (permalink)
The No.1 Stupid
 
~Phenom~'s Avatar
 
Join Date: May 2005
Location: CYBERYARD
Posts: 1,705
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

hmm , nice find.
__________________
n00b forever...
~Phenom~ is offline  
Old 06-06-2007, 05:45 PM   #10 (permalink)
The Frozen Nova
 
casanova's Avatar
 
Join Date: Sep 2004
Location: Trespasser in Virtual Land
Posts: 1,641
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

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
__________________
I dream of a better tomorrow... where chickens can cross roads and not have their motives questioned.

www.nerdweed.blogspot.com
casanova is offline  
Old 06-06-2007, 07:25 PM   #11 (permalink)
HELP AND SUPPORT
 
rakeshishere's Avatar
 
Join Date: Jun 2006
Posts: 1,595
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

Quote:
Originally Posted by casanova
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 "

Edit: Or a LoopHole
rakeshishere is offline  
Old 06-06-2007, 09:50 PM   #12 (permalink)
God of Mistakes...
 
Garbage's Avatar
 
Join Date: Dec 2005
Location: Pune, Maharashtra
Posts: 1,905
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

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 ?
__________________
Registered Linux User #468778
----------------------------------
http://twitter.com/_Garbage_
Garbage is online now  
Old 06-06-2007, 11:30 PM   #13 (permalink)
Indian by heart
 
planetcall's Avatar
 
Join Date: Nov 2003
Location: Bangalore
Posts: 343
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

__________________
प्रासादशिखरेऽपि सन्न काको गरुडायते ॥
No matter how high a fool may rise, he remains a fool -RigVeda
planetcall is offline  
Old 07-06-2007, 12:40 AM   #14 (permalink)
I am Optimus Prime
 
navjotjsingh's Avatar
 
Join Date: Feb 2005
Location: Delhi, India
Posts: 1,919
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

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!
navjotjsingh is offline  
Old 12-06-2007, 05:05 PM   #15 (permalink)
The Frozen Nova
 
casanova's Avatar
 
Join Date: Sep 2004
Location: Trespasser in Virtual Land
Posts: 1,641
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

A flaw in how the program and registry interacts.
__________________
I dream of a better tomorrow... where chickens can cross roads and not have their motives questioned.

www.nerdweed.blogspot.com
casanova is offline  
Old 12-06-2007, 10:13 PM   #16 (permalink)
The Researcher
 
Join Date: Mar 2006
Location: Mumbai
Posts: 1,122
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

Probably the MS programmer needed some sleep and he/she forgot to codify this mistake correctly.
Ramakrishnan is offline  
Old 15-06-2007, 01:06 PM   #17 (permalink)
ax3
Cool as a CUCUMBAR ! ! !
 
ax3's Avatar
 
Join Date: Dec 2003
Posts: 5,002
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

ooye GUPTAJI ........... aap toh VISTA ke peeche paad gaye .........

keepon bugging .......... aaaah VISTA .........
ax3 is offline  
Old 15-06-2007, 01:43 PM   #18 (permalink)
* Teh Flirt King *
 
Quiz_Master's Avatar
 
Join Date: Dec 2005
Location: Originally From : Ratlam M.P., Currently in: Hyderabad
Posts: 971
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

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...
__________________
World is just a Quizzical Reality : Quiz_Master//Ashwin

Blog: http://ashwinsaxena.com/blog - Tech, Life and Other Things.
Quiz_Master is offline  
Old 15-06-2007, 02:15 PM   #19 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

I never tried to find any BUG to date. It just come in my way and I post them here.
__________________
http://www.AskVG.com/
Vishal Gupta is offline  
Old 17-06-2007, 07:07 PM   #20 (permalink)
Broken In
 
Join Date: Apr 2006
Location: 127.0.0.1
Posts: 165
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

Cool
__________________
Freakish Attitude
freakitude is offline  
Old 18-06-2007, 10:37 AM   #21 (permalink)
Wise Old Owl
 
piyush gupta's Avatar
 
Join Date: Sep 2005
Location: never land
Posts: 1,284
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

@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
piyush gupta is offline  
Old 18-06-2007, 11:23 AM   #22 (permalink)
Alpha Geek
 
Join Date: Jan 2007
Location: In your hearts
Posts: 809
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

so good one man.

so good one man

Last edited by abhijangda; 18-06-2007 at 11:23 AM. Reason: Automerged Doublepost
abhijangda is offline  
Old 18-06-2007, 03:42 PM   #23 (permalink)
Microsoft MVP
 
Vishal Gupta's Avatar
 
Join Date: Jul 2005
Location: AskVG.com
Posts: 5,173
Default Re: NOTEPAD BUG: Found by Vishal Gupta a.k.a. Mr. Vista

thnx guys.
__________________
http://www.AskVG.com/
Vishal Gupta is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vishal Gupta Signature krates Chit-Chat 45 08-06-2007 04:56 PM
Program says HASP key not found !( Vista ) eagle_y2j Software Q&A 2 31-05-2007 11:10 AM
VistaVG RTM: New Theme for XP Released by ~Vishal Gupta Vishal Gupta Random News 14 20-02-2007 01:50 AM
First potential virus risk for Windows Vista found !!!!!!!!! mariner Software Q&A 6 08-08-2005 12:16 AM


All times are GMT +5.5. The time now is 08:39 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2