Author Topic: A few glitches  (Read 8733 times)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
A few glitches
« on: January 16, 2014, 04:51:36 am »
On Ubuntu 13.10 AMD64, rev9573

1/ Splash screen on a dual monitor setup is positioned hard to the right of the left monitor instead of centered on one monitor. Looks weird.
2/ AUI Dock windows are frozen after manually installing a plugin that creates them. The only way to unfreeze them is to quit and reopen Code::Blocks.
3/ On linux, Cut/Copy/Paste/Select All accelerators (Ctrl-A,C,V,X) always affect editors instead of the focused control (i previously reported this here with the suggested fix of removing the menu accelerators from the main menu XRC).

1&2 are probably wxWidgets issues. 3 would be nice to fix, but not sure if it affects windows.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: A few glitches
« Reply #1 on: January 16, 2014, 07:22:01 am »
1/ One is our problem, but I'm not sure what we would like to do. We could probably use wxDisplay to position the splash screen in the center of the main window.
3/ This is the bug I've reported ages ago: http://trac.wxwidgets.org/ticket/11320

4/ A bigger issue in dual-monitor setup is that if you place Logs&Others on the second monitor it is always on top and it is almost impossible to use other apps on the second monitor if C::B is not minimized. Can you tell me if you see this same behaviour?
« Last Edit: January 16, 2014, 07:23:48 am by oBFusCATed »
(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 dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: A few glitches
« Reply #2 on: January 16, 2014, 02:51:56 pm »
#3. Re the bug report - Noone ever confirmed that the behavior is different on MSW or how to go about fixing. Say what you want about the wx devs, but once the issue and solution are clear they do get on things pretty quickly. But in any case, why not just remove the accelerators, at least on Linux? By default, doesn't GTK3 hide the accelerators on menu items anyway (or is that just a Ubuntu thing?)

#4 sounds familiar. I will check.

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: A few glitches
« Reply #3 on: January 16, 2014, 03:59:00 pm »
#4 does not affect windows

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: A few glitches
« Reply #4 on: January 16, 2014, 08:08:28 pm »
#3: I've posted several comments trying to explain what is wrong and asked several questions. Unfortunately it seems that we are talking in different languages about this problem. For me the problem is obvious, because the windows and linux versions behave differently. At least in wx2.8.

#4 It might be something gnome 2 related.
(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 dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: A few glitches
« Reply #5 on: January 16, 2014, 09:12:51 pm »
#3: I've posted several comments trying to explain what is wrong and asked several questions. Unfortunately it seems that we are talking in different languages about this problem. For me the problem is obvious, because the windows and linux versions behave differently. At least in wx2.8.

So what about just removing accelerators for now? (on linux only?) Non-starter?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: A few glitches
« Reply #6 on: January 16, 2014, 09:55:26 pm »
If it works, why not...
(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 dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: A few glitches
« Reply #7 on: January 17, 2014, 04:06:38 am »
If it works, why not...

Only the loss of accelerator labels in the menus. Any objections?
« Last Edit: January 17, 2014, 11:29:30 pm by dmoore »

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: A few glitches
« Reply #8 on: January 17, 2014, 11:27:32 pm »
5/ Horizontal scroll bar at the bottom of the editor window even if there is nothing to scroll

PS: I will commit my proposed fix to 3 over the weekend unless I hear any objections. It's straightforward enough to revert in any case.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: A few glitches
« Reply #9 on: January 17, 2014, 11:35:59 pm »
I think 5 is done for performance reasons, but someone familiar with past discussions should bring a bit more light here.
(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 dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: A few glitches
« Reply #10 on: January 20, 2014, 05:34:54 pm »
If it works, why not...

Only the loss of accelerator labels in the menus. Any objections?

Committed rev 9594

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: A few glitches
« Reply #11 on: January 20, 2014, 05:35:47 pm »
#4 does not affect windows

Also works as it should on dual monitor Ubuntu 13.10

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: A few glitches
« Reply #12 on: January 20, 2014, 06:20:10 pm »
Also works as it should on dual monitor Ubuntu 13.10
...also still working on Windows as it should... :)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ