Skip to content

One keyboard and mouse for a Mac and a Windows PC over the local network, in either direction.

Beamer 1.5.13

Toby Kalkman550386e1bb8e
diff --git a/VERSION b/VERSION
index 41336a1..fa85d4d 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.5.12
+1.5.13
diff --git a/flatpak/uk.co.kalkman.beamer.metainfo.xml b/flatpak/uk.co.kalkman.beamer.metainfo.xml
index 1a7bf0d..4caaa09 100644
--- a/flatpak/uk.co.kalkman.beamer.metainfo.xml
+++ b/flatpak/uk.co.kalkman.beamer.metainfo.xml
@@ -43,6 +43,9 @@
</screenshots>
<content_rating type="oars-1.1"/>
<releases>
+ <release version="1.5.13" date="2026-10-24">
+ <description><p>Explains on Wayland that the desktop controls pointer visibility while input is shared, and that Beamer cannot hide another application's idle pointer. Pointer hiding on macOS, Windows and X11 is unchanged.</p></description>
+ </release>
<release version="1.5.12" date="2026-10-23">
<description><p>Adds a Check for updates button to the Updates section on macOS, Windows and Linux. It works even when automatic checks are off, says when a check fails, and shows any newer version with a download link or Flatpak update instructions. Nothing downloads or installs automatically.</p><p>From this version, bug-fix patches no longer raise the update banner or menu alert unless they are marked important. They still appear on the Updates page and in manual checks.</p><p>Windows starts without an administrator prompt. The installer asks for permission separately to set up firewall rules, move existing Beamer startup tasks to normal rights and restart the GameInput service if present. Beamer can no longer control administrator windows or Windows permission prompts from another machine, no longer restarts GameInput while running, and its Firewall page now only checks the rules: run the installer again to repair them.</p><p>Fixes a crossing from Windows to a Mac with more than one display landing on the wrong display instead of the one set for that edge. Input from another machine now wakes a sleeping Mac display.</p><p>The Membrane, Sparks and Instrument crossing styles now follow the Size setting, and Light, Folio and Selvedge grow in every direction instead of only deeper. Switch effects such as Ring follow Size too. The largest Size is now 25% of the display's shorter side, up from 8% with a 144-point cap. The Design preview keeps the same zoom while Size changes, so it can crop larger marks.</p><p>Desktop machine rows have a Pin address switch: keep the address you chose, or turn it off to follow automatic address changes. On macOS, the Dock and menu bar controls sit higher on Overview, and the menu bar menu has a Show in Dock checkbox.</p></description>
</release>
diff --git a/locales/beamer.pot b/locales/beamer.pot
index bbe4a3b..846a497 100644
--- a/locales/beamer.pot
+++ b/locales/beamer.pot
@@ -4357,6 +4357,10 @@ msgstr ""
msgid "This PC's pointer hides while it drives another machine, and after another machine stops driving it, until its own mouse moves."
msgstr ""
+#: win_app/kvm_bridge_win.py
+msgid "On Wayland your desktop controls pointer hiding while this PC drives another machine. Beamer cannot hide the pointer after another machine stops driving this PC."
+msgstr ""
+
#: win_app/kvm_bridge_win.py
msgid "On Wayland Beamer cannot see a full-screen app, or a mouse button held before the pointer reaches an edge, so the edges are never held for one and a drag can cross."
msgstr ""
diff --git a/locales/it.po b/locales/it.po
index 152837a..48fe320 100644
--- a/locales/it.po
+++ b/locales/it.po
@@ -4419,6 +4419,10 @@ msgstr "Blocca i bordi di questo PC mentre un'app è a schermo intero"
msgid "This PC's pointer hides while it drives another machine, and after another machine stops driving it, until its own mouse moves."
msgstr "Il puntatore di questo PC si nasconde mentre controlla un altro computer, e dopo che un altro computer smette di controllarlo, finché il suo mouse non si muove."
+#: win_app/kvm_bridge_win.py
+msgid "On Wayland your desktop controls pointer hiding while this PC drives another machine. Beamer cannot hide the pointer after another machine stops driving this PC."
+msgstr "Su Wayland è l'ambiente desktop a gestire la visibilità del puntatore mentre questo PC controlla un altro computer. Beamer non può nascondere il puntatore quando un altro computer smette di controllare questo PC."
+
#: win_app/kvm_bridge_win.py
msgid "On Wayland Beamer cannot see a full-screen app, or a mouse button held before the pointer reaches an edge, so the edges are never held for one and a drag can cross."
msgstr "Su Wayland Beamer non vede un'app a schermo intero, né un pulsante del mouse tenuto premuto prima che il puntatore raggiunga un bordo, quindi i bordi non vengono mai bloccati per un'app e un trascinamento può passare."
diff --git a/win_app/desktop_portal.py b/win_app/desktop_portal.py
index 39bbf6e..5b5681b 100644
--- a/win_app/desktop_portal.py
+++ b/win_app/desktop_portal.py
@@ -18,7 +18,10 @@ drives it, the position here is stale until the peer's next move puts it back: n
the local pointer.
A full-screen app cannot be seen and no button can be asked after (button_down is False), so the
-full-screen hold and the drag guard have nothing to go on here."""
+full-screen hold and the drag guard have nothing to go on here. GNOME and KDE hide the pointer
+for the lifetime of active InputCapture, restoring it on release or client disconnection.
+Outside capture, Wayland provides no global hide or local-motion notification. A blank-cursor
+surface would have to take pointer focus from other apps, so idle hiding is left unavailable."""
import logging
import math
diff --git a/win_app/kvm_bridge_win.py b/win_app/kvm_bridge_win.py
index 3b266b8..501acc6 100644
--- a/win_app/kvm_bridge_win.py
+++ b/win_app/kvm_bridge_win.py
@@ -1340,6 +1340,11 @@ class WindowsApplication(QWidget):
tr("This PC's pointer hides while it drives another machine, and after another machine stops driving it, "
"until its own mouse moves."), "note", wrap=True)
module.body.addWidget(pointer_note)
+ wayland_pointer_note = widgets.label(
+ tr("On Wayland your desktop controls pointer hiding while this PC drives another machine. "
+ "Beamer cannot hide the pointer after another machine stops driving this PC."), "note", wrap=True)
+ wayland_pointer_note.setVisible(platform_parts.WAYLAND)
+ module.body.addWidget(wayland_pointer_note)
self.wayland_crossing_note = widgets.label(
tr("On Wayland Beamer cannot see a full-screen app, or a mouse button held before the pointer reaches an "
"edge, so the edges are never held for one and a drag can cross."), "note", wrap=True)
@@ -1350,7 +1355,7 @@ class WindowsApplication(QWidget):
"note", wrap=True))
for widget in (self.hold_switch, own_note, hold_note):
widget.setVisible(not platform_parts.WAYLAND)
- # Wayland gives an app no way to hide the pointer.
+ # Wayland owns hiding during capture; it offers no global idle-pointer hide.
for widget in (self.pointer_switch, pointer_note):
widget.setVisible(self._idle_pointer is not None)
self.wayland_crossing_note.setVisible(platform_parts.WAYLAND)
diff --git a/win_app/tests/test_capture_portal.py b/win_app/tests/test_capture_portal.py
index d23fd58..8fc619e 100644
--- a/win_app/tests/test_capture_portal.py
+++ b/win_app/tests/test_capture_portal.py
@@ -496,10 +496,15 @@ class HooksTest(unittest.TestCase):
with self.assertLogs(capture_portal.LOGGER, level="INFO") as said:
h = self.make()
h.start()
- h.hooks._key = None
- h.hooks._place_barriers(h.hooks._session)
+ h.models = [return_edge.ReturnEdge("bottom")]
+ wait_for(lambda: len(h.bus.made("Enable")) == 2, what="the session enabled again")
ready = [line for line in said.output if "Input capture is ready" in line]
self.assertEqual(ready, ["INFO:capture_portal:Input capture is ready: 1 of 1 edge barriers placed"])
+ self.assertEqual(
+ [[item["position"] for item in call[2]] for call in h.bus.made("SetPointerBarriers")],
+ [[("(iiii)", (1920, 0, 1920, 1079))], [("(iiii)", (0, 1080, 1919, 1080))]],
+ )
+ self.assertEqual(h.failures, [])
def test_push_through_moves_to_a_barrier_then_steps_outward_and_captures_once(self):
h = self.make()
diff --git a/win_app/tests/test_hide_pointer_setting.py b/win_app/tests/test_hide_pointer_setting.py
index 3bf55e8..2ebdfa7 100644
--- a/win_app/tests/test_hide_pointer_setting.py
+++ b/win_app/tests/test_hide_pointer_setting.py
@@ -113,6 +113,40 @@ class HidePointerSettingTests(unittest.TestCase):
def test_an_earlier_runs_hidden_pointer_is_given_back_at_start(self):
self.assertEqual(self.desktop.calls[0], ("restore",))
+ def test_wayland_explains_idle_hiding_without_offering_an_ineffective_switch(self):
+ from PySide6.QtWidgets import QLabel
+
+ self.desktop.CAN_HIDE_POINTER = False
+ self.window._idle_pointer.cancel()
+ self.window._idle_pointer = self.window._make_idle_pointer()
+ with mock.patch.object(kvm_bridge_win.platform_parts, "WAYLAND", True):
+ module = self.window._input_module()
+ self.addCleanup(module.deleteLater)
+ self.assertIsNone(self.window._idle_pointer)
+ self.assertTrue(self.window.pointer_switch.isHidden())
+ notes = [label for label in module.findChildren(QLabel)
+ if "cannot hide the pointer after another machine stops driving" in label.text()]
+ self.assertEqual(len(notes), 1)
+ self.assertFalse(notes[0].isHidden())
+ self.desktop.calls.clear()
+ self.window._on_sender_redirecting(True)
+ self.window._on_sender_redirecting(False)
+ self.window._on_owner("peer")
+ self.window._on_owner("")
+ self.assertEqual(self.desktop.calls, [])
+
+ def test_x11_keeps_the_existing_pointer_setting_without_the_wayland_limitation(self):
+ from PySide6.QtWidgets import QLabel
+
+ with mock.patch.object(kvm_bridge_win.platform_parts, "WAYLAND", False):
+ module = self.window._input_module()
+ self.addCleanup(module.deleteLater)
+ self.assertFalse(self.window.pointer_switch.isHidden())
+ notes = [label for label in module.findChildren(QLabel)
+ if "cannot hide the pointer after another machine stops driving" in label.text()]
+ self.assertEqual(len(notes), 1)
+ self.assertTrue(notes[0].isHidden())
+
if __name__ == "__main__":
unittest.main()