-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
SumatraPDF version
- Version [e.g. 3.5.2, pre-release]/ OS: Windows 10 (64)
Describe the bug
Using Arabic as the application language: The cross (x) icon, used to close the search box (which is initialized by Ctrl+F), is in reversed position
To Reproduce
Steps to reproduce the behavior:
- Open any pdf file 'It does not matter what language it is'
- Use 'Arabic' (maybe other RTL language would give the same result) as the app language (Settings > Change language > Arabic)
- Initialize search (Ctrl+F)
- Search for any string (it doesn't matter if the string exists or not). Click 'Enter'. The small results box will appear.
- Now try to click on the (x) on the results box to close it. It is not clickable, not highlighted when hovering on it by mouse.
- Now move to the opposite side of (x); as (x) is on the right, hover on the left side of the results box. When you reach the left edge, you will notice the right edge (where the (x) is located) highlighted. Now you can close the results box: just click where you are.
- You may compare this to 'English': Use 'English' as the app language (Settings > Change language > English.
Initialize search (Ctrl+F). Search for any string. Click 'Enter'. Hover on (x) and you will see it is highlighted and you can close it.
Expected behavior
The cross (x) icon should be in left position in search results box.
So, the (x) position and the position of the mouse pointer should match.
File that reproduces the problem
This is not related to a specific PDF file.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
No need.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
