News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Toolbars pushed away from the C::B window cannot be recovered (easily)

Started by JMP, January 09, 2009, 10:51:57 PM

Previous topic - Next topic

JMP

By drag'n'drop a toolbar in the middle of the toolbars docking area, the existing toolbars on the right are shifted away, creating space for the new toolbar to dock. It may happen that the rightmost toolbar goes out of view and then it cannot be brought back to view. It is ticked off in the toolbars menu but it cannot be used unless the layout is deleted.
A better behaviour would be if the toolbars were filling the empty spaces when a toolbar is undocked.


ollydbg

Quote from: JMP on January 09, 2009, 10:51:57 PM
By drag'n'drop a toolbar in the middle of the toolbars docking area, the existing toolbars on the right are shifted away, creating space for the new toolbar to dock. It may happen that the rightmost toolbar goes out of view and then it cannot be brought back to view. It is ticked off in the toolbars menu but it cannot be used unless the layout is deleted.
A better behaviour would be if the toolbars were filling the empty spaces when a toolbar is undocked.



Once I read your post, I don't think it is a problem, but when I'm testing now, I think it is really a problem. See the image below, when I drag the "Toolbar A"  to the position before "Toolbar B", then the "Toolbar B " will move behind A in the same line, since A is too long, then B disappears. Even though I removed A, B is still out of view.






[attachment deleted by admin]
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Jenna

Just a workaround, not a real solution:

switch to another layout from "View -> Layouts" and answer the question whether the changed layout should be saved or not with "no".
Then switch back.

If you don't get the dialog, it means you have either saved the wrong layout manually (what you should not do of course) or you told the dialog not to annoy you any more sometimes before.
If that's the case you can restore it in "Settings -> Environment -> Disabled dialogs".

JMP

If it happen that you saved the wrong layout overwriting the code::blocks default, you can still recover it by deleting the current layout. Then C::B offers a new default containing all the toolbars, you have just to hide the unwanted ones and re-arrange everything you need.

Thank you