Bug#956437: closed by Debian FTP Masters <ftpmaster-Lx6IQGP78c/[email protected]> (reply to Aurélien COUDERC <[email protected]>) (Bug#956426: fixed in desktop-base 11.0.2)

Gert van de Kraats <vd.Kraats-8LkvcxCLB6JmR6Xm/[email protected]> Wed, 3 Mar 2021 21:24:47 +0100
Newsgroups gmane.linux.debian.devel.desktop
Message-ID <23284aff-db35-5700-2e2d-59b8cf7e4959__14691.1149074853$1614804143$gmane$org@hccnet.nl>
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<ftpmaster-Lx6IQGP78c/[email protected]>  (reply to Aurélien COUDERC<[email protected]>).
>
> 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<ftpmaster-Lx6IQGP78c/[email protected]>  (reply to Aurélien COUDERC<[email protected]>) by
> replying to this email.
>
>