Forum Discussion

sballange's avatar
sballange
New Contributor
12 years ago

Ubuntu - SoapUI starts outside of the screen

Hi,

On Ubuntu 13.10, SoapUI starts far outside of the viewport on a dual-monitor setup. I can grab it from the right side of my right monitor and move but every time I restart it I have to do it again.

Any idea how to fix this or is there a known workaround?

Thanks
  • nmrao's avatar
    nmrao
    Champion Level 3
    I believe that this more of Ubuntu and how it extends on to external monitor which needs to find the right place than in this forumn. Or do you see this problem specific to soapui application only ?
  • sballange's avatar
    sballange
    New Contributor
    SoapUI is the only application causing me this problem, I'm tempted to blame Java but I don't have the same issue with PhpStorm (PHP IDE written in Java as well). I'll try to find something on Ubuntu related sites and post here if successful.
  • sballange's avatar
    sballange
    New Contributor
    Adding a simple
    frame.setLocation(100, 100);

    In soapui/src/main/java/com/eviware/soapui/SoapUI.java line 288 ( https://github.com/SmartBear/soapui/blo ... .java#L288 ) right after
    frame.setSize( 1000, 750 );

    solved the issue,

    I'm not a Java guy and I don't know enough about SoapUI so I won't create a pull request but it seems to be a really small thing. Side note, I tried to duplicate the behaviour of SoapUISplash and center the window but it sees the 2 monitors as 1 giant one and positions the window right in the middle (overlapping the 2 screens).
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Thanks for reporting this. We'll try to include your suggested fix in the upcoming 4.6.1 release, although we have technically frozen the code.

    Cheers!

    Manne
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello again,

    One of our developers, who is running Ubuntu 13.10, has been trying to reproduce this but hasn't been successful so far. Can you tell us anything about how you configured your two monitors.

    Regards,
    Manne
  • sballange wrote:
    Adding a simple
    frame.setLocation(100, 100);

    In soapui/src/main/java/com/eviware/soapui/SoapUI.java line 288 ( https://github.com/SmartBear/soapui/blo ... .java#L288 ) right after
    frame.setSize( 1000, 750 );

    solved the issue,

    I'm not a Java guy and I don't know enough about SoapUI so I won't create a pull request but it seems to be a really small thing. Side note, I tried to duplicate the behaviour of SoapUISplash and center the window but it sees the 2 monitors as 1 giant one and positions the window right in the middle (overlapping the 2 screens).


    I had the same problem with Ubuntu 13.10 and dual monitors, and this additional line of code also fixed it for me.
  • Hi all,

    I experienced the same issue running on Ubuntu 13.10 and SoapUI 4.6.4 when starting the application in dual screen.
    Switching to mirror screen mode before starting the application make this one start normally.

    Cheers
  • frickman's avatar
    frickman
    Occasional Visitor

    Problem still occured on Ubuntu 14.04 LTS with SoapUI 5.2.1

     

    Since I could not drag the windows back, I looked up a shortcut. With the following command you can access the context menu of the hidden application (when focused)

     

    ALT + spacebar