Bug 476793

Summary: inconsistent margin in BQM
Product: [Applications] digikam Reporter: fch22 <frederic.chaume>
Component: Plugin-Bqm-WaterMarkAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, frederic.chaume, metzpinguin
Priority: NOR    
Version First Reported In: 8.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 8.2.0
Sentry Crash Report:

Description fch22 2023-11-10 11:54:52 UTC
SUMMARY
***
I'm setting an Y margin of 3%  for the logo from the BQM, but result depend on the position:
when set to the bottom right or left, the logo is at ~100px from the bottom (3% of 3355 px)
when set to the bottom and center the logo is at 0px from the bottom, was exepecting to get ~100px too
remember the "bottom and center" is a newly option  introduced recently (certainly in 8.x version)
Comment 1 fch22 2023-11-10 11:57:26 UTC
just tested setting a margin of 5% for the bottom and center , the position is now ~80px
Comment 2 Maik Qualmann 2023-11-10 20:08:33 UTC
Git commit 797136c1d27ae662bf7ec3ea194f01a728ef222e by Maik Qualmann.
Committed on 10/11/2023 at 21:07.
Pushed by mqualmann into branch 'master'.

fix top and bottom center position in the watermark tool
FIXED.IN; 8.2.0

M  +1    -1    NEWS
M  +12   -8    core/dplugins/bqm/decorate/watermark/watermark.cpp

https://invent.kde.org/graphics/digikam/-/commit/797136c1d27ae662bf7ec3ea194f01a728ef222e