Bug 4491 - Address autocompletion list does not expand in height with the number of matches
Summary: Address autocompletion list does not expand in height with the number of matches
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: UI/Compose Window (show other bugs)
Version: 4.0.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2021-06-24 11:34 UTC by Keith Edmunds
Modified: 2022-11-03 10:06 UTC (History)
0 users

See Also:


Attachments

Description Keith Edmunds 2021-06-24 11:34:55 UTC
I have three firstname=Terry in my address book. Two of those
entries have the same surname, so they look identical (different email
addresses of course). If I type "Terry<tab>", Claws offers the unique Terry and one of the two same-name-different-address Terrys.

If I type "Terry h<tab>" it offers the two matching entries. The GTK2
version matched all from the start.
Comment 1 Paul 2021-06-24 11:48:54 UTC
Always works here. Are you sure that you don't just need to scoll down in the list of matches?
Comment 2 Keith Edmunds 2021-06-24 11:54:04 UTC
Ah, you're right Paul, but I see why I thought it wasn't matching.

When I tab on the 'to' field, I can see the first two addresses. The one I want is actually third. I use the down arrow and it does highlight the correct address, but the list doesn't scroll to display it.

I'm reasonably certain (but can't check right now) that the GTK2 version does scroll under those circumstances.
Comment 3 Paul 2021-06-24 12:09:07 UTC
The difference is that in gtk2 the list expands in size according to the number of entries (and screen height), but in gtk3 it sticks at a fixed (so-called "natural") size.
Comment 4 Keith Edmunds 2021-07-04 11:44:15 UTC
I think it's slightly more subtle than that. In the GTK3 version, the list does expand, but for n entries in the list it expands to show (n - 1) entries. I'm seeing that consistently.

Note You need to log in before you can comment on or make changes to this bug.