<div dir="ltr"><div dir="ltr">On Thu, Apr 24, 2025 at 7:16 AM Stefano Crocco <<a href="mailto:stefano.crocco@alice.it">stefano.crocco@alice.it</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On mercoledì 23 aprile 2025 12:39:29 Ora legale dell’Europa centrale Ben <br>
Cooksley wrote:<br>
> In the absence of KatePart, is there any other KPart that supports viewing<br>
> text/plain?<br>
> <br>
> Looking at your overall CI log as well as your .kde-ci.yml I don't see<br>
> either a build or runtime dependency on Kate, so it won't be around in the<br>
> CI environment.<br>
> That would explain why autotests/konqviewtest.cpp#L42 is false.<br>
<br>
Yes, it could be displayed by WebEnginePart. If this happened, the test would <br>
fail, but on a different line: not 42 but 45. Still, without Kate in the <br>
environment, the test is pointless.<br>
<br>
> <br>
> What sort of link is being activated here? Could it be KIO / Konqueror<br>
> having an issue with understanding the URL schema / not having something to<br>
> render the returned mimetype?<br>
> Reading the code it appears to be doing similar things to KonqViewTest, so<br>
> fixing one will likely fix the other.<br>
<br>
It is a plain text file and WebEnginePart should be able to display it and, <br>
unlike the other test, this shouldn't make the test fail.<br>
<br>
Having katepart available, however, is necessary for these tests as they seem <br>
to assume it's available. Should I just add a line with frameworks/ktexteditor <br>
under the 'require' section of .kde-ci.yml and create a normal merge request <br>
for this change?<br></blockquote><div><br></div><div>Yes, that will be sufficient as it seems that KatePart is part of frameworks/ktexteditor.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> Cheers,<br>
> Ben<br>
<br>
Thanks<br>
<br>
Stefano<br></blockquote><div><br></div><div>Cheers,</div><div>Ben</div><div> </div></div></div>