NSTextField in statsbar menu becomes unresponsive after clicking outside the menu - objective-c

I'm building a statusbar menu using custom views, and everything seems to work fine except for text fields. The first time I open the menu, everything works fine. If I close the menu by clicking the statusbar icon again, it also continues to work fine.
If I close it by clicking outside the menu, however, the next time I open the menu the text fields will be completely unresponsive. I can sometimes highlight the NSTextField, and even make the "itemEdited" event happen.
Any ideas on this weird issue? Buttons put on the same view work fine.
I've made a sample project to demonstrate the problem: https://github.com/Nic0S/NSTextField-bug

Related

Lost my toolbar in Jgrasp how to get it back?

lost my toolbar buttons in Jgrasp I accidentally clicked the "X" button on the thought it was the exit button checked settings but too afraid to click a button that will change the environment again, here's the result,
Thanks!
The toolbar is language specific, so the toolbar goes away unless you have a file open. Since you pressed the X button, the file was closed, and thus, the toolbar went away. If you open up a new file (By clicking the folder icon on the far top left and selecting the previous file), it will bring back the toolbar.

Is there way to close popup when swiping between tabs

I have a popup menu in one tab which not close automatically between swiping from tab to tab. Clicking outside of the popup window closing it, but the swipe is not detected as click so the popup stays on the screen as long as I click outside of it.
Have Googled this issue for a couple hours now with no results.
Can you give me any glue how handle this problem? I want that popup close when swipe, but don't know how.
I added id="somethinghere" for the tab, and for the popup menu element I added attach="somethinghere". Now it is attached to one tab and not following to other tabs, but it is not still closing. But this is better than nothing.

How can I click a button that's only clickable from the bottom half?

So I'm trying to hit this button to activate the dropdown menu, but it seems that only half of it works, Im afraid the automation is clicking the top bottom or somewhere where is not active, let me illustrate with a few screenshots, which will contain a comparisson. ALSO can I click on one of the options from the dropdown without "activating it"? (clicking the DropDown Button)
Now another example from the button fully working
I have found that the button fully works if it's the first one to be clicked, if I click something else, then this issue happens, and that's only button with this issue

Dodge focus on a form upon click

I made a simple utility application for switching between multiple instances of a game that runs in fake fullscreen or borderless window mode. Essentially it just displays a row of buttons with names for the different instances and when I click the button it switches to that instance.
Things work great except for a little annoyance - upon clicking, there is like 1 millisecond where the taskbar flashes to the foreground. I think this is due to my application getting focus for a brief moment before it hands it off to the game instance which hides the taskbar.
Is there a way to avoid getting focus on my application when clicking its buttons? Its form sits on top of all other windows at all times anyway.

QTP script works in big screen but not in small screen

I am using QTP 11.0 and a java button in my application is highlighted in big monitor screen(19 or 20 inch) but not in Laptop screen(14 or 15 inch).
I have to click the button and a pop up will be seen,this works fine in big screen but in laptop screen the pop up does not appear.Is there any workaround?
In small screen the scroll bar appears and the java button is below the screen, but in big screen its appeared without scrolling so its working fine with the big screen.
Also i have tried if scroll down is possible through scripting in small screen ,but scroll down does not work NOR does pgDown pgUP works in the application.
Addins selected are ActiveX,Java,Web
Advanced thanks...
As per the given information I assume that the problem is with the object properties of the java button. Could you try adding only htmlid/name property & try highlighting the object in both the screens? Please disable object identification, location & indexing if applicable. If possible share the properties of the object for further analysis.
Does QTP fail to recognise the button during play back? QTP may not highlight the button because it is not visible; but in most cases it will be able to perform actions (such as click event) on the button. Make the button visible in web page / application and try clicking on Highlight button in QTP.