Notify bug in Linux, now with sampe code!

Archives Forums/BlitzMax Bug Reports/Notify bug in Linux, now with sampe code!

Tachyon(Posted 2008) [#1]
Another bug I've been trying to track down, but as with many Linux bugs the problem only shows up in larger programs...

- Open the digesteroids sample, specifically the "dynamicgame.bmx" file
- On line 65 (right before we set the Graphics mode) add Notify("Hello World")
- compile and run

On my machine (Ubuntu 8,04, BlitzMax 1.30) the text "Hello World" shows up in the output window (or the terminal if you run the binary by itself) but I do not get an actual pop-up notification box. It should give me a pop-up box before going into the full-screen graphics mode, right?


SebHoll(Posted 2008) [#2]
No, unless you also import MaxGUI.FLTKMaxGUI then it won't give you a popup box.

I remember discussing this in another thread, but it comes down to the fact that XServer doesn't have a standard API to present GUI message boxes as these sorts of things should be done by a GUI framework. The only GUI framework that is officially supported is FLTKMaxGUI, but you will only have this if you own MaxGUI.


Tachyon(Posted 2008) [#3]
Thanks for the info!