[Dx-packages] [Bug 1079929] Re: Full screen Qt windows don't get focus

2014-12-19 Thread Jussi Lind
Seems to work in 14.04 as it should.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1079929

Title:
  Full screen Qt windows don't get focus

Status in Unity:
  Incomplete
Status in unity package in Ubuntu:
  Incomplete

Bug description:
  The problem here is that when a Qt window/widget is shown by calling
  QWidget::showFullScreen(), the resulting full screen window doesn't
  get keyboard focus despite setFocus() being called. This is confusing
  especially with games using only keyboard since the user needs to
  click on the window.

  This is a bug in Unity, because the same code works correctly on
  Windows and Unity2D.

  Test program attached. It opens a full screen window, which exists and
  prints a message when it gets a key event.

  Steps to reproduce:

  1) Run the test program:
  $ qmake
  $ make
  $ ./FocusBug

  2) Press some keys.

  What should happen:
  - The program should exit and print a message Key pressed!.

  What happens:
  - Nothing, unless the user first clicks on the window.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: unity 6.10.0-0ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
  Date: Sat Nov 17 00:59:24 2012
  InstallationDate: Installed on 2012-10-19 (28 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS Precise Pangolin - Release amd64 
(20120823.1)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=set
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: unity
  UpgradeStatus: Upgraded to quantal on 2012-10-19 (28 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1079929/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1079929] Re: Full screen Qt windows don't get focus

2014-12-18 Thread Andrea Azzarone
Ubuntu 12.10 reached end-of-life so it's no longer supported. Can you
still reproduce this bug on 14.04 (or laters)?

** Changed in: unity
   Status: New = Incomplete

** Changed in: unity (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1079929

Title:
  Full screen Qt windows don't get focus

Status in Unity:
  Incomplete
Status in unity package in Ubuntu:
  Incomplete

Bug description:
  The problem here is that when a Qt window/widget is shown by calling
  QWidget::showFullScreen(), the resulting full screen window doesn't
  get keyboard focus despite setFocus() being called. This is confusing
  especially with games using only keyboard since the user needs to
  click on the window.

  This is a bug in Unity, because the same code works correctly on
  Windows and Unity2D.

  Test program attached. It opens a full screen window, which exists and
  prints a message when it gets a key event.

  Steps to reproduce:

  1) Run the test program:
  $ qmake
  $ make
  $ ./FocusBug

  2) Press some keys.

  What should happen:
  - The program should exit and print a message Key pressed!.

  What happens:
  - Nothing, unless the user first clicks on the window.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: unity 6.10.0-0ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
  Uname: Linux 3.5.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
  Date: Sat Nov 17 00:59:24 2012
  InstallationDate: Installed on 2012-10-19 (28 days ago)
  InstallationMedia: Ubuntu 12.04.1 LTS Precise Pangolin - Release amd64 
(20120823.1)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=set
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: unity
  UpgradeStatus: Upgraded to quantal on 2012-10-19 (28 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1079929/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp