• Found anoying bug in SDL!

    From Mercyful Fate@46:1/140 to all on Sun Jan 11 05:26:38 2015
    This is a pisser, I found an quite anoying bug in SDL and even confirmed that Netrunner is affected. It has to do with MOUSEBUTTONDOWN and MOUSEMOTION events. Mainly used when selecting text for copy/pasting.

    The gist of the issue:

    If you are in window mode (not fullscreen) and click on the desktop the
    then program loses focus. However, if you click back on the application (specifically on the Windows Title bar at the top) this automatically sends a MOUSEBUTTONDOWN event without a MOUSEBUTTONUP event, the event.button.botton then still contains the SDL_BUTTON_LEFT giving the impression the button is still being held down.

    When the mouse is moved over the canvas motion is captured right away untill you click on the screen once again for the MOUSEBUTTONUP event to fire.

    I wrote a nice report and posted it to the SDL forums and hopefully they take it seriously. Who knows.. check it out if your curious:

    http://forums.libsdl.org/viewtopic.php?t=10958

    |07M|11er|03cy|07ful Fate |08(|15hTc|08)|07

    --- Enthral BBS v.634 [2014.8.20] (Linux x86_64)
    * Origin: haunting The chapel >>--> htc.zapto.org <--<< (46:1/140)
  • From g00r00@46:1/127 to Mercyful Fate on Sun Jan 11 15:56:12 2015
    I wrote a nice report and posted it to the SDL forums and hopefully they take it seriously. Who knows.. check it out if your curious:

    Great! Yes I have noticed that too. Also the beep sound is played during
    ALT+ keys which I believe is an SDL bug in 2.0.3. I really wish it wouldn't take them a year to get things fixed and released.

    The bug cycle takes so long that I don't even bother to report things. Most
    of them are on OSX anyway so I can't tell if thats my VMware hackintosh or
    SDL!

    --- Mystic BBS v1.10 A60 (Windows)
    * Origin: Sector 7 [Mystic BBS WHQ] (46:1/127)
  • From Mercyful Fate@46:1/140 to g00r00 on Sun Jan 11 23:59:02 2015
    $ g00r00 was quoted saying . . ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Great! Yes I have noticed that too. Also the beep sound is played during ALT+ keys which I believe is an SDL bug in 2.0.3. I really wish it
    wouldn't take them a year to get things fixed and released.

    The bug cycle takes so long that I don't even bother to report things.
    Most of them are on OSX anyway so I can't tell if thats my VMware
    hackintosh or SDL!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Ya it's really bothering me as I work on my copy selection code. :) since i got you to confirm it for me, i've made a bugzilla report:

    https://bugzilla.libsdl.org/show_bug.cgi?id=2842

    Hopefully they will get it sometime. I really don't want to hack SDL and make people include or compile my version of SDL, that would suck.

    I agree the ALT+ENTER bell is a bit anoying, i have a feeling it might be a window thing as I notice normal apps seem to be doing it as well.

    Well the fun continues..

    |07M|11er|03cy|07ful Fate |08(|15hTc|08)|07

    --- Enthral BBS v.634 [2014.8.20] (Linux x86_64)
    * Origin: haunting The chapel >>--> htc.zapto.org <--<< (46:1/140)