Spaces and Application Switcher

My current workflow includes heavy usage of Expose, Spaces, and iOS's Application Switcher. I've installed a number of "helpful" apps in the last couple of days, and the behavior of the application switcher has strangely (and very frustratingly) changed. Now, whenever I command-tab to switch to another application, the application becomes active (evidenced by the application toolbar showing at the top of the screen), but the computer will no longer switch to the Space that has the active window for that application. The same behavior is exhibited when I click on an application icon on the dock - one click will make the application active, but a second click is required to actually switch to the Space with the active application window.
I suspected that my recent installation of Keyboard Maestro was the culprit (since it apparently uses its own "Program Switcher" tool that has similar functionality), but I've uninstalled KM and the same problems still persist. I just need to figure out how to restore the original functionality of the application switcher, where it plays nicely with Spaces.
Thanks!

Turns out the solution is a simple little checkbox in the Expose & Spaces preference pane (under system preferences). Under the Spaces tab, there is a little checkbox at the very bottom that says "When switching to an application, switch to a space with open windows for the application." Silly that that little inconspicuous checkbox caused me so much grief over the last month... But there it is.
Do I get credit for answering my own question?

Similar Messages

  • Application Switching not working in Spaces

    I'm having some trouble with Spaces and Application switching. Randomly the feature that switches the space to the right Application when you click on the dock stops working. The menu bar will change to the right application but the window and space will stay the same. Clicking the Window menu and selecting the window you want to go to doesn't work either. This problem also persists if you are in another Application like Safari and another application is behind it. You click the application in the dock and the menu bar changes, but Safari (or whatever program you were in before) stays in the front. The only way to switch is to manually click the spaces button on the dock and select the window you want which can get really annoying. A computer restart fixes the problem but I don't like having to restart my computer every other day or so.

    Well, my mouse issue turned out to be a Logitech Control Center/ Leopard issue. It was resolved with an update from Logitech but Spaces is still buggin' hard. When I try to switch spaces using Spaces this is what happens:
    I'm in Mail (space 3) and I wish to switch to Safari (space 1)
    I open spaces, click on space one and things become slow-motion the menu bar switches to Safari but the window switches to iTunes (space 2)
    This stops with a restart but eventually it starts happening again. I switch fine if I click the application icon in the dock but not if I use Spaces.
    Irrelevant of this bug but another recent freakout occurred when iTunes stopped dragging and dropping so I restarted. I was greeted with a hang on the grey screen with the black wheel for several hours. I eventually got it to power down again. I then pulled the power cord from the back, reconnected it and it restarted. All was fine until the return of the SpaceBug a few minutes ago.

  • Finder, Doc, Application switcher all crash in 10.5.2

    A few weeks ago I noticed that my lower ram slot in my Powerbook G4 15" 1.3G stopped reading the ram. I did a quick search and found that there was a recall for a similar problem in other powerbooks. I thought I could get away with buying a 1G chip and installing it in the upper slot. This worked for about a day.
    I also recently downloaded the most recent security updates and printer updates and whatever else...
    I'm not sure any of this is related.
    Here's my problem now... My computer starts up fine, although it looks like the blue screen is up at startup for a few more seconds than it used to be. I then have a window of 1-5 minutes to work. During this window of time I can open applications (mostly Word, Excel, Firefox), work in them, switch between them, etc...
    Every time after 1-5 minutes I stop being able to switch between applications and the menus in the menu bar stop working (the headers are visible, but nothing happens when they are clicked). When I push command-tab to switch I get an alert noise and application switcher does not come up. If I click on an open window for a different application or even the finder, it does not switch. When I click on other applications in the doc they do not open.
    If I quit the one application that is allowing me to work in it, my menu bar disappears, and my computer is crashed. The ONLY way to get out of this, once it happens, is to hold down the power key and do a hard reboot.
    Any help would be appreciated. I am completely stumped and want to hold onto this computer for as long as I can.

    I am suspicious that your hard drive is bad. Can you boot from the OSX DVD and run some of those apps normally? Tried the Apple hardware Test (AHD) from the OS DVD?
    If you had a clone of your internal drive on a Firewire external drive, you could boot from that to test. If you don't, I recommend you do as a backup of all your data as well as a trouble shooting tool.

  • Finder, Doc, Application switcher all crash

    A few weeks ago I noticed that my lower ram slot in my Powerbook G4 15" 1.3G stopped reading the ram. I did a quick search and found that there was a recall for a similar problem in other powerbooks. I thought I could get away with buying a 1G chip and installing it in the upper slot. This worked for about a day.
    I also recently downloaded the most recent security updates and printer updates and whatever else...
    I'm not sure any of this is related.
    Here's my problem now... My computer starts up fine, although it looks like the blue screen is up at startup for a few more seconds than it used to be. I then have a window of 1-5 minutes to work. During this window of time I can open applications (mostly Word, Excel, Firefox), work in them, switch between them, etc...
    Every time after 1-5 minutes I stop being able to switch between applications and the menus in the menu bar stop working (the headers are visible, but nothing happens when they are clicked). When I push command-tab to switch I get an alert noise and application switcher does not come up. If I click on an open window for a different application or even the finder, it does not switch. When I click on other applications in the doc they do not open.
    If I quit the one application that is allowing me to work in it, my menu bar disappears, and my computer is crashed. The ONLY way to get out of this, once it happens, is to hold down the power key and do a hard reboot.
    Any help would be appreciated. I am completely stumped and want to hold onto this computer for as long as I can.

    You sure have an interesting cluster of problems! It sounds like the laptop can boot up and get started, then at some point it runs into trouble with available ram. The bad ram slot might suggest a serious problem with the logic board. Your ram chip could also be bad. Do you have an original ram chip to swap out and test? Do you have the hard ware test CD that came with the machine?

  • I am a new mac user and I switch to mac due to the graphics that it brings. I do website in pc and I heard iweb is the best.NOW i heard that iweb will be discontinue. so what is the best application there for website using MAC OSX lion?

    I am a new mac user and I switch to mac due to the graphics that it brings. I do website in pc and I heard iweb is the best.NOW i heard that iweb will be discontinue. so what is the best application there for website using MAC OSX lion?

    It is now confirmed  that iWeb, and iDVD, has been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. However, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    All of these features can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    It now appears that the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on. However, the iLife 11 boxed version that is still available at the online Apple Store (Store button at the top of the page) and those still on the shelves of retailers will include iWeb and iDVD. Those two apps were listed in small, gray text on the iLife 11 box that I bought.
    Personally, if I didn't already have a copy I would purchase one to have it for reinstallation purposes if ever needed.
    This might be of some interest to you at this time: Life After MobileMe.
    OT

  • Mail and contacts not showing in application switcher

    Since upgrading to Mountain Lion, mail and contacts are not showing in the application switcher. 
    So,  I have to re-open mail and contacts if I switch screens - it is absolutely infuriating because I constantly switch screens when I work.
    Does anyone else have the same issue?    My mail and contacts are on exchange server,  which may have something to do with it?   

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Quit and relaunch Mail, and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • Lion 10.7 - application switches spaces when opened from finder

    I am using Lion 10.7 , I assigned dreamweaver to desktop1 by choose Options > This Desktop when in desktop1. Then relaunch DW and it correctly opened in desktop 1. Now if i open a file using in finder (which is itself assigned to desktop3) on a file that is default to DW then Dreamweaver moves itself to Desktop3.
    I thought the point was that we could assign different applications to different spaces and they would stay that way. Are we saying that if a file is opened from finder its default application will be moved and set up of spaces does not apply ?.

    I just tried this (with iBooks Author).  It worked as you would like it to if the app is not running when I double-click the file in Finder. I assigned the app to desktop 4. I quit the app. I went to desktop 1 and double-clicked on a document in the Finder (which, for me, is not assigned to any desktop). I was shuttled off to desktop 4 where the app launched and opened the document.  Good.
    But, as you say, if the app is already running and I double-click the document, it opens in whichever desktop I happen to be in.
    Sounds like a bug, or at least an undesirable feature.
    Apple - Mac OS X - Feedback
    It would be interesting to figure out if this is a new "feature" of Mission Control, or if this same inconsistency was present in Snow Leopard (where Spaces could also be pretty quirky).
    charlie

  • I downloaded an update from creative suite 5.5. to 6.0 and then switched computers for a few months. looks like all of the applications have not disappeared. maybe a trial was uploaded instead of the actual updates? anyway, i just want to get the applicat

    i downloaded an update from creative suite 5.5. to 6.0 and then switched computers for a few months. now I am back using the original computer and it looks like all of those Adobe applications (both 5.5 and 6.0) have disappeared. Maybe a "trial" was uploaded instead of the actual updates? Anyway, i just want to get the applications back onto my computer. i tried to enter the serial numbers on my original packaging but systems side error message from Adobe says they were already "redeemed" (which makes sense bc I already downloaded the updates. Apparently there is no phone customer service for Creative Suite anymore. ARRGGG. Any and all suggestions welcome!
    -Michele

    there is no update from 5.5. to 6.0.
    you could have upgraded from 5.5 to 6.0, but you would know that because you paid money.
    assuming you paid no money for a 6.0 upgrade, you still have your 5.5 license.  uninstall clean and reinstall 5.5 per http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • My MacPro says the startup disk is too full.  I have 4 internal hard drives that have 2T each so there is plenty of space, but all start up programs, libraries, iTunes and application folder are on the '1st' hard drive. Can I move any to 2nd drive?

    My MacPro says the startup disk is too full.  I have 4 internal hard drives that have 2T each so there is plenty of space, but all start up programs, libraries, iTunes and application folder are on the '1st' hard drive. Can I move any to 2nd drive?

    Your system will likely fit just fine on a small fast 250GB SSD
    What you have is lots of stuff that should not be on the boot drive, data and graphics or media files and libraries that should be moved to another drive.
    If you are getting a message like this, STOP, off load files, make room, and make sure to have 15% free or more.
    Do not try to move anything from system and its library and sub folders. Move your home user account and just leave the essential home library but move all the rest.
    A full drive can have trouble finding free space segments and writing out updates to files and to the directory. And loss of directory means loss of where files are located and their segments.

  • How do I clear space on Macbook air in the following folders? Mail, Containers and Application support under libraries?

    How do I clear space on Macbook air in the following folders? Mail, Containers and Application support under libraries?

    Why? If you need space on the SSD:
    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Get an external hard drive on which to store some of your files after which you can
          erase the data from your internal drive to free up space.
      5. Also see Freeing space on your Mac OS X startup disk.
      6. See Where did my Disk Space go?.
      7. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • Spaces and Microsoft Applications

    Whenever I go into the view mode in spaces (where I can see all my spaces) and attempt to drag and drop Microsoft Word documents from one space to another, they freeze up and don't unfreeze... ever. I can reduce it by double clicking on the headbar, but then I am forced to close the document by clicking on its icon in the dock and selecting close. Any ideas on how to fix this annoying problem would be greatly appreciated. Thanks.

    Subsequent updates must have resolved this issue.

  • How do I disable Mission Control in favor of old Spaces and Exposé?

    Spaces was my favorite feature from previous versions and now they upgraded (killed) it. I loved having a Space for each kind of activity, like browsing or email or system-related tasks, and so on. Now it’s all confusing and I still don’t know how to assign apps to a space. I don’t like either that you have to go over all of them to get to a specific one and there’s no easy way of recalling where -recently unassigned opened- your app was, you have to go thru Mission Control. It’s irritating.
    I know you can go directly to a Space by using ^+the number or the space, but I liked way more the grid in which they were set up before.
    The window management system OS X is one of the major things I choose this OS over all the other but now it's getting screwed up. It seems like an OS for iOS to Mac OS switchers. Is there some file or setting I have to edit like in Terminal? An app to buy? Anything.
    I really appreciate your help.
    UPDATE: I just learned how to assign applications to a space, from the application's dock menu, yet the fact that spaces are not fixed and you can easily close them by just clicking the X that on it, keeps me a little too uneasy.

    Some people hate it, some like it. 
    http://arstechnica.com/apple/reviews/2011/07/mac-os-x-10-7.ars/6#window-manageme nt
    At least now we can have up to 16 spaces.
    Work in multiple spaces
    When projects pile up and your desktop becomes cluttered, you can use Spaces to organize your windows into groups. For example, create a space for work, another for games, and a third for chatting and checking email messages.
    Add one or more spaces
    Enter Mission Control using one of these methods:
    From a trackpad, swipe up using three or four fingers.
    From the keyboard, press the Mission Control key. If your keyboard doesn’t have a Mission Control key, press F9 (Fn-F9 on portable keyboards).
    Move the pointer toward the upper-right corner of your screen.
    To add a space, click the Add button (+). You can add up to 16 spaces.
    To leave Mission Control, swipe again, or press the key you used to enter Mission Control.
    HideMove from one space to another
    Do any of these:
    Swipe left or right with three fingers to scroll through your spaces.
    Enter Mission Control, and then click the space you want to use.
    Press the Control key and the number key for the space you want. For example, press Control-3 to go to Desktop 3.
    Press the Control key and an arrow key to scroll through the spaces.
    HideMove a window from one space to another
    Do any of these:
    Drag the window to the edge of your screen and pause; after a moment, the window is switched to the next space.
    Move the pointer over the window, and hold down the mouse button while pressing the Control key and an arrow or number key.
    From the space that has the window you want to move, enter Mission Control. Then drag the window itself (not the thumbnail image) up to the space you want to use.
    HideDecide which spaces to use with particular applications
    If you work in multiple spaces, you can assign applications to particular spaces.
    Press and hold an application’s icon in the Dock. You may have to first open the application from Launchpad to see its icon in the Dock.
    From the shortcut menu that appears over the icon, choose one of these:
    To have the application open only in the current space, choose Options > This Desktop. From now on the application will open in the current space; if you are working in a different space, the application’s space scrolls into view.
    To have the application open in every space, choose Options > All Desktops. From now on, when the application is open it will appear in every space.
    To have the application open in the whichever space you are currently using, choose Options > None.
    In Mission Control preferences, you can specify that when switching to an application, your desktop should scroll to a space with open windows for that application.
    Delete a space
    Enter Mission Control using one of these methods:
    From a trackpad, swipe up using three or four fingers.
    From the keyboard, press the Mission Control key. If your keyboard doesn’t have a Mission Control key, press F9 (Fn-F9 on portable keyboards).
    Move the pointer over the the space you want to delete. After a moment a delete button (x) appears on the space.
    Click the delete button (x) to remove the space. If the space contains windows, the windows are moved to another space.

  • Pls Help - ClassNotFoundException error - custom activity space and control

    I am encoutnering the following error when I deploy and run my custom
    Login Activity Space and Control to the Java 5.0.2 Portal. I have created a custom Java project and built successfully(I think) using Ant and have modified the customactivityspaces.xml file appropriately. I have checked that the custom jar file is in the portal.war and PORTAL_HOME\lib\java\ folder. Any help with this would be extremely appreciated.
    Please let me know if I can provide more info.
    Thanks.
    46323     07-20     14:16:24     Fatal     UI Infrastructure     6000     5880 (main)     com.plumtree.uiinfrastructure.activityspace.ASManager.InternalLoadClasses(ASManager.java:497)     Fatal Exception loading lib file: stapleskiosklogin_java.lang.ClassNotFoundException: com.my.kiosk.login.KioskLoginControl_     at java.net.URLClassLoader.findClass(URLClassLoader.java:241)_     at java.lang.ClassLoader.loadClass(ClassLoader.java:516)_     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:460)_     at java.lang.ClassLoader.loadClass(ClassLoader.java:448)_     at java.lang.Class.forName1(Native Method)_     at java.lang.Class.forName(Class.java:142)_     at com.plumtree.openfoundation.util.XPDynamicDiscovery.GetClass(XPDynamicDiscovery.java:344)_     at com.plumtree.openfoundation.util.XPDynamicDiscovery.GetClassesForWar(XPDynamicDiscovery.java:266)_     at com.plumtree.openfoundation.util.XPDynamicDiscovery.GetInstancesFromLib(XPDynamicDiscovery.java:121)_     at com.plumtree.uiinfrastructure.activityspace.ASManager.InternalLoadClasses(ASManager.java:490)_     at com.plumtree.uiinfrastructure.activityspace.ASManager.LoadCustomClasses(ASManager.java:437)_     at com.plumtree.uiinfrastructure.application.AppWarmUp.Init(AppWarmUp.java:442)_     at com.plumtree.portal50.application.AppWarmUpServlet.init(AppWarmUpServlet.java:109)_     at javax.servlet.GenericServlet.init(GenericServlet.java:256)_     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)_     at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)_     at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3421)_     at org.apache.catalina.core.StandardContext.start(StandardContext.java:3609)_     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)_     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)_     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)_     at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:700)_     at java.lang.reflect.Method.invoke(Native Method)_     at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:252)_     at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)_     at org.apache.commons.digester.Rule.end(Rule.java:276)_     at org.apache.commons.digester.Digester.endElement(Digester.java:1058)_     at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)_     at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)_     at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1809)_     at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:949)_     at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)_     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)_     at org.apache.commons.digester.Digester.parse(Digester.java:1567)_     at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:385)_     at org.apache.catalina.core.StandardHost.install(StandardHost.java:803)_     at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:442)_     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:399)_     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)_     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)_     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)_     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)_     at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)_     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)_     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)_     at org.apache.catalina.core.StandardService.start(StandardService.java:497)_     at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)_     at org.apache.catalina.startup.Catalina.start(Catalina.java:512)_     at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)_     at org.apache.catalina.startup.Catalina.process(Catalina.java:180)_     at java.lang.reflect.Method.invoke(Native Method)_     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

    Thanks a lot for your help Julie! That worked.
    I have a followup question. Now, I get the Login view even though I didn't include a login view in my custom activity space.
    I am trying to develop the custom login activity space and don't want to display the default loginview and want to auto login. So I have created a custom activity space and a custom control. I am not sure if I have everything coded correctly yet. How do I make sure I don't display the login view if I go to my custom space directly?
    What's the best way to do this? I am still trying to go through the PT code and understand it. Any pointers would be very helpful.
    Additionally, for the custom activity space: do I need to extend PlumtreeAS or AActivitySpace ?
    I have my code listed below:
    package com.my.kiosk.login;
    import com.plumtree.portalpages.common.uiparts.*;
    import com.plumtree.uiinfrastructure.activityspace.*;
    import com.plumtree.xpshared.htmlelements.*;
    * Activity Space for Kiosk login.
    public class KioskLoginSpace extends AActivitySpace // AActivitySpace or PlumtreeAS ??
         public static final String STR_MVC_CLASS_NAME = "KioskLogin";
         * @see com.plumtree.uiinfrastructure.activityspace.IManagedObject#Create()
         public Object Create()
              return new KioskLoginSpace();
         * @return
         public String GetName()
              return STR_MVC_CLASS_NAME;
         * @see com.plumtree.xpshared.activityspace.AActivitySpace#Init()
         public void Init()
              super.Init();
              //RegisterPage(new LoginDP());
              //RegisterModel(LoginModel.STR_MVC_CLASS_NAME);
              //IModel myModel = GetModel(LoginModel.STR_MVC_CLASS_NAME);
              //RegisterView(LoginView.STR_MVC_CLASS_NAME, myModel);
              // Register the control in this space
              RegisterControl(KioskLoginControl.STR_MVC_CLASS_NAME, null);
         * Determine whether or not the current user has the security
         * privileges necessary to view the requested page.
         * @see com.plumtree.uiinfrastructure.activityspace.AActivitySpace#CheckBasicAccess(String, String, boolean)
         public boolean CheckBasicAccess(String strPage, String strControl,
                                                 boolean _bSameSpace)
              // All users are allowed to access this space
              return true;
         /* (non-Javadoc)
         * @see com.plumtree.uiinfrastructure.activityspace.AActivitySpace#GetStyleSheetLinks()
         public HTMLElementCollection GetStyleSheetLinks() {
              // TODO Auto-generated method stub
              return null;
    package com.my.kiosk.login;
    import com.plumtree.debug.*;
    import com.plumtree.openfoundation.util.*;
    import com.plumtree.openfoundation.web.*;
    import com.plumtree.portalpages.browsing.myportal.*;
    import com.plumtree.portalpages.browsing.myportal.mypages.*;
    import com.plumtree.portalpages.common.login.*;
    import com.plumtree.portaluiinfrastructure.login.*;
    import com.plumtree.server.*;
    import com.plumtree.uiinfrastructure.activityspace.*;
    import com.plumtree.uiinfrastructure.application.varpacks.*;
    import com.plumtree.uiinfrastructure.login.*;
    //import com.plumtree.portalpages.browsing.login.*;
    * This class handles the control logic for Store Kiosk login.
    public class KioskLoginControl implements ILoginControl, IHTTPControl
         /** object name */
         public static final String STR_MVC_CLASS_NAME = "KioskLogin";
         /** Query String parameters */
    //     public static final String PARAM_CREATE_ACCT = "createacct";
         /** MVC Objects */
         private AActivitySpace m_asOwner;
    //     private LoginModel m_asModel;
         /** these need to be nulled out after execution. */
         private IWebData m_WebData = null;
         private IXPRequest m_xpRequest = null;
         private IPTSession m_userSession = null;
         * @see IHTTPControl
         * @param r
         * @param pageData
         public void SetHTTPItems(IXPRequest r, IWebData pageData)
    //          In a given request, this method is called first.
              m_xpRequest = r;
              m_WebData = pageData;
         * @see com.plumtree.xpshared.activityspace.ILoginControl#SetRedirectForUseAfterLogin(Redirect)
         public void SetRedirectForUseAfterLogin(Redirect r)
              // In a given request, this method is called second.
              return;
         * @see com.plumtree.xpshared.activityspace.IControl#execute()
         public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
              // In a given request, this method is called third.
              if (PTDebug.IsDebugTracingEnabled(Component.Portal_Browsing))
                   PTDebug.Trace(Component.Portal_Browsing, TraceType.Error,
                        "KioskLoginControl CheckActionSecurityAndExecute() creating redirect to the Kiosk subportal");
              // In a given request, this method is called third.
              if (PTDebug.IsInfoTracingEnabled(Component.Portal_UI_Infrastructure))
                   PTDebug.Trace(Component.Portal_UI_Infrastructure, TraceType.Error,
                                  "GuestSubportalLoginControl Execute() creating redirect to MarkAsGuestControl.");
              // Redirect to the MarkAsGuestControl to mark this session as a guest user.
              // redirect to myPage
              Redirect myRedirect = new Redirect();
              myRedirect.SetLinkCreateNewSpace(MyPageAS.STR_MVC_CLASS_NAME,
                   m_asOwner);
              myRedirect.SetControl(SetPageControl.STR_MVC_CLASS_NAME);
              //int iId = mySession.GetSessionInfo().GetCurrentUserID();
              IPTSession mySession = (IPTSession)(m_asOwner.GetUserSession());
              int iId = mySession.GetSessionInfo().GetCurrentUserID();
              iId = -1 * iId;
              String sId = XPConvert.ToString(iId);
              myRedirect.AddControlArgument(SetPageControl.STR_PAGE_ID, sId);
              // Make this use a true 302 redirect
              myRedirect.SetIsHTTPRedirect(true);
              return myRedirect;
              //return null;
         * This method is used to determine if the guest user should
         * be redirected to their default page or to the login page
         * if a space is not specified.
         * @param RequestData
         * @return boolean true implies the guest should redirect to
         * login if no space is specified. Login is default.
    /*     private boolean IsRedirectOnLogoutEnabled()
              ConfigVarPack vpConfig = (ConfigVarPack) m_asOwner.GetApplication().GetVarPackManager().GetVariablePackage
                   (ConfigVarPack.VARPACK_ID);
              String strGuestRedirect = vpConfig.GetConfigValueAsString(
                   ConfigConstants.AUTHENTICATION_SECTION, "RedirectOnLogout",
                   ConfigConstants.VALUE_ATTRIBUTE);
              // default value
              boolean bResult = true;
              if ((strGuestRedirect != null) && (!"".equals(strGuestRedirect)))
                   if (XPConvert.ToInteger(strGuestRedirect) == 0)
                        bResult = false;
              return bResult;
         // IMVCObject
         * @see com.plumtree.uiinfrastructure.activityspace.IManagedObject#Create()
         public Object Create()
              return new KioskLoginControl();
         // Methods from ILoginControl
         * @see com.plumtree.xpshared.activityspace.ILoginControl#DoGetSession()
         public boolean DoGetSession()
              // The interpreter should ask us for the session.
              // In a given request, this method is called fourth.
              // Attempt to login as the custom guest user here, rather than in GetSession()
              // so that if we are unable to connect, we can abort the login attempt.
              // Otherwise, we have no way of knowing in the PEI whether or not login
              // has previously failed, and we can get in an infinite loop.
              try
                   //Add code to derive Kisok user name after Store lookup
                   String strKioskUserName = "kiosk0000";
                   String strKioskUserPassword = "";
                   // Look at the request URL to determine what URL this user
                   // is trying to access.
                   // Switch strCustomGuestName to your first custom guest here
    /*               if (XPStringUtility.IndexOf(m_asOwner.GetCurrentRequestURL(),
                                                           "firstsubportal") != -1)
                   // Switch strCustomGuestName to your second custom guest here
                   else if (XPStringUtility.IndexOf(m_asOwner.GetCurrentRequestURL(),
                                                                "secondsubportal") != -1)
                   // Connect as the custom guest user
                   m_userSession = PortalObjectsFactory.CreateSession();
                   m_userSession.Connect(strKioskUserName, strKioskUserPassword,
                                            null);
              catch (Exception e)
                   if (PTDebug.IsErrorTracingEnabled(Component.Portal_UI_Infrastructure))
                        PTDebug.Trace(Component.Portal_UI_Infrastructure,
                                       TraceType.Error,
                                       "Unable to connect to Kiosk user.", e);
                   m_userSession = null;
                   // Since we are unable to connect to our custom guest user, we do not
                   // want to login right now.
                   return false;
              return true;
         * @see com.plumtree.xpshared.activityspace.IControl#GetName()
         public String GetName()
              return STR_MVC_CLASS_NAME;
         * @see com.plumtree.xpshared.activityspace.ILoginControl#GetSession()
         public Object GetSession()
              // In a given request, this method is called fifth.
              if (null != m_userSession)
                   LoginResult rReturn = null;
                   try
                        // Login the custom guest user. This calls the login PEIs.
                        rReturn = LoginHelper.INSTANCE.AttemptLogin(m_userSession,
                                                                               m_asOwner,
                                                                               m_xpRequest,
                                                                               m_WebData);
                   catch (Exception e)
                        if (PTDebug.IsErrorTracingEnabled(Component.Portal_UI_Infrastructure))
                             PTDebug.Trace(Component.Portal_UI_Infrastructure,
                                            TraceType.Error, "AttemptLogin() failed.", e);
                   if (!rReturn.m_bSuccess)
                        if (PTDebug.IsErrorTracingEnabled(Component.Portal_UI_Infrastructure))
                             PTDebug.Trace(Component.Portal_UI_Infrastructure,
                                            TraceType.Error,
                                            "KioskLoginControl AttemptLogin() failed: " +
                                            rReturn.m_strError);
                   if (null != rReturn.m_Redirect)
                        if (PTDebug.IsErrorTracingEnabled(Component.Portal_UI_Infrastructure))
                             PTDebug.Trace(Component.Portal_UI_Infrastructure,
                                            TraceType.Error,
                                            "KioskLoginControl AttemptLogin() return redirect ignored.");
              IPTSession userSession = m_userSession;
              // Null out the IHTTPControl data so we don't retain the memory after the
              // request is done (i.e. leak the memory)
              m_xpRequest = null;
              m_WebData = null;
              m_userSession = null;
              return userSession;
         * @see com.plumtree.xpshared.activityspace.IControl#Init(IModelRW)
         public void Init(IModel model, AActivitySpace space)
    //          m_asModel = (LoginModel) model;
              m_asOwner = space;

  • Can Application Switcher Be Assigned To The Magic Mouse ?

    I have been a Might Mouse user now since it was released and it's been a very productive mouse... allowing me lots of options while I navigate my finder and files... and assigned Application Switcher to the track ball nipple was for me a must have feature... and now my whole workflow has now become based on this simple feature. I recently purchased a new MacPro 12 Core with Magic Mouse and Magic Trackpad. The Magic TrackPad I just can't get my fingers adjusted to... so I have counted that out... but the new Magic Mouse I like... I like the way it feels in the hand... I like the wireless feel about it... but the lack of the track ball is proving a difficult adjustment. I have started using CMD TAB but that's proving less effective as I'm sometimes getting mixed up with key stroke shortcuts for Adobe Acrobat... for Quitting etc...
    I need to decide what mouse to use... as switching between both is even more confusing. Is the Magic Mouse the absolute future... so should I just stick with that... and adapt... or go back to me seamless Mighty Mouse workflow.
    If I could assign the Application Switcher to the Magic Mouse I would stay with it I think.... it's the lack of support for the key feature is proving to be the deal breaker.
    Anyone have any comments, advice, suggestions. All comments would be much appreciated.
    Regards,
    Anthony
    Message was edited by: Anthony MacCarthy
    Message was edited by: Anthony MacCarthy

    Hi-
    Can't predict the future, but I understand the dilemma with regards to which is a better mouse.
    For app switching, there is a way to do such, but at the cost of a lost function:
    http://theappleblog.com/2009/11/02/how-to-enable-expose-and-spaces-for-the-magic -mouse/

  • Spaces and Microsoft Office

    So, I am having a problem with Spaces, exclusively with Microsoft Office programs. Heres what happens. Say I'm working in two spaces (space A, and B) I have a word document I am working on in space A, and I want to read my mail (just an example) and I switch to space B, and then I'm done reading it, so I go back to space A. Now that I am back in space A, the document I was working on, is gone, it's in space B, why does it do this. I have gotten all of the updates for it, and it is the most annoying thing. I use 9 spaces and it drives me nuts, every time i switch back, i have to drag word back into its respective space.
    Any help would be greatly appreciated

    Microsoft posted today about this issue recently.
    Office 2008 and Spaces
    When you use Office 2008 for Mac with Mac OS X Spaces, the Office 2008 applications might not behave as expected. This is caused by the architectural implementation of Spaces in Mac OS X v10.5 (Leopard). Apple is aware of this issue.

Maybe you are looking for