lucaschessR icon indicating copy to clipboard operation
lucaschessR copied to clipboard

Temporary database window and pgn game window do not remember size preferences

Open futurelauncher opened this issue 3 years ago • 19 comments

Hi, Lucaschess's main window always remembers minimization/maximization preference for the user, but this never happens with temporary database window and pgn game window. Always user has to maximize it for each and every single game pasted there.

futurelauncher avatar Jan 19 '22 13:01 futurelauncher

It is saved the width and height not the maximize state.

lukasmonk avatar Jan 23 '22 08:01 lukasmonk

This time instead of maximize, I dragged the window and enlarged it to the full size, but still after closing it and reopening it, it opens in a default size. Database window is not a concern here, as it opens almost fully (95%), but specifically pgn game window opens 3/4 of monitor screen. The logic is, if you are going to study a game, you would prefer full screen, and then for each new game you have to enlarge (maximize) it. It would be great if it remembers user choice.

futurelauncher avatar Jan 23 '22 12:01 futurelauncher

The reading of pgn file is done by creating a temporary database. All databases use the same window, including the temporary one, size are shared by all. In all my tests the windows are saved and retrieved fine. Obviously I am not understanding something.

lukasmonk avatar Jan 23 '22 12:01 lukasmonk

Let us go step by step.

  1. I open software. First window is this - image
  2. I paste a single game with Alt+1 shortcut. Temporary database window opens as this - image
  3. Now I press enter key and open a game like this - image Now look at the size of this game window. It is always 3/4 of monitor screen. To enlarge it, I click maximize icon on top right. There should be some way to have this window in full size by default. Of course this is a small thing, not a big problem, but it can simply save a click of any user. Hopefully I am pretty much clear this time. Let me know if you didn't understand any part of this comment.

futurelauncher avatar Jan 23 '22 13:01 futurelauncher

I was in the previous step. You can change the size of the board by clicking on the tool on the left upwards.

lukasmonk avatar Jan 23 '22 13:01 lukasmonk

Sorry, I cannot locate that tool. Where is it exactly? 18527a5b-6945-4b1e-a685-040895e82fd7

futurelauncher avatar Jan 23 '22 14:01 futurelauncher

You have to put it in a normal state, not maximised.

lukasmonk avatar Jan 23 '22 14:01 lukasmonk

It is in a normal state. There are only 6 visible options viz. colors, pieces, default, director, flip the board & active keys. No option to change the size of the board.

futurelauncher avatar Jan 23 '22 14:01 futurelauncher

The only reason for not showing the resizing is when it is maximised.

lukasmonk avatar Jan 23 '22 15:01 lukasmonk

This is the screenshot of exactly what I am seeing. This is the screenshot of default window after opening the game of temporary database.

image

futurelauncher avatar Jan 23 '22 15:01 futurelauncher

There are two files that control this appearance:

\UserData\__Config__\confvid.pkd
\UserData\__Config__\confBoards.pk

If you send them to me I might be able to replicate the problem.

lukasmonk avatar Jan 23 '22 18:01 lukasmonk

Sent you at [email protected].

futurelauncher avatar Jan 24 '22 00:01 futurelauncher

lukasmonk must be

El lun., 24 ene. 2022 1:53, futurelauncher @.***> escribió:

Sent you at @.***

— Reply to this email directly, view it on GitHub https://github.com/lukasmonk/lucaschessR/issues/73#issuecomment-1019615497, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPW5RVJDGLXRLRTFDSSYALUXSPHRANCNFSM5MJ4W5AQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

lukasmonk avatar Jan 24 '22 03:01 lukasmonk

Ops, sorry...corrected and sent.

futurelauncher avatar Jan 24 '22 05:01 futurelauncher

You can change the size with CTRL and the mouse wheel. If the main board is maximised, then the change is not possible through the menu, I have to check this.

lukasmonk avatar Jan 24 '22 17:01 lukasmonk

Yes, you caught a bug here. Anyways, even though you change the size of the board, it is increased in the bottom portion (half issue resolved), but not towards right side. This is what I get now - image

And this is what I expect Lucaschess to remember at the time of closing the window or program. image But unfortunately it doesn't remember this while reopening the program or a game and goes back to first image size. Here I am referring size of the whole game window, not the board. I hope, I am pretty much clear now.

futurelauncher avatar Jan 25 '22 00:01 futurelauncher

Fixed in the next update (version R2).

lukasmonk avatar Jan 25 '22 19:01 lukasmonk

This issue is not resolved yet in R2.

futurelauncher avatar Mar 26 '22 08:03 futurelauncher

I think in the next update, this time it will be solved.

lukasmonk avatar Mar 26 '22 11:03 lukasmonk