let domU change the displayed cursor

84 views
Skip to first unread message

john.david.r.smith

unread,
May 28, 2016, 6:18:54 PM5/28/16
to qubes...@googlegroups.com
hi.
there is a small thing annoying me when working with qubes.
if i want to resize gui elements in an domU window (not the window
itself, but some sidebar similar to the one displayed by the google
groups webinterface), my cursor does not change.
it is ok, when the gui makes it clearly where to put the cursor, but it
does not do that always.

how much work would it be to register cursor change events in domU and
send them to dom0?
what do you think: would that feature improve the usability of qubes
(aka would this feature be worth its work)?

as far as i can see, qubes_gui would need to register the cursor change
events and the selected cursor (e.g. the cursor icon's id) and pass them
to qubes_guid in dom0.
in dom0 we could additionally add a 2 pixel border to the cursor (with
the color of the currently selected domain).
this would add an additional security benefit, since domU can display a
fake window mimicking a different domain, but we could see this by
hovering over the fake dialog, if the domain's colors are different.

so there are two proposes:
1) change the cursor icon according to the currently active domU (to
improve usability).
2) add a 2 pixel border in the color of the currently active domU (to
slightly improve security).

what do you think?

-john

Andrew David Wong

unread,
May 28, 2016, 9:36:39 PM5/28/16
to john.david.r.smith, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
We currently have a issue to track this:

https://github.com/QubesOS/qubes-issues/issues/1551

Please take a look at the comments there, since there's already been a
bit of discussion.

I've also added a link to your comment there.

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXSkd/AAoJENtN07w5UDAwaecQALuNJWpMF6nuTrlHtIwHPxKb
wVJwa08pSBzzG4VJAm6pwHozLU7TDhJKB2QE50nE/4/GyaXXOTFqMHLIjhHLSvNz
L2DQpCCruwyZSt0KE8/YOT/4SoBRHcRCCuSuhApWrHgX+eszoRP65Z3REHBCA35I
/BPp4VkQz0ajBmzLWgns97FdpmG4QS0m3ay5PWdPLJqMl7tZpxTN8OCiPwOA42KD
mxwS1hqmG2iXTUhmB/UBfNXraN90WhNcXjzCDACKkWb5vQOCnF5h4VtPh8i7b7z6
KpK639e6IMnT6FHd7/mRnAcq2pdn8McZoUaoJPeEqfD+lgP8NjaMzqZBn83PgLTI
8sI30uez8SC3T4+npqyjZt9MJGVmtExR2GCkHOgojB+L5Lv9hdEyXFG3m12ZxamL
9f8lEy5/6d4l/AtDPpOKpTlAuEhRlnHLfdcimAHIzrIxrVO4bmCWQ+ZaawQv0rMN
LNo2zwXJ2iZ+OUdAbYl/VtE77JFeTbLmxbWtRAUI6Lc8WCleXaolaskwOMOIYAuA
6JjxW6+IimtuirxknjXsEJ83TCL6perFuX0Ol5KHBWDESkE9vc/NLA7EYN2Hp4qX
+ERfN9LIiPB/pnPI7zed18+ZAnunhCSJpIH4ZMrwBaK6cyCT1USjfWPkn6IO/Bff
mHJmJfEd0YMlF8Mpt476
=jHA0
-----END PGP SIGNATURE-----

Chris Laprise

unread,
May 28, 2016, 10:20:58 PM5/28/16
to john.david.r.smith, qubes...@googlegroups.com
This has come up before, and there is an issue logged for it. The pixel
border idea is new, though.

https://github.com/QubesOS/qubes-issues/issues/1551

Chris
Reply all
Reply to author
Forward
0 new messages