<div dir="ltr"><div dir="ltr">Hi Christoph.<div><br></div><div>Thank you for all this information.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qua, 13 de mar de 2019 às 17:43, Christoph Feck <<a href="mailto:cfeck@kde.org">cfeck@kde.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Renato,<br>
<br>
On 03/12/19 12:46, Renato Resende Ribeiro de Oliveira wrote:<br>
> For a while I asked in the forums, bug trackers and here if someone<br>
> responsible for the KMag code could insert the "Top Screen Mode" (available<br>
> on KMag 3) again on the v4+ of the software.<br>
> Unfortunately this piece of code was lost during the past years (since KDE<br>
> 4 release and KMag migration for that).<br>
<br>
(Not so) fun fact: The code only got lost because commits for KDE 3.5<br>
were never merged back to the master branch. It might be worth checking<br>
which changes from "git diff v3.4.90..v3.5.10" could be reapplied on<br>
the current code base.<br></blockquote><div>I don't think this is yet possible since the APIs that were used at that time changed considerably.</div><div>Indeed my change were based on the 3.5 code. So I kinda doing that work right? :)</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>
> I just did a fork of the official repository and implemented the core of<br>
> this functionality on the current codebase.<br>
<br>
Thanks for your work! Could you summarize the reasons why neither of<br>
the available KWin zoom/magnifier/looking glass effects is sufficient?<br>
They have the benefit of being able to zoom the complete screen area,<br>
what the window-based KMag cannot do. KMag also lacks Wayland support.<br></blockquote><div>Sure. I use KMag as a magnifier due to my low vision. I use it at a magnifying level of 1.7.</div><div>I dock it on the top of the screen so I avoid any UI to be under it (like maximized windows) and make it follow the mouse cursor and the keyboard focus.</div><div>That way I can still look at a fixed region of the screen to see magnified content but with the same usability of a normal user (since the rest of the screen is untouched)</div><div>Let's just say that it is a better user experience for my daily high magnified usage.</div><div>The magnifier app for Windows and the one for Mac both have this feature built-in. So I think it will be a nice addin for the KMag features.</div><div>For the Wayland I don't know what is that but since I will be working on the I can implement this support if you give me some guidance on what needs to be done.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> I want to open a PR so that awesome functionality would be available again.<br>
> The problem is I don't know some parts of the KF5 behavior, like how to add<br>
> new icons, how to add an action to the menus, and so on.<br>
<br>
I suggest to ask specific questions about KF5 on the kde-devel list or<br>
in #kde-devel IRC channel. I hope you already found the Qt5 and KF5 API<br>
pages.<br>
<br>
If you need new icons, KDE's visual design group can be found in<br>
#kde-vdg channel. They can propose an icon name and suggest a fallback<br>
icon until a new icon is available.<br></blockquote><div> This is on Freenode right? I will reach them there so.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Can anyone here help me to implement (or at least give me some guidance on<br>
> that matter) these final steps so I can open the PR on Phabricator?<br>
><br>
> My changes so far:<br>
> <a href="https://github.com/renatorroliveira/kmag/commit/e5e62671d7a7a4309e85da3216d5429c26e647a8" rel="noreferrer" target="_blank">https://github.com/renatorroliveira/kmag/commit/e5e62671d7a7a4309e85da3216d5429c26e647a8</a><br>
<br>
-- <br>
Christoph Feck<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><div><div><b>Renato Resende Ribeiro de Oliveira</b><br>Senior Software Engineer @ <a href="https://edvisor.io/" target="_blank">Edvisor.io</a><br>MSc - Computer Science - Universidade Federal de Lavras<br></div><div>PMP - Project Management Professional</div><br></div></div>Skype: <a href="http://renatorro.comp.ufla.br" target="_blank">renatorro.comp.ufla.br</a></div><div><div><div><div>LinkedIn: <a href="https://www.linkedin.com/in/renatorro" target="_blank">https://www.linkedin.com/in/renatorro</a></div><div><span style="font-size:7.5pt;color:rgb(31,73,125)"> </span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>