Bug 476793 - inconsistent margin in BQM
Summary: inconsistent margin in BQM
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-WaterMark (show other bugs)
Version: 8.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 11:54 UTC by fch22
Modified: 2023-11-10 20:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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