Author Topic: Focus on Editor of Codesnippets plugins fails  (Read 3478 times)

mariocup

  • Guest
Focus on Editor of Codesnippets plugins fails
« on: April 27, 2007, 04:53:19 pm »
Hi Pecan,

I am using codeblocks svn 3893 and the current version of Codesnippets plugin. I have built codeblocks with wxWidgets 2.8.3 and tested with the binaries of nightly builds.

If I open Codesnippets Plugin within Codeblocks and put a double click on the snippet item, then the new editor window of the plugins disappear in the background. If I click on the codesnippets editor window in the windows toolbar the focus changes a short time in the foreground and then again disappears in the background. The only possibilty to put the editor window in the foreground is using the Alt+Tab shortcut that set the focus on that window.

I have tested this under windows 2000 SP4 and windows xp SP2.

Bye,

Mario

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2813
Re: Focus on Editor of Codesnippets plugins fails
« Reply #1 on: April 27, 2007, 11:32:07 pm »
I can only re-create your problem when CodeBlocks is in full screen mode. Otherwise, it works ok.

I'll put a todo item for fullscreen. But since (in full screen) Codeblocks will always be on top, it'll take awhile to figure it out.

In the meantime, if you wish to edit in fullscreen, simply grab the snippet tree item and drag it into CodeBlocks Management or Open files tree window.

« Last Edit: April 27, 2007, 11:36:55 pm by Pecan »

wxLearner

  • Guest
Re: Focus on Editor of Codesnippets plugins fails
« Reply #2 on: April 28, 2007, 12:11:23 am »
Hello,
I can reproduce this issue with non-fullscreen mode also. The codesnippets editor window takes a back seat, when the codesnippets pane (the main tree) is hovered with the mouse.

EDIT:
In fullscreen mode it works ok, if you select the snippet, you want to edit, move the mouse away from the codesnippets pane, and press Enter.
« Last Edit: April 28, 2007, 10:05:47 am by wxLearner »