Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: killerbot on September 21, 2010, 09:17:53 pm

Title: copying data from the messages panels
Post by: killerbot on September 21, 2010, 09:17:53 pm
It seems it is no longer possible to copy data from the messages panel (for example compiler, cppcheck) [the regular log, not the list panels].
I have noticed this on the CC branch version, but I suspect this to be related to the new scintilla ?

Anyone can confirm this issue ?

Title: Re: copying data from the messages panels
Post by: Jenna on September 21, 2010, 09:24:39 pm
I just tested on windows xp and it seems to work.
Title: Re: copying data from the messages panels
Post by: killerbot on September 21, 2010, 09:44:47 pm
I am on linux.
Title: Re: copying data from the messages panels
Post by: oBFusCATed on September 21, 2010, 09:47:58 pm
If you're talking about ctrl+c/v, this is not working for ages and it is a wxGTK problem.
See here: http://trac.wxwidgets.org/ticket/11320
Title: Re: copying data from the messages panels
Post by: killerbot on September 21, 2010, 09:51:58 pm
hmm, I have known this to work, but there's also no right click menu to copy the selection or the entire contents of the message pane. And that right click menu used to be there.
EDIT : the right click menu is still available but only on the tab header, I think it used to be available too in the panel itself, and not just on it's tab header. right ?
Title: Re: copying data from the messages panels
Post by: MortenMacFly on September 21, 2010, 09:54:44 pm
EDIT : the right click menu is still available but only on the tab header, I think it used to be available too in the panel itself, and not just on it's tab header. right ?
It is available and working everywhere for me (on windows).
Title: Re: copying data from the messages panels
Post by: oBFusCATed on September 21, 2010, 10:31:42 pm
Works here, too...
Also I've got two menus in the ThreadSearch plugin (right click on a search result item in the list control)
Title: Re: copying data from the messages panels
Post by: Jenna on September 21, 2010, 10:40:00 pm
Works here, too...
Also I've got two menus in the ThreadSearch plugin (right click on a search result item in the list control)
Back on linux and everything works normally.

The two meus in ThreadSearch are a known problem, with low priority.
Most likely related is the issue, that ThreadSearch opens a messagebox and tells the user that it failed to retrieve file path and line number after closing the configuration dialog.
At least the last issue does not occur on windows.
Title: Re: copying data from the messages panels
Post by: oBFusCATed on September 21, 2010, 10:55:32 pm
Back on linux and everything works normally.
Even Ctrl+c/ctrl+v in the command entry in some of the debugger logs?

Hm, Ctrl+C works in the C::B tab, but Ctrl+V pastes some things in the active editor!
Title: Re: copying data from the messages panels
Post by: Jenna on September 22, 2010, 08:01:11 am
Back on linux and everything works normally.
Even Ctrl+c/ctrl+v in the command entry in some of the debugger logs?

Hm, Ctrl+C works in the C::B tab, but Ctrl+V pastes some things in the active editor!
"normally" was meant as "usually", or in other words: no changes to previous versions (as far as I can see).
Title: Re: copying data from the messages panels
Post by: killerbot on September 22, 2010, 08:43:03 am
the problem remains for me, just updated my CC branch build (for the CC related fixes). The right click menu only appears when right clicking on the tab header, but no within the tab itself (with or without some selected text).

EDIT : I just even experienced a crash while right clicking inside the tab :

Code
  <stack>
    <frame level="0"/>
    <frame level="1" function="wxListMainWindow::ScrollList(int, int)" offset="00000016"/>
    <frame level="2" function="MouseEventsHandler::OnMouseEvent(wxMouseEvent&amp;)" offset="00000566"/>
    <frame level="3" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="00000055"/>
    <frame level="4" function="wxEvtHandler::SearchDynamicEventTable(wxEvent&amp;)" offset="0000004f"/>
    <frame level="5" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="00000092"/>
    <frame level="6" function="wxTextCtrl::GTKProcessEvent(wxEvent&amp;) const" offset="00000019"/>
    <frame level="7"/>
    <frame level="8"/>
    <frame level="9" function="g_closure_invoke" offset="0000015e"/>
    <frame level="10"/>
    <frame level="11" function="g_signal_emit_valist" offset="00000625"/>
    <frame level="12" function="g_signal_emit" offset="00000083"/>
    <frame level="13"/>
    <frame level="14" function="gtk_propagate_event" offset="000000c3"/>
    <frame level="15" function="gtk_main_do_event" offset="000002cb"/>
    <frame level="16"/>
    <frame level="17" function="g_main_context_dispatch" offset="000001f3"/>
    <frame level="18"/>
    <frame level="19" function="g_main_loop_run" offset="00000195"/>
    <frame level="20" function="gtk_main" offset="000000a7"/>
    <frame level="21" function="wxEventLoop::Run()" offset="00000048"/>
    <frame level="22" function="wxAppBase::MainLoop()" offset="0000004b"/>
  </stack>