Hi, When playing njam in fullscreen mode an X event such as for instance a pop up message from an X application causes njam to shift from fullscreen mode to windowed mode and it also deactivates keyboard input. Thanks, Morten
Am 02.07.2015 um 17:45 schrieb Morten Bo Johansen: Hello, please answer the following questions which might be necessary to solve this issue: 1. What kind of desktop environment do you use? 2. What video card and drivers do you use? It is normal that Njam takes control over your keyboard input in fullscreen mode. When I run the game under GNOME 3 and some kind of notification is triggered e.g. by receiving e-mails with Icedove, the game still remains in fullscreen mode. So the question is what application causes Njam to shift from fullscreen mode to windowed mode? Regards, Markus
Hi Markus, Markus Koschany <apo@gambaru.de> wrote: Xfce4 from unstable. Intel HD Graphics 4600. The driver is delivered by the kernel and the kernel is the latest from unstable. It could be any application that pops up a message, such as xmessage, gmessage. Xscreensaver also caused this to happen and it disabled keyboard input also. Exactly what event by xscreensaver that caused it, I do not know. Thanks, Morten
Hi, Am 06.07.2015 um 13:07 schrieb Morten Bo Johansen: I have found a longstanding Xfce bug report about notifications. https://bugzilla.xfce.org/show_bug.cgi?id=7928 If I understand correctly, currently notifications should not even be displayed, if an application or game runs in fullscreen mode. Can you reproduce the same issue with other SDL1.2 games or applications like Iceweasel, Totem etc. which run in fullscreen mode? Maybe related bug reports: https://bugs.launchpad.net/ubuntu/+source/xfce4-notifyd/+bug/1092224 https://bugzilla.xfce.org/show_bug.cgi?id=8751 The underlying issue might be more complex but I suppose it is Xfce specific. You could also try to disable the Xfce compositor / composite effects and see if this has any implications. There should be an option under Settings -> window manager tweaks. Ok, thanks. So you use the open-source kernel driver from Intel. they are not affected by your screensaver application. Normally there is some kind of option to ignore certain applications when they run in fullscreen mode. If you can reproduce the same issue with other applications or games in fullscreen mode, we could clone this bug report and reassign to Xfce4. I would also be glad about more information from someone else who is affected by this bug. Regards, Markus
Markus Koschany <apo@gambaru.de> wrote: I tried prboom-plus and burgerspace in fullscreen mode and they exhibit the same behaviour sort of: The pop up message is displayed on top of the fullscreen window which then changes to windowed mode just like njam. However for prboom the windowed mode is nearly fullscreen except for the window top bar. Burgerspace changes to a small window like njam. But burgerspace switches back to fullscreen mode again almost immediately whereas njam stays in windowed mode for a longer period. I am not sure they are relevant. I did, it does not make the problem go away. Okay, if you think it is Xfce4 specific, I would appreciate if you would do this. Thanks, Morten
Am 06.07.2015 um 20:16 schrieb Morten Bo Johansen: Ok, this indicates that it is an underlying problem either with one component of your desktop environment (notification daemon, window manager) or SDL 1.2 because more games are affected by it. I think those bug reports show that other people have experienced similar issues with notifications and Xfce, although they were using different applications or games. Did you restart X or did you log out and log in again? (Just to be sure) I will clone this bug report and reassign the cloned bug to one of the Xfce components. It is possible that the Xfce maintainers are better placed to identify the root cause. I don't think that we can fix this behavior in Njam alone. Regards, Markus
Markus Koschany <apo@gambaru.de> wrote: Fwiw, I tried to replace xfwm4 with blackbox and it makes no change, so if the problem lies with a component of xfce4, it does not seem to be with its window manager. Yes, I logged out and in - that restarts xfce4. Okay, thank you. Morten
Morten Bo Johansen <mbj@spamcop.net> wrote: xfce4 and the problem is the same. So, I don't think this problem lies with xfce4. It is probably to be found in libsdl1.2debian? Morten
Am 07.07.2015 um 11:31 schrieb Morten Bo Johansen: It might be SDL1.2 related but then I should be able to reproduce your issue with GNOME 3. You could try Neverball which is a SDL2 game, just to make sure. There are known issues with SDL1.2 and fullscreen support but they won't be fixed anymore and development has shifted to SDL2 which provides much better support for fullscreen mode now. It is more likely an issue with xfce4-notifyd. Personally I use the notification-daemon. I'm not sure if xfce4-notifyd can be easily replaced by it, but I would give it a try. Regards, Markus
Markus Koschany <apo@gambaru.de> wrote: But Markus, like I wrote, the problem exists even without any components of xfce4 running. The fix is then to make the upstream developer use SDL2 rather thans SDL1.2, I guess. Morten
Am 07.07.2015 um 11:52 schrieb Morten Bo Johansen: You acknowledged that multiple SDL1.2 games are affected by your notification issue but I can't reproduce this on my system. Hence I can't rule out that other software on your system is responsible for that. It is obviously nothing that can be exclusively fixed in Njam. Please also note that, in the case of Njam, there is no upstream development anymore. Without further information, there is nothing we can do at the moment. Since you claim that the problem exists even without xfce4 components, it also does not make sense to clone and reassign this bug report to Xfce4. Tagging as unreproducible accordingly, more feedback from other users is required. Regards, Markus
Markus Koschany <apo@gambaru.de> wrote: Did you try to reproduce with say gmessage and "at"? Just for convenience I attach my reminder script. Make it executable, run it and type in a message, finish the message with a dot, then when propmted for the time, type e.g. "now + 2 min". Start njam and after 2 minutes the message should pop up and I bet it will bring about the mode change for you too. No? Thanks, Morten