[uae] Re: Bug in e-uae-osx_sdl-20050619

  • From: Francis Klein <frklein@xxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Tue, 21 Jun 2005 22:45:12 +0200


Le 21 juin 05 à 11:00, Steven Saunders a écrit :

When euae is on windowed mode, when i hit the shortcut option+m,
the window minimize in the dock.

I have a French keyboard (azerty) and i use the "raw key mapping"
option).


I can confirm this change of behaviour here. I would suspect that

this

is due to Steve's improvements towards Cocoa-izing E-UAE. Steve?


Sounds like it. The new version of SDLMain passes certain keystrokes through to the cocoa event handler so that it can handle menu shortcuts, such as the standard cmd-q (quit app), cmd-m (minimise), cmd-h (hide) etc. This makes the app a much nicer OS X citizen. I'm not sure why option-m is causing the minimisation though, it should only pass key events through for cmd keys..

I tested it just now and it doesn't happen for me, even when I have
raw key mapping turned on.. Does it only happen with non-US
keyboards? I am running the latest CVS, using the build I just
uploaded (http://uaedev.sourceforge.net/EUAE-Test3.dmg) if that makes
a difference?

Does cmd-m minimise the app properly for you Francis?


I'm very sorry Steve, i'm not on Mac for a long time and i always confused
the key "command" and "options". Your shortcuts work perfectly with the "command" key
, but how to switch between the Amiga screens now ? it seem we have a conflict here.



Good news, the rtg emulation don't crash anymore ;-))

I have found a  bug :
Look at the output in the console when i launch euae.app
(i have a default.uaerc in my home) :

E-UAE 0.8.28-CVS
Build date: Jun 21 2005 17:40:39
SDLGFX: Initialized.
SDLGFX: Using SDL version 1.2.8.
SDLGFX: Display is 32 bits deep.
SDLGFX: Found screenmode: 1280x1024.
SDLGFX: Found screenmode: 1280x960.
SDLGFX: Found screenmode: 1152x870.
SDLGFX: Found screenmode: 1280x768.
SDLGFX: Found screenmode: 1024x768.
SDLGFX: Found screenmode: 832x624.
SDLGFX: Found screenmode: 800x600.
SDLGFX: Found screenmode: 640x480.
Found 0 joystick(s)
Found quartz raw keyboard mapping
Using raw keymap
Opening cfgfile '/Users/frklein/default.uaerc'...okay.
unknown config entry: 'comp_fpu=false'
Timebase frequency: 41.656341 MHz
Found quartz raw keyboard mapping
Using raw keymap

My default.uaerc is loaded.
Now, i choose an another config in the requester, and look the
output :

Opening cfgfile '/Volumes/progs/WinUAE/Configurations/ Francis_A4000_3.9.uaerc'...okay.
Failed to initialize the GUI
SDLGFX: Added P96 mode: 640x480x32
SDLGFX: Added P96 mode: 640x480x8
SDLGFX: Added P96 mode: 800x600x32
SDLGFX: Added P96 mode: 800x600x8
SDLGFX: Added P96 mode: 1024x768x32
SDLGFX: Added P96 mode: 1024x768x8
SDLGFX: Added P96 mode: 1280x1024x32
SDLGFX: Added P96 mode: 1280x1024x8
SDLGFX: Added P96 mode: 1280x960x32
SDLGFX: Added P96 mode: 1280x960x8
SDLGFX: Added P96 mode: 1152x870x32
SDLGFX: Added P96 mode: 1152x870x8
SDLGFX: Added P96 mode: 1280x768x32
SDLGFX: Added P96 mode: 1280x768x8
SDLGFX: Added P96 mode: 832x624x32
SDLGFX: Added P96 mode: 832x624x8
Enabling argb32 byte-swapping for P96.


The other configfile is loaded too. Now, it's a big mess on my workbench
because the two configurations are mixed (the hardiles of the configA +
the hardfiles of the configB.

Bye.






Other related posts: