Annotation dialog garbled: has the location or format of "layout.dat" changed recently?
Tobias Leupold
tl at stonemx.de
Mon Dec 29 17:43:05 GMT 2025
E-Mail von Andreas Schleth via KPhotoAlbum vom Montag, 29. Dezember 2025,
00:23:
> Hi Johannes,
>
> im onto it - the bug report :-)
Commit 3ab7e118de1b888e7c831e4129abfc0673eed956 should already do the trick.
The Annotation Dialog's window state is now written to a db-specific group
("AnnotationDialog [the db's path]") and read from there, depending on which
db is open. Using the whole path saves us from collisions like one db being on
/old_stuff/photos and the other one on /new_stuff/photos.
If no state is found in such a db-specific group, the non-db-specific state is
copied there and used (if it's not empty). The state is not removed so that it
also can be copied to other db-specific groups.
This should allow multiple Annotation Dialog layouts and also multiple KPA
instances showing different databases concurrently.
Andreas, would you be so kind to test the state_per_db branch and check if it
works for your setup? It currently only contains this one commit.
Cheers, Tobias
PS: Yay, I finally could contribute something again :-D
> Andreas
>
> Am 28.12.25 um 22:52 schrieb Johannes Zarl-Zierl:
>
More information about the KPhotoAlbum
mailing list