Author Topic: Position of Debug Watch Windows  (Read 7014 times)

Offline pir

  • Multiple posting newcomer
  • *
  • Posts: 48
Position of Debug Watch Windows
« on: March 15, 2011, 09:44:11 pm »
I am running C::B 10.04 under Ubuntu 10.10. All of the debugging watch windows bar one open with their title bars underneath the Gnome top panel which means I cannot move them (and they obscure the C::B toolbar, etc.) Is there a way to manually edit the initial positions of the watch windows? Or is there any other solution?

(A similar question was asked re: C::B 8.02 back in 2009 but didn't really get an answer...)

P.

Offline pirx67

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Position of Debug Watch Windows
« Reply #1 on: March 15, 2011, 10:59:27 pm »
There may be at least a workaround.

Running under Gnome move the mouse anywhere over the (debugging watch) window that you want to move. Then press <Alt>-<F7> the mouse cursor changes to a hand symbol and the window can be moved till you left click it.

Hope that works for you,
    pirx67

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline pir

  • Multiple posting newcomer
  • *
  • Posts: 48
[SOLVED] Position of Debug Watch Windows
« Reply #3 on: March 16, 2011, 12:13:24 pm »
Unfortunately, ALT-F7 does not work with child windows within C::B. Neither does holding down the ALT key and dragging.

I have, however, solved the problem! Right-clicking on the top panel and selecting "Auto hide" means the panel slides up out of the way allowing me to grab the title bars of the C::B debug windows and move them somewhere sensible.

(I suspect the cause of the problem lies in the source code: Probably the default initial positions of all the windows other than the Watch window are at (0,0), thus under-lapping the Gnome panel. Not quite a bug but a highly undesirable feature - could it be changed?  :)

P.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: [SOLVED] Position of Debug Watch Windows
« Reply #4 on: March 16, 2011, 01:17:09 pm »
(I suspect the cause of the problem lies in the source code: Probably the default initial positions of all the windows other than the Watch window are at (0,0), thus under-lapping the Gnome panel. Not quite a bug but a highly undesirable feature - could it be changed?  :)

No, because the requested position is set to (200,150).
But it's done by wxAuiManager and it seems not to work correctly on some machines.

I also use gnome (on debian) and even for a new test-user with default installation it is placed correctly and not below the panel.
This means it might be related to the wxWidgets or the gtk2 version you use or to the window-manager.

Offline pir

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: [SOLVED] Position of Debug Watch Windows
« Reply #5 on: March 16, 2011, 01:44:30 pm »
Quote
No, because the requested position is set to (200,150).

That's curious because all the windows (bar the Watches one) were positioned top left of the screen, which I presume is (0,0) in device coordinates. Strange how this translation could happen...

P.