Bug#909244: kobodeluxe not playable - immediately pauses and can't be resumed

2018-09-23 Thread Reiner Herrmann
The problem seems to be that on game start and every keypress
an SDL_ACTIVEEVENT with state SDL_APPINPUTFOCUS is emitted (kobo.cpp:1692).
So even when you try to unpause, this event is fired again and it pauses
again.
After changing the check to
  if(!ev.active.gain && ev.active.state != SDL_APPINPUTFOCUS)
I got it working without any noticable issues.
But I'm not sure what's causing those repeated SDL_APPINPUTFOCUS events.


signature.asc
Description: PGP signature


Bug#909244: kobodeluxe not playable - immediately pauses and can't be resumed

2018-09-20 Thread Markus Koschany
Hi,

Am 20.09.18 um 11:00 schrieb Damyan Ivanov:
> Package: kobodeluxe
> Version: 0.5.1-9
> Severity: grave
> Justification: renders package unusable
> 
> Trying to start a game in kobodeluxe results in a "PAUSED" game, with no 
> possibility to resume it. The only way out is to press Esc and exit the game.
> 
> Steps to reproduce:
>   - start kobodl
>   - press shift or space three times
> 
> I tried this under gdm3/gnome3/wayland, lightdm/xfce4/Xorg and 
> lightdb/openbox/Xorg so it seems to be independent of the graphical 
> environment.
> 
> Also tried with a new user account without success and after removing 
> apparmor 
> and rebooting.

I can reproduce this issue in Buster. It doesn't occur in Stretch though
and the package hasn't changed since then. After I changed some random
options in the Video menu, the game started to work normally again.

I guess this is somehow related to the new GCC-8 or the SDL library.
Some kind of initialization bug?

Regards,

Markus



signature.asc
Description: OpenPGP digital signature


Bug#909244: kobodeluxe not playable - immediately pauses and can't be resumed

2018-09-20 Thread Damyan Ivanov
Package: kobodeluxe
Version: 0.5.1-9
Severity: grave
Justification: renders package unusable

Trying to start a game in kobodeluxe results in a "PAUSED" game, with no 
possibility to resume it. The only way out is to press Esc and exit the game.

Steps to reproduce:
  - start kobodl
  - press shift or space three times

I tried this under gdm3/gnome3/wayland, lightdm/xfce4/Xorg and 
lightdb/openbox/Xorg so it seems to be independent of the graphical 
environment.

Also tried with a new user account without success and after removing apparmor 
and rebooting.


-- dam

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8), 
LANGUAGE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kobodeluxe depends on:
ii  kobodeluxe-data  0.5.1-9
ii  libc62.27-6
ii  libgcc1  1:8.2.0-7
ii  libsdl-image1.2  1.2.12-8
ii  libsdl1.2debian  1.2.15+dfsg2-2
ii  libstdc++6   8.2.0-7

kobodeluxe recommends no packages.

kobodeluxe suggests no packages.

-- no debconf information