[Geany-devel] Moving the VTE terminal to the Sidebar

Matthew Brush matthewbrush at xxxxx
Fri Dec 17 15:58:28 UTC 2010

On 12/17/2010 06:19 AM, Liviu Andronic wrote:
> Hello
> On Wed, Dec 15, 2010 at 12:45 AM, Matthew Brush<matthewbrush at gmail.com>  wrote:
>> I wrote a simple little plugin which moves the VTE into the sidebar.  The
>> purpose/rational is described in the README at:
>> https://github.com/codebrainz/geany-sidebarterm
> After a bit of testing, I've identified some unexpected usage issues,
> mainly related to actions assigned to key bindings.
> - send selection: if I bind 'Send selection to terminal' to 'ctrl+r'
> and select some text and hit the binding, then
> -- a previously hidden Message Window will pop-up, even though the
> Terminal tab is longer there. There is a simple way to work around by
> minimizing the Message Window to a ridiculously small size, but the
> behaviour is still unsettling
> -- an un-focused Sidebar Terminal tab will not get focused (for
> example, focus the Sidebar Documents tab and send something to
> terminal from editor and see that the Terminal is not shown)
> - focus terminal: if I bind 'Switch to terminal' to 'F2', make sure
> that the Message Window is hidden, edit smth in the editor and hit F2,
> then the the Message Window will pop-up while the terminal will stay
> hidden
> I believe that these minor issues stem from the assumption that the
> VTE is always in the Message Window, but this can be different now.
> Would these issues be hard to fix?
I believe that is also the case.  All my plugin does is grabs the 
contents of the Terminal tab from the message window and reparents it 
into a new tab in the sidebar, nothing more.  I will look into how 
difficult it would be to fix these issues, perhaps someone who is more 
familiar with this aspect of Geany's code can provide some insight.

Matthew Brush (codebrainz)

More information about the Devel mailing list