Control: clone -1 -2
Control: retitle -1 codelite: debugger does not respect global terminal option
Control: severity -1 normal
Control: tags -1 upstream confirmed
Control: reassign -2 mate-terminal 1.8.1+dfsg1-3
Control: retitle -2 mate-terminal: provides x-terminal-emulator but does not 
implement -T
Control: severity -2 serious
Control: affects -2 codelite

Justification: Policy 11.8.3

(^^ wow hopefully I got all that right)

On Wed, 17 Dec 2014 23:28:03 +0100 Riccardo Boninsegna 
<rboninsegna2+deb...@gmail.com> wrote:
> Package: codelite
> Version: 6.1.1+dfsg-4
> Severity: important
> 
> After installing CodeLite on a brand new Jessie system with MATE, I am
> experiencing the same problem that occurred on a comparable "well-used" in 
> late
> September:
> 
> 1: Open any project (tested with a new "GCC console program" template).
> 2: Click the "Play" (run in debug mode) button.
> 3: An error window pops up, stating "Could not launch terminal for debugger".

Hi,

Thanks for the bug report! I think your report actually deals with two
separate bugs.

In the Debian version of Codelite, I (actually the previous maintainer)
changed the default terminal from 'xterm' to 'x-terminal-emulator' so
that it launches the system default terminal.

I couldn't reproduce your error when using GNOME, but when switching to
mate-terminal, it appeared. I think this is because mate-terminal does
not implement the -T option properly which I used to set the terminal
title. To temporarily workaround this, you can change the system default
terminal emulator by running:
 sudo update-alternatives --config x-terminal-emulator

MATE developers:
The manpage of mate-terminal indicates that it does not implement the -T
option (only the -t option). From policy 11.8.3:

> To be an x-terminal-emulator, a program must:
[...]
>       * Support the command-line option -T title, which creates a new
>         terminal window with the window title title.

https://www.debian.org/doc/debian-policy/ch-customized-programs.html#s11.8.3

Therefore you must either implement the -T option or drop
x-terminal-emulator from the provides list. gnome-terminal implements
this correctly by providing a wrapper script which you might be able to
copy:
http://sources.debian.net/src/gnome-terminal/3.14.1-1/debian/gnome-terminal.wrapper/
 
> This condition of failure is independent of which terminal emulator(s) are
> installed -- with the package recommending any, but upstream specifying xterm
> -- and any of the Settings > Global Editor > Terminal options.

This is the second bug. I also couldn't change the terminal used by
changing that option, however it also seems to affect upstream's
official repo when I tried it. I'll get round to reporting this on
upstream's bug tracker soon.

Thanks,
James


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to