Mac OSX Screen saver security lock

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
daZalla
Posts: 1
Joined: August 20th, 2004, 10:47 am

Mac OSX Screen saver security lock

Post by daZalla »

I have enabled password protection for screen saver. When screen saver kicks in, or laptop sleeps while Wesnoth is showing a wierd thing happens:
- when I do some action the laptop wakes up
- Wesnoth is displayed full screen and I can play
- after a short delay the laptop shuts off
- (repeat previous as many times as you want)
- when exiting Wesnoth the security dialog appears

Proposed correction:
Wesnoth should obey sreen saver lock (and other security features, if appropriate).

Wish feature:
Wesnoth should obey Command-TAB and other application management keys.

Aldo daZalla
sanna
Posts: 425
Joined: June 5th, 2004, 9:59 am
Location: Halmstad, Sweden

Post by sanna »

Yeah, I've had the same trouble. I've worked around it by only playing Wesnoth in windowed mode.
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

Do you know what API can be used on MacOSX to implement this feature?

I'm not even sure if it's implementable at all....it might be an SDL-level thing. Do you know of any SDL-based games that don't have this problem?

We might have to ask the SDL developers about this...

David
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
sanna
Posts: 425
Joined: June 5th, 2004, 9:59 am
Location: Halmstad, Sweden

Post by sanna »

Dave wrote:I'm not even sure if it's implementable at all....it might be an SDL-level thing.
I'm not sure it this is any help, but in general no keystrokes seems to be passed on from the game to the os, this is probably also why the usual mac shortcuts (to quit or hide the app for ex) doesn't work.
wobbegong
Posts: 62
Joined: May 5th, 2004, 11:07 pm
Location: York (UK)
Contact:

Post by wobbegong »

No idea about the SDL side of things. But can confirm that no keystrokes seem to reach the OS... One idea might be to have a 'quit & save' single command option that can be hotkeyed - then Mac users can hotkey it to <whatever you want to call the key next to the spacebar>-Q which is a the standard Mac keyboard 'quit-application-now' combination. This might also be useful on other OSes as well.

I'd find a use for this as I sometimes find myself trying to cram a few turns in during a quiet times at work and having to save, quit scenario, then quit the game before I can do anything else is sometimes a bit of a hassle...[The wonders of running a network - another one of those things with periods of boredom and those also of frightening amounts of sudden work!] (alas windowed mode on a 12" PowerBook is not very practical to my eyes... though my new glasses might be helping ;) ).

Cheers,

Tim.
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

I would like to make Wesnoth do the platform-specific things that are expected on various platforms. I will discuss this with Sithrandel when he returns.

Thanks for everyone's input. If nothing else, I am intrigued to try using a Mac myself one day :)

David
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
quartex
Inactive Developer
Posts: 2258
Joined: December 22nd, 2003, 4:17 am
Location: Boston, MA

Post by quartex »

Perhaps the mac Wesnoth forum community can help you use a mac someday. ;-)

Right now I'm donating my money towards helping Scott Kurtz (http://www.pvp.com) buy a mac.
pip8184
Posts: 50
Joined: August 20th, 2004, 5:00 pm

Post by pip8184 »

wesnoth doesn't pass anything to the windows kernel either :). no alt-tab, no alt-f4
Invisible Philosopher
Posts: 873
Joined: July 4th, 2004, 9:14 pm
Location: My imagination
Contact:

Post by Invisible Philosopher »

Oddly, in windowed mode (Mac OS X), Wesnoth obeys Command-Tab, but not shortcuts for menu items. But it doesn't work in full-screen mode. It seems that some things it some situations are handled by the OS before any application gets to see them. But Wesnoth in fullscreen mode shuts out that stuff to a higher degree. I can press Command-Option-Escape to force quit in fullscreen mode, but Wesnoth has such control that the Force Quit window can't come up and it has to just force quit Wesnoth immediately.
Play a Silver Mage in the Wesvoid campaign.
Post Reply