Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Bug in mouse events depending on desktop resolution / full screen mode  (Read 24051 times)

0 Members and 1 Guest are viewing this topic.

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Wiki editor
  • Frequent poster
  • ****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios

I think that there is a bug in the mouse events depending of the resolution of the game.

When the desktop has a resolution greater than the game and the player uses the options "Use desktop resolution" or "Maintain aspect ratio", the events "LeftRelease" and "LeftClick" doesn't is detect. This bug only occurs in a full screen mode, in windowed mode the game runs correctly.

I have detected this bug when I've adapt the configuration window of the "Fred" demo to my own game and Darky ask me about the slide bars control. Jose has been tested the bug and he can say more details about the testings.

I know that Jose has tried to disable the option "Use desktop resolution", but this not solve the problem becouse the option "Maintain aspect ratios can't be disabled". Also, Jose tried to propagate the events, and use some methods like LockMouseRect and others to create a workaround to solve this, but he doesn't can.

The Fred demo source is here:  http://www.algarinejoven.com/wintermute/ejemplos/FredSources.exe , in this project you can test the bug:

- Your resolution must be greater than 800 x 600 (Game resolution)
- Run the project.
- Choose Use desktop resolution or Maintain aspect ratio (Used desktop resolution can be marked to yes in the Project manager).
- Don't choose "run in window"
- When the game is running press ESC key
- Choose "Opciones" in the option menu.
- Try to change any sound volume
- Uack! The game is hanged


Logged
Regards,

    Fernando

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Wiki editor
  • Frequent poster
  • ****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #1 on: August 31, 2009, 03:22:00 PM »

The temporary solution is that the slide control can't be interactive, we use two buttons (+ and -) to modify the volume, and the button of the slide will be changed for a indicator.
Logged
Regards,

    Fernando

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #2 on: August 31, 2009, 03:54:18 PM »

I'm aware of this, thanks.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #3 on: September 01, 2009, 11:08:27 AM »

Hi Mnemonic,

are you planning to release a patch to solve this error?

Thanks a lot.
Logged

Weraustinne

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • View Profile
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #4 on: September 01, 2009, 12:03:14 PM »

Hi Mnemonic,

are you planning to release a patch to solve this error?

Thanks a lot.

   
Mnemonic told me on IRC, "I am working on the new version", so just wait and have patience :)
 
Logged

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #5 on: September 02, 2009, 09:26:03 AM »

Hi Mnemonic,

are you planning to release a patch to solve this error?

Thanks a lot.

   
Mnemonic told me on IRC, "I am working on the new version", so just wait and have patience :)
 

Oh! I have patience but we can't just wait till new version release (overall if using the new version implies deep changes in the current code we have). Te reason for asking about a patch is in order to decide if we can mantain the actual interface or if we'll have to redesign it.  ;)

I'm a great admirer of Mnemonic's work and I don't want to appear impatience or that I want put preassure on him. I only ask for some info in order to make our own decisions about the progress of our game...
Logged

Weraustinne

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • View Profile
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #6 on: September 02, 2009, 01:01:37 PM »

Hi Mnemonic,

are you planning to release a patch to solve this error?

Thanks a lot.



   
Mnemonic told me on IRC, "I am working on the new version", so just wait and have patience :)
 

Oh! I have patience but we can't just wait till new version release (overall if using the new version implies deep changes in the current code we have). Te reason for asking about a patch is in order to decide if we can mantain the actual interface or if we'll have to redesign it.  ;)

I'm a great admirer of Mnemonic's work and I don't want to appear impatience or that I want put preassure on him. I only ask for some info in order to make our own decisions about the progress of our game...

I also need to further development of my game a bugfix relase of WME 1.xx
Therefore I write to Mnemonic on IRC and he said, I am working on WME 2 and the new version of WME 1.x,
New version of WME 1.X should be fully compatible with version 1.8.10, it will only contain bug fixes (and maybe something new), but not rewritten the entire code.
(The entire code will be overwritten in WME 2 (WME 2 is not compatible with 1.x), but new WME 1.x version is fully compatible with 1.8.10, so again just wait.:)

I said to Mnemonic, Please discontinue work on WME2 and please now work  on the last (bugfix) version of WME 1, and after that continue works on WME 2, but I think, Mnemonic is now angry at me:)

WME2 is still at an early stage of development and will take a long time and lot's of hard work to go to the final stage.
Another problem is - WME2 is not backward compatible with WME1, so I understand you and I want too a new version from WME 1.X "series" (which corrected all serious bugs), but...    decision is at Mnemonic. 
Logged

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #7 on: September 02, 2009, 01:26:58 PM »

well, source code has been released to public, you can fix the problems easily yourself, no?  >:D
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Weraustinne

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 24
    • View Profile
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #8 on: September 02, 2009, 02:18:23 PM »

well, source code has been released to public, you can fix the problems easily yourself, no?  >:D


Yeah, many thanks for your help ;D
Are you want personal aircraft?
Buy it!  ;D
« Last Edit: September 02, 2009, 04:27:15 PM by Weraustinne »
Logged

Spellbreaker

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Gender: Male
  • Posts: 376
    • View Profile
    • Apeiron Studios
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #9 on: September 02, 2009, 05:09:08 PM »

Please be aware that Mnem is doing this all for nearly nothing, zero, zip, nada, nix. So right now there are no serious bugs in WME which can't be worked around, so I personally simply would like that he drops 1.8 after the next release and focus on wme 2 for a while.

greets,

spellbreaker
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #10 on: September 02, 2009, 05:13:33 PM »

I fixed the bug and also a similar bug in Game.LockMouseRect().
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Wiki editor
  • Frequent poster
  • ****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #11 on: September 02, 2009, 07:51:01 PM »

Peace and Love  ::thumbup  ;) ;)   ;D

Thanks Mnemonic
Logged
Regards,

    Fernando

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #12 on: September 03, 2009, 08:36:07 AM »

Great work Mnemonic!!! Thanks a lot!!!
Logged

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: Bug in mouse events depending on desktop resolution / full screen mode
« Reply #13 on: September 05, 2009, 10:08:59 AM »

I think that there is a bug in the mouse events depending of the resolution of the game.

When the desktop has a resolution greater than the game and the player uses the options "Use desktop resolution" or "Maintain aspect ratio", the events "LeftRelease" and "LeftClick" doesn't is detect. This bug only occurs in a full screen mode, in windowed mode the game runs correctly.

I have detected this bug when I've adapt the configuration window of the "Fred" demo to my own game and Darky ask me about the slide bars control. Jose has been tested the bug and he can say more details about the testings.

I know that Jose has tried to disable the option "Use desktop resolution", but this not solve the problem becouse the option "Maintain aspect ratios can't be disabled". Also, Jose tried to propagate the events, and use some methods like LockMouseRect and others to create a workaround to solve this, but he doesn't can.

The Fred demo source is here:  http://www.algarinejoven.com/wintermute/ejemplos/FredSources.exe , in this project you can test the bug:

- Your resolution must be greater than 800 x 600 (Game resolution)
- Run the project.
- Choose Use desktop resolution or Maintain aspect ratio (Used desktop resolution can be marked to yes in the Project manager).
- Don't choose "run in window"
- When the game is running press ESC key
- Choose "Opciones" in the option menu.
- Try to change any sound volume
- Uack! The game is hanged


It seems to work perfect with new 1.8.11 version. Great work as always Mnemonic! Thanks a lot for your effort and support!
Logged
 

Page created in 0.041 seconds with 21 queries.