Small glitch in Link Persons dialog

Started by thrinn, December 18, 2023, 09:01:03 PM

Previous topic - Next topic

thrinn

A small glitch only:
In the Link Persons dialog, the "Clear" button is being cut off at the right edge:
2023-12-18 20_57_22-Link Persons.jpg

(UHD resolution, 150% scaling)
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

thrinn

No, it has a fixed size. I tried it in the viewer as well as from the file window.
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

How strange. UHD means 3,840 x 2,160 and at 150% this matches my screen settings.

The Link dialog is a fixed size dialog with all controls at fixed positions I set once in the "resource editor" during development.
It also seems that in your screen shot the edit and list controls are too wide, exceeding the width of the dialog...

(Most) IMatch dialogs remember their position and size, The dialog is restored at the same position and size when it is opened again. This looks to me as if, for some reason, the size of the dialog is restored wrong, making it too narrow. I don't think I have seen that before.

Do you remember if this was OK at some time? Or when this looked like this for the first time?
Did you with Pack & Go and maybe fiddled with the settings database in an SQL Editor?

If you know SQL and you have a tool that can open SQLite databases, you can open the IMatch settings database and delete the stored location and size for this dialog with:

DELETE FROM settings WHERE sname = 'dialogs.base.wp.dlg.face.assign'
Or you can send me your settings database ("C:\ProgramData\photools.com\IMatch6\config\imatch.pts") and I do this for you.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

thrinn

Quote from: Mario on December 19, 2023, 10:25:04 AMDo you remember if this was OK at some time? Or when this looked like this for the first time?
Did you with Pack & Go and maybe fiddled with the settings database in an SQL Editor?
Unfortunately I don't remember. In fact I just started to use Linkes Persons at all.
And no, I did not use Pack & Go (at least not to restore anything to my main PC, which is what you mean, I suppose).
Also no to your last question - no fiddling yet.

Quote from: Mario on December 19, 2023, 10:25:04 AMIf you know SQL and you have a tool that can open SQLite databases, you can open the IMatch settings database and delete the stored location and size for this dialog with:
Yes, I know SQL. I can certainly install some SQLite tool to try what you propose. (And yes, I will make a backup before starting fiddling ;) ). No time for that today, but I will give it a try tomorrow.
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

You can download the command line version of SQLite: https://sqlite.org/download.html
Download the sqlite-tools-win-x64 to get sqlite3.exe. Save it to as folder and open a command prompt for that folder. Then:

sqlite3 "C:\ProgramData\photools.com\IMatch6\config\imatch.pts" <Enter>
DELETE FROM settings WHERE sname = 'dialogs.base.wp.dlg.face.assign'; <Enter>
.exit <Enter>

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

thrinn

Quote from: thrinn on December 19, 2023, 03:48:27 PMIf you know SQL and you have a tool that can open SQLite databases, you can open the IMatch settings database and delete the stored location and size for this dialog

Hi Mario,
I followed the steps you proposed. After deleting the setting, the dialog shows in the correct size again. And it was really the dialog's size that was off because OK and Cancel were not even visible any more.

As it is working now, we can close this ticket.

2023-12-20 16_30_35-Link Persons.jpg2023-12-20 16_27_48-IM2020 Pictures.imd5.jpg
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

Very strange. I think we've had something like this never before...?!
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook