Mir

System compositor input events passed to console (particularly troublesome for Alt+Fn and Alt+Left/Right)

Bug #1102756 reported by Robert Ancell on 2013-01-22
68
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Mir
Critical
Maarten Lankhorst
mir (Ubuntu)
Undecided
Unassigned

Bug Description

When using Mir as a system compositor it doesn't set the VT to KD_GRAPHICS mode so all input events are passed to the console.

Related branches

Alan Griffiths (alan-griffiths) wrote :

Lacks context.

Is this addressed by lp:~alan-griffiths/mir/Add-MIR_DISABLE_INPUT-feature?

Chris Halse Rogers (raof) wrote :

No. It's also not (exclusively) a Mir bug, but is here to simplify not leaking private stuff.

To bulk this out - in system-compositor land, circa 13.04, we'll be entirely ignoring Mir's input stack and having all the X servers talk directly to the input devices. This means we get a fully functioning, tested, input stack without significant effort, but means that all clients of the system compositor get all the input, all the time.

Thus, we need to get XMir to cooperate with switching - XMir needs to know when it loses system-compositor focus and release the input devices. Then, XMir needs to know when it gains system-compositor focus and to acquire the input devices.

There's also the fact that Mir doesn't set the VT to KD_GRAPHICS mode, so the kernel also handles everything you type (which is why hitting Alt-F4 under Mir will VT switch)

Robert Ancell (robert-ancell) wrote :

The VT stuff should be tracked in bug 1102758

description: updated
tags: added: vt
information type: Proprietary → Public
Changed in mir:
assignee: nobody → Robert Ancell (robert-ancell)
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu Package testing tracker.

A list of all reports related to this bug can be found here:
http://packages.qa.ubuntu.com/qatracker/reports/bugs/1102756

tags: added: package-qa-testing
summary: - System compositor input events passed to console
+ System compositor input events passed to console (particularly
+ troublesome for Alt+Fn and Alt+Left/Right)
Mario Rugiero (mrugiero) wrote :

I'll add to the troublesome combinations, I can't use ctrl+shift+u+<code> to print unicode characters.

Changed in mir:
importance: High → Critical
Changed in xmir:
status: New → Invalid
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.0.9

Changed in mir:
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mir - 0.0.8+13.10.20130808.1-0ubuntu1

---------------
mir (0.0.8+13.10.20130808.1-0ubuntu1) saucy; urgency=low

  [ Robert Ancell ]
  * VT switch on alt+ctrl+Fn.
  * Add missing iostream import. This was accidentally removed in
    revision 939. Local builds and CI builds both seem to have treated
    this as a warning; debian package builds as an error. Fixes
    packaging builds.

  [ Robert Carr ]
  * Add an interface by which the shell may be notified of and interfere
    with surface configuration requests.

  [ Alexandros Frantzis ]
  * Bring back revision 931 with a fix for the crash it caused (LP:
    #1209053). (LP: #1209053)
  * examples: Quit the example servers and standalone programs when
    Ctrl+Alt+Backspace is pressed.

  [ Maarten Lankhorst ]
  * Re-introduce console support, and ignore control characters. (LP:
    #1102756, #1195509)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 944
 -- Ubuntu daily release <email address hidden> Thu, 08 Aug 2013 05:03:26 +0000

Changed in mir (Ubuntu):
status: New → Fix Released
Jono Bacon (jonobacon) on 2013-08-08
tags: added: flavormirbug
Changed in mir:
assignee: Robert Ancell (robert-ancell) → Maarten Lankhorst (mlankhorst)
Changed in mir:
milestone: none → 0.0.9
status: Fix Committed → Fix Released
no longer affects: xmir
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints