Phatch starts up on wrong monitor

Bug #673548 reported by Francois Botha on 2010-11-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description


I'm on Ubuntu 10.10 with a dual monitor display (TwinView) and I'm using Phatch Batch Process 0.2.7

My primary monitor is on the RIGHT-hand side. My secondary monitor is actually my TV and is on the left-hand side.

Phatch launches on the secondary monitor, which is a huge frustration, because then I have to switch on my TV first.

The window manager would by default put the window on the primary monitor, but I'm assuming you've overriding the window placement. Set the monitor first before you set the X,Y coordinates of the windows.

Stani (stani) wrote :

Thanks for reporting this bug. As a temporary solution before we fix this, you can use <Alt>+<F7>(or <Alt>+<Space> and select move). At least than you don't have to turn your tv on.

Changed in phatch:
importance: Undecided → Low
milestone: none → 0.2.8
status: New → Confirmed
Francois Botha (igitur) wrote :

Thanks, I wasn't aware of Alt+F7. That's quite useful.

I tried to write a patch for this, but wouldn't get the display metrics right yet. Also I stumbled into this wxWidgets bug which might affect this even further.

IMHO, frame.CenterOnScreen() is not even necessary. I wouldn't mind the WM just handling the placement.

Stani (stani) wrote :

Does commenting out CenterOnScreen() fix it for you?

Francois Botha (igitur) wrote :

Yes, it solves the issue, but the window appears at the bottom left of my primary monitor. I believe it's due to the wxWidgets bug. Not sure though.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.