Menu

#6795 UBUNTU: Fullscreen/Windowed with ALT+ENTER fails in 14.04

All Games
open
nobody
None
5
2015-02-08
2015-02-02
No

Hello,

I'm using last Scummvm git version and alt+enter does not work.
If I launch Scummvm in fullscreen:
$ scummvm -f
alt+enter works, only one time to go windowed, then does nothing.
If I launch Scummvm in windowed mode, alt+enter does nothing.

Do I have to submit a bug?

Config: Ubuntu 14.04 LTS Trusty 64 bits - NVIDIA GeForce GTX 770 - official Ubuntu Nvidia drivers 331.113 - resolution 1920x1080 - Processor Intel i5-3570 3,4 Ghz - 8 Go RAM

Discussion

  • Johannes Schickel

    Did you check whether your window manager uses Alt+Enter for something? It is very likely that your window manager intercepts the key combo and ScummVM does no receive it anymore.

     
  • Le Gluon du Net

    Le Gluon du Net - 2015-02-03

    I have not this problem with Dosbox (and other apps) wich uses the same key combination to enter/exit fullscreen. Did you try to reproduce the bug on Ubuntu 14.04? This bug is present too in the scummvm package from Ubuntu official repositories.

     

    Last edit: Le Gluon du Net 2015-02-03
  • digitall

    digitall - 2015-02-04
    • summary: fullscreen/windowed with alt+enter not work on linux --> UBUNTU: Fullscreen/Windowed with ALT+ENTER fails in 14.04
     
  • digitall

    digitall - 2015-02-04

    Just tested on Linux x86_64 here with ScummVM 1.8.0git2618-g3fe7c64 with no problems.

    @legluondunet: What version of ScummVM are you using? As Ubuntu is based on Debian, it can lag quite badly. The current stable release is v1.7.0:
    http://www.scummvm.org/downloads/

    If that also exhibits the issue, try with the latest v1.8.0git Development master build from here:
    http://buildbot.scummvm.org/builds.html

     
  • Le Gluon du Net

    Le Gluon du Net - 2015-02-06

    Hello Digitall, I just compiled ScummVM last git on Ubuntu 14.04, the bug is still here.

     
  • Willem Jan Palenstijn

    Google shows random forum posts saying that Unity/Ubuntu intercepts Alt to launch some HUD-like thing.

     
  • Le Gluon du Net

    Le Gluon du Net - 2015-02-06

    Like I said others apps don't have this problem: I can enter dosbox fullscreen with alt+enter on Ubuntu/Unity.ScummVM should take hotkey control when it has focus. Anyway, is it possible to change this ScummVM hotkey because it's very annoying for Ubuntu users?

     

    Last edit: Le Gluon du Net 2015-02-06
  • Willem Jan Palenstijn

    To make sure you're comparing the same thing: do you have the mouse captured in both scummvm and dosbox when trying that?

     
  • digitall

    digitall - 2015-02-07

    @legluondunet: Thanks for the update. Can you confirm which version of Ubuntu 14.04 LTS you are using? i.e. 14.04.1 or 14.04 and is this 32 or 64 bit?

    As this is freely available:
    http://www.ubuntu.com/download/desktop

    I intend to download a copy and spin this up in a Virtual Machine image using VirtualBox or QEMU. I can then test this there and see if I can replicate the issue.

    I suspect the ALT-ENTER is getting to ScummVM, but that it is failing to go fullscreen, possibly due to an issue with libSDL or OpenGL drivers...

     
  • Le Gluon du Net

    Le Gluon du Net - 2015-02-07

    Willem Jan: ScummVM does not capture the mouse as dosbox do. For Dosbox, you click one time on his wondows and the cursor/focus is blocked inside Dosbox. Then you can use alt+enter to enter fullscreen and ctrl+F10 to free the cursor. For ScummVM, alt+ enter does not work even if the ScummVM has the focus.

    Digital: I'm using Ubuntu 14.04.1 64 bits, drivers Nvdia from official Ubuntu repositories

     
  • Willem Jan Palenstijn

    Ctrl-M captures the mouse in scummvm.

    You're a bit unclear, but are you implying that in dosbox alt-enter also does not work if you don't have the mouse captured?

     
  • Thierry Crozat

    Thierry Crozat - 2015-02-07

    I can confirm that in ubuntu 14.04, Alt+Enter in ScummVM works with the mouse captured but doesn't work when it is not captured.

     
  • Le Gluon du Net

    Le Gluon du Net - 2015-02-08

    Willem: If I do a ctrl+m, my mouse is captured inside ScummVM and I can do alt+enter to enter/exit fullscreen. This answer resolve a part of this issue. But how does work ScummVM on Windows? You have to do a "Ctrl+M" before "Alt+f" to enter/exit fullscreen?

     

    Last edit: Le Gluon du Net 2015-02-08