fonol / anki-search-inside-add-card

An add-on providing full-text-search and PDF reading functionality to Anki's Add card dialog
https://ankiweb.net/shared/info/1781298089
GNU Affero General Public License v3.0
179 stars 24 forks source link

"Import New" window is too large for my screen #177

Closed tardiggerAde closed 3 years ago

tardiggerAde commented 3 years ago

This is how the main page of Anki is displayed: Notice that the whole of the window is visible above the panel screenie1

This is how the Import New page looks immediately after I open it: Several part of the window get pushed down below the panel screenie2

This is how it looks after I restore and maximize it: An improvement, but the Create button is still unreachable screenie3

Additional info:

fonol commented 3 years ago

I honestly haven't thought of that small screen sizes. I think the problem is that some elements (in case of the note editor, the tag area on the top-left, and the text input on the right) have a minimum height set, which might have to be decreased if the screen size is small. The update on Ankiweb now decreases the min height for screen sizes < 1400. Please report back if it should still be too large your screen.

tardiggerAde commented 3 years ago

Thanks for the quick response. Installed the update, but the behavior is unchanged from before. This is how it looks after restoring and maximizing.

screenie4

I also tried the "Hide left side by default" option under Settings without any luck.

If it's possible, could you make the size of the text input area adjustable? Or maybe add a fullscreen option to that window?

tardiggerAde commented 3 years ago

I have managed to find a workaround by setting a special Window Rule that forces "Raise above" for the New Note window. Another option that also worked was to force fullscreen (using the Escape key to quit out of the window).

Now that's good enough for me, but if you wanna work on interface scaling in the future, I will be glad to help out with the testing :D

fonol commented 3 years ago

A new version is on Ankiweb, if you want to try out.

tardiggerAde commented 3 years ago

Aaaaand that's another bug squished into oblivion!

Final result: success

All buttons are also visible with the window restored. Thank you so much for putting in the work to solve this one, even after I already figured out a workaround :)