Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   first responders (https://forums.graalonline.com/forums/showthread.php?t=134264590)

Mark Sir Link 09-19-2011 12:44 PM

first responders
 
there seems to be an issue with having the first responder change to the GraalControl in some circumstances (namely, after sending a Private Message/Mass Message) in which the GraalControl supposedly becomes the firstresponder, but does not actually register key input. It also seems that when a GUI is closed that is created by script, it sometimes is reverting to the Serverlist start menu button to focus.

For now I am using

PHP Code:

function onFirstResponderChanges(temp.obj) {
  if(
temp.obj.name == "GraalControl"){
    
GraalControl.makefirstresponder(true);
  }
  else if(
temp.obj.name.starts("Serverlist_TaskButton_Start")){
    
GraalControl.makefirstresponder(true);
  }
  else if(
temp.obj.name.starts("PrivateMessage")){
    
obj.makefirstresponder(true);
  }


but I'd like to see this behavior addressed so that it becomes easier for players to play with less mouse interaction, specifically not having to click text entry fields for PMs when they open, not having to click the GraalControl after sending a PM or having another script created UI close.

Mark Sir Link 09-19-2011 10:49 PM

PHP Code:

else if(temp.obj.name.starts("PrivateMessage")){
  
obj.makefirstresponder(true);


actually isn't doing what I hoped, if external playerlist and internal PM windows are being used, it doesn't appear you can transition from an external GUI control to an internal GUI control in another container.

so right now when opening a PM from the playerlist and then immediately trying to type, all that's happening is the playerlist search text edit appears

Mark Sir Link 09-27-2011 12:01 AM

bump for hoping external playerlist can switch focus to internal PMs


All times are GMT +2. The time now is 12:42 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.