Bug in Multiview Search requester

A forum for general AmigaOS 4.x support questions that are not platform-specific

Bug in Multiview Search requester

Postby Steady » Wed Sep 16, 2015 8:03 am

AmigaOS 4.1 FE on SAM 460CR
==========================

Multiview: 53.8
datatypes.library: 53.4
text.datatype: 53.8
=================

I think there is a bug (unterminated string) in the "Find ... " command where it adds trailing garbage characters to subsequent searches (i.e. find, then find again). I encountered the bug when searching the autodocs so I was using the text datatype. The bug may not be restricted to that situation but I almost always see it when doing that.

Replication Steps
===============
1) Open a text file with MultiView.
2) Press <RAmiga>-F to find.
3) Enter text to search for.
4) Press <Return> to execute search.
5) Press <RAmiga>-F to find again.
6) You will probably see the garbage at the tail end of the text. If you don't see the garbage, just repeat step 4 & 5 again until you do.

Cheers,
Jason.
Steady
 
Posts: 17
Joined: Tue Aug 30, 2011 4:23 am
Location: Melbourne, Australia

Re: Bug in Multiview Search requester

Postby broadblues » Wed Sep 16, 2015 1:41 pm

Reproduced this just once after a great deal of repeating.

The requester comes from text.datatype, not multiview itself so I'll check for and raise a bug report against text.datatype
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 461
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: Bug in Multiview Search requester

Postby broadblues » Wed Sep 16, 2015 1:48 pm

reported as bug 9302
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 461
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: Bug in Multiview Search requester

Postby Steady » Thu Sep 17, 2015 2:50 am

broadblues wrote:reported as bug 9302


Thanks. I knew it was one of those things that show up at random, but I got it more often than not. Thanks for confirming and raising.
Steady
 
Posts: 17
Joined: Tue Aug 30, 2011 4:23 am
Location: Melbourne, Australia

Re: Bug in Multiview Search requester

Postby xenic » Thu Sep 17, 2015 3:56 pm

Steady wrote:
broadblues wrote:reported as bug 9302


Thanks. I knew it was one of those things that show up at random, but I got it more often than not. Thanks for confirming and raising.

Since you would normally use <RAmiga>-N (find next) after the first search, most people would never see this bug. It's always a good idea to fix things that aren't working right though.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1020
Joined: Sun Jun 19, 2011 1:06 am

Re: Bug in Multiview Search requester

Postby chris » Fri Sep 18, 2015 12:03 pm

xenic wrote:
Steady wrote:
broadblues wrote:reported as bug 9302


Thanks. I knew it was one of those things that show up at random, but I got it more often than not. Thanks for confirming and raising.

Since you would normally use <RAmiga>-N (find next) after the first search, most people would never see this bug. It's always a good idea to fix things that aren't working right though.


I always hit enter twice to do a find next in Multiview. Never realised there was a shortcut for it! Consequently I've seen this bug for years but managed to never report it.
chris
 
Posts: 548
Joined: Sat Jun 18, 2011 12:05 pm

Re: Bug in Multiview Search requester

Postby trixie » Fri Sep 18, 2015 3:32 pm

Since you would normally use <RAmiga>-N (find next) after the first search


Funny that RAmiga-N has been a reserved shortcut for "New" since forever :-)
Smoke me a kipper, I'll be back for breakfast!
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
User avatar
trixie
 
Posts: 351
Joined: Thu Jun 30, 2011 3:54 pm
Location: Czech Republic

Re: Bug in Multiview Search requester

Postby Steady » Sat Sep 19, 2015 6:28 am

Actually, I just saw a similar problem in an ASL requester (well, I assume it was ASL) last night and forgot where it was. It might be a problem in some very common code. When I remember/repeat it I will post where it was.
Steady
 
Posts: 17
Joined: Tue Aug 30, 2011 4:23 am
Location: Melbourne, Australia

Re: Bug in Multiview Search requester

Postby broadblues » Sat Sep 19, 2015 3:00 pm

@Steady

Yes this has been marked as a duplicate of another more general bug, previously thought fixed that seems to have reooccurred (possibly with different cause) in FE.
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 461
Joined: Sat Jun 18, 2011 3:40 am
Location: Portsmouth, UK

Re: Bug in Multiview Search requester

Postby xenic » Sat Sep 19, 2015 8:28 pm

trixie wrote:
Since you would normally use <RAmiga>-N (find next) after the first search


Funny that RAmiga-N has been a reserved shortcut for "New" since forever :-)


Unless one could afford to buy the Amiga ROM Kernal Manuals, most programmers probably never saw the "Style Guide" and just used keyboard shortcuts that made sense to them. Apparently, the devs have done the same. For example:
RAmiga-N is used in the Workbench/Window menu for "New drawer" instead of Style Guide "Project/New".
RAmiga-P is used in the Workbench/Icon menu for "Put away" instead of Style Guide "Project/Print".
RAmiga-S is used in the Workbench/Icon menu for "Snapshot" instead of Style Guide "Project/Save As...".
RAmiga-S is used in the GUI prefs Settings menu for "Use Seperate Screen" instead of Style Guide "Project/Save As...".
RAmiga-A is used in console/shell Project menu for "Save history" instead of Style Guide "Project/Save As...".

I could probably spend at least a week listing inconsistancies between the Style Guide and the OS. The bottom line is that "Do as I say not as I do" doesn't work and changing Multiview or any OS menu shortcut will just cause confusion at this point.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1020
Joined: Sun Jun 19, 2011 1:06 am

Next

Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 2 guests