[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-accessibility
Subject: Re: [Kde-accessibility] Mouse Scaling in KWin's Zoom Effecdt
From: Sebastian Sauer <mail () dipe ! org>
Date: 2011-11-30 5:23:42
Message-ID: 4ED5BDDE.1070606 () dipe ! org
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Jeremy Whiting wrote:
> On Wed, Nov 16, 2011 at 5:24 PM, Robert Cole <rkcole72984@gmail.com>
> wrote:
> > Hello, everyone.
> >
> > I am testing out openSUSE 12.1 in a virtual machine using VirtualBox
> > today. I decided to test out the Zoom effect of KWin to see how it
> > worked, as it is quite jumpy on my primary Linux Mint 11 machine. I was
> > amazed at how smooth the screen panned around while it was zoomed, and
> > this being in a virtual machine! My main reason for writing this message,
> > however, is that I found that the mouse pointer does not scale (at least
> > in the virtual machine) when zoomed in.
>
> Interesting. I haven't played with the kwin zoom effect til today.
> It's quite nice indeed.
Thanks :-)
> I tried on my real machine, and the cursor
> did scale, but I noticed it changed style.
The reason for this is that it's not the real mouse-pointer that is
displayed. What we do is to hide the real mouse-pointer and then draw
our own which is 1) optionally proper scaled to match the zoom-level
and, even more important, 2) the position is adjusted to match to what
is displayed at the screen. What is displayed at the screen is more or
less a fake and not what X.org sees. So, the real mouse-position, which
is controlled by X.org, would be displayed at a position that does not
match to what is displayed. That is why we need to hide + draw our own
and for that we are loading the cursor-theme. When that does not match
to what was displayed before then no cursor-theme was set in which case
we would need to fallback to the X.org default what we atm don't do.
So much for the background :-)
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<span style="font-family: 'Monospace'; font-size: 9pt;">Jeremy
Whiting wrote:</span>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> On Wed, Nov 16, 2011 at 5:24
PM, Robert Cole <a class="moz-txt-link-rfc2396E" \
href="mailto:rkcole72984@gmail.com"><rkcole72984@gmail.com></a></span></p> <p \
style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Monospace'; \
font-size: 9pt;">> wrote:</span></p> <p style="margin: 0px; text-indent: \
0px;"><span style="font-family: 'Monospace'; font-size: 9pt;">>> Hello, \
everyone.</span></p> <p style="margin: 0px; text-indent: 0px;"><span \
style="font-family: 'Monospace'; font-size: 9pt;">>></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> I am testing out openSUSE
12.1 in a virtual machine using VirtualBox</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> today. I decided to test
out the Zoom effect of KWin to see how it</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> worked, as it is quite
jumpy on my primary Linux Mint 11 machine. I was</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> amazed at how smooth the
screen panned around while it was zoomed, and</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> this being in a virtual
machine! My main reason for writing this message,</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> however, is that I found
that the mouse pointer does not scale (at least</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">>> in the virtual machine)
when zoomed in.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> </span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> Interesting. I haven't played
with the kwin zoom effect til today.</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> It's quite nice indeed.<br>
</span></p>
<p style="margin: 0px; text-indent: 0px;"><br>
<span style="font-family: 'Monospace'; font-size: 9pt;"></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">Thanks :-)</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;"><br>
> I tried on my real machine, and the cursor</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">> did scale, but I noticed it
changed style.<br>
</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;"><br>
</span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">The reason for this is that it's
not the real mouse-pointer that is displayed. What we do is to
hide the real mouse-pointer and then draw our own which is 1)
optionally proper scaled to match the zoom-level and, even more
important, 2) the position is adjusted to match to what is
displayed at the screen. What is displayed at the screen is more
or less a fake and not what X.org sees. So, the real
mouse-position, which is controlled by X.org, would be displayed
at a position that does not match to what is displayed. That is
why we need to hide + draw our own and for that we are loading
the cursor-theme. When that does not match to what was displayed
before then no cursor-theme was set in which case we would need
to fallback to the X.org default what we atm don't do.<br>
</span></p>
<p style="margin: 0px; text-indent: 0px;"><br>
<span style="font-family: 'Monospace'; font-size: 9pt;"></span></p>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family:
'Monospace'; font-size: 9pt;">So much for the background :-)</span></p>
<br>
<p style="margin: 0px; text-indent: 0px; font-family: 'Monospace';
font-size: 9pt;"></p>
</body>
</html>
_______________________________________________
kde-accessibility mailing list
kde-accessibility@kde.org
https://mail.kde.org/mailman/listinfo/kde-accessibility
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic