Hello Aurelien,
Unfortunately this solution does not help.
Message is still written through word "Debian" with same color white,
and therefore unreadable.
I tested it at
text_height = first_line_height * 7.5;
min_height = Window.GetHeight();
#Debug("text_height=" + text_height + "; min_height=" + min_height);
if (y + text_height > min_height)
y = min_height - text_height;
The script has a lot of code to accommodate screens of different size.
My screens use heigths 1024 and 800.
Plymouth shows at the smallest screen the center part of the largest
screen, that just fits.
The smallest screen has a vertical offset Window.GetY() to the top of
the largest screen.
y is the offset of text to the top of the largest screen.
But min_height is the height of the smallest screen.
It must be compared with the offset to the top of the smallest screen.
This offset is y - Window.GetY() and should be used at the compare.
The second problem is that if it does not fit, the text will be shifted
a little bit upwards at the
middle of the large word "Debian" and become unreadalble.
Therefore it should shifetd to the first line that is visible at both
screens.
Therfore I think still the proposed fix is needed:
if (y - Window.GetY() + text_height > min_height)
# shift to top of smallest window
y = Window.GetY() + 1;
On 3/2/21 1:06 AM, Debian Bug Tracking System wrote:
This is an automatic notification regarding your Bug report
which was filed against the desktop-base package:
#956437: plymouth: Message is unreadable at initial Debian screen on dual
monitor
It has been closed by Debian FTP Masters<ftpmas...@ftp-master.debian.org> (reply to
Aurélien COUDERC<couc...@debian.org>).
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Debian FTP
Masters<ftpmas...@ftp-master.debian.org> (reply to Aurélien
COUDERC<couc...@debian.org>) by
replying to this email.