Search result never on top of the document window?

General comments and questions. Technical support.
Post Reply
Moonlight
Posts: 78
Joined: Thu Apr 06, 2023 1:44 pm

Search result never on top of the document window?

Post by Moonlight »

Whenever I perform a search, in the document window the result (= the term I searched for) appears on the bottom (= one of the last lines) or sometimes about in the middle - see positions Nr. 1 respectively Nr. 2 in the following picture:

Position.jpg
Position.jpg (49.92 KiB) Viewed 10152 times

In MS Word the result is always on the top of the window (see position Nr. 3) which is much more comfortable as I can immediately start with reading (or editing) instead the necessity to scroll down immediately (as in position Nr. 1) or quite soon (as in position Nr. 2).

Perhaps I should add that Nr. 1 seems to be the position when I press "Enter" immediately after typing the search term in the "Find-what"-box (= my favorite method as so I can get quickly to the desired search result [which in my documents is in most of the cases just one]). Nr. 2 seems to be the place when I let Atlantis finish the search and afterwards I click on (or hover over) the (first) result in the list with the results.

Is there a possibility that the result could appear on the top (= in the first line or at least one of the first lines) of the document window (regardless of the way in which I carry out the search)? - Thank you.
User avatar
admin
Site Admin
Posts: 2926
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Re: Search result never on top of the document window?

Post by admin »

Pressing Enter in the “Find what” box of the “Find/Replace” panel and clicking an item from the “Results” box of this panel should not produce different results. This will be corrected in the next build.

But I am not sure that auto-scrolling the document window so that the selection always appears at the very top of the document window is a good idea. Especially when a target object is already in view (visible). But maybe there is some science behind your idea.
Moonlight
Posts: 78
Joined: Thu Apr 06, 2023 1:44 pm

Re: Search result never on top of the document window?

Post by Moonlight »

It has nothing to do with science but simply with logic and habit. And I think that it is valid for non-"western" languages/scripts (Arabic, Janpanese, ...) as well: Usually (= if you did not stop reading/looking before somewhere else) you start to deal with a text (or tables or pictures etc.) on the top of a sheet of paper, of the page of a book, of the computer's monitor etc. - and not on the bottom (and not even in the middle).

Atlantis' method of positioning may be sufficient when you are interested only in finding the isolated item (word) you search for or in reading/editing just the same line where it can be found. Then it might be o.k. that you will see the result in one of the last two or three lines of the document window. (But even then it's unusual and therefore uncomfortable as you have to go down with your eyes.) But whenever you want to start reading or editing something which begins at the selection (e.g. a whole paragraph) it will be necessary to scroll down so that you have it (completely) on the screen.

By the way:
Following bookmarks within a document the situation seems to be different (in comparison with using the search by Find/Replce):

Clicking (respectively double-clicking) on a bookmark within the bookmark panel, usually brings up the target approximately in the middle of the document window (or a little bit below the middle, I think) and sometimes (rarely) on top. - And when clicking on a bookmark directly within the document window, the target appears either on top (= the position I would be prefer) or in the middle of the window - obviously depending on the place where the target is located within the document: above of the bookmark or below it. - But the result is never positioned on the bottom (as far as I have tested it). And that's good so. :wink:

So one could also ask: Why is it different when following bookmarks and when performing a search (via the Find/Replace panel)?
Moonlight
Posts: 78
Joined: Thu Apr 06, 2023 1:44 pm

Re: Search result never on top of the document window?

Post by Moonlight »

Just a small addition:

The very top of the document window indeed would not be so good, in case that a user in order to get the context would like to see what is written directly above the term he searched for.

But a position on top (= near top) with about 2-3 lines above could be fine, I think. For example in the picture of my first post: an appearance of the selection approximately at the height of the third/fourth line ("Atlantis is a standalone ...").
Moonlight
Posts: 78
Joined: Thu Apr 06, 2023 1:44 pm

Re: Search result never on top of the document window?

Post by Moonlight »

admin wrote: Sat Feb 08, 2025 10:54 pm Pressing Enter in the “Find what” box of the “Find/Replace” panel and clicking an item from the “Results” box of this panel should not produce different results. This will be corrected in the next build.

But I am not sure that auto-scrolling the document window so that the selection always appears at the very top of the document window is a good idea.
As far as I have seen, the selection now always appears approximately in the middle of the document window (and no longer at the bottom). If this observation is correct, I think that this is a good solution. :wink:
User avatar
admin
Site Admin
Posts: 2926
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Re: Search result never on top of the document window?

Post by admin »

Atlantis tries to avoid scrolling the document window and do as little scrolling as possible. The bottom of the document window is considered a bad spot. So, when Atlantis brings a particular document location into view, in most cases you should expect it to be in the top half of the document window.
Moonlight
Posts: 78
Joined: Thu Apr 06, 2023 1:44 pm

Re: Search result never on top of the document window?

Post by Moonlight »

I see. In my case - as far as I have tried it until now - it was never in the top half but always quite exactly in the middle of the document window. I would have no objection if it were a little bit more in the upper half, but I don't want to be pedantic. The middle is o.k. too and an enormous improvement compared with the bottom. :D
Post Reply