1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Client always on top

Discussion in 'Client & Site Suggestions' started by Geashaw, Feb 27, 2015.

  1. Geashaw

    Joined:
    Jan 8, 2015
    Messages:
    1,429
    Likes Received:
    252
    @Cloud @Arbiter This would be really really useful for developers.

    I usually have my IDE on my left screen and Chrome on the right.
     
  2. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Nice idea, I'll add it in the next build.
    --- Double Post Merged, Feb 27, 2015, Original Post Date: Feb 27, 2015 ---
    I was planning to add it on the next release, but setAlwaysOnTop seems to only be taking affect on the main window. Calling setAlwaysOnTop on the child dialogs appears to be being ignored and because of this it's actually rather frustrating to use it.
     
    Geashaw likes this.
  3. Geashaw

    Joined:
    Jan 8, 2015
    Messages:
    1,429
    Likes Received:
    252
    Take your time buddie, I'll be patient
     
  4. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    It would also be nice if the options and debug menus opened on the same monitor as the main window in a multi-monitor environment.
     
  5. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    How is it doing things currently?
     
  6. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    Always opens on the main monitor. I think I recall from some time I spent working on GUIs for scripts bots, I just called this.setLocationRelativeTo(getParent()); in the JFrame constructor and it always put it on top of the window that launched it. I'm not sure if you are even using JFrames, but maybe it will be a nice quick fix.

    Edit: I just restarted, and it seems to be working the way I wanted now, lol did you just push an update?
     
    #6 Exia, Mar 3, 2015
    Last edited: Mar 4, 2015
  7. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Nope...
     
  8. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    Weird, maybe it was just something funky happening with windows 10.
     

Share This Page

Loading...