! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Odd behavior when using custom menu with "run in terminal"
Status:
RESOLVED: WONTFIX
Product:
Libxfcegui4
Component:
General

Comments

Description Mike Culbertson 2008-01-30 02:57:53 CET
When using a custom panel menu with a command with no arguments and "Run in Terminal" checked, instead of getting the command run in a terminal, I'm getting just a normal xfce4-terminal, as if I had started one manually. Specifically, I get this:

This:
<app name="Test" cmd="/tmp/test" term="true"/>

Results in an interactive but otherwise empty xfce4-terminal.

This:
<app name="Test" cmd="/tmp/test stuff" term="true"/>

Results in a teminal with "/tmp/test" being executed.  The terminal here exits when the command is finished as expected.

The actual argument needs have no relationship to the command, but _any_ command  (binary, script, etc.) with no argument in a custom menu in my environ results in a an empty interactive terminal.

I added the following menu to my panel for confirmation:

<?xml version="1.0" encoding="UTF-8"?>
<xfdesktop-menu>
        <app name="Test without arg (bad)" cmd="/bin/ls" term="true"/>
        <separator/>
        <app name="Test with arg (good)" cmd="/bin/sleep 5" term="true"/>
        <separator/>
</xfdesktop-menu>
Comment 1 Brian J. Tarricone (not reading bugmail) 2008-11-09 01:07:45 CET
Hmm, can dupe this on svn trunk too.  Pretty sure this is a bug in either xfce_exec() (unlikely) or xfterm4.  Not sure, don't have time for this right now.
Comment 2 Yves-Alexis Perez editbugs 2008-11-10 09:57:45 CET
Can't this be related to #2430 ?
Comment 3 Yves-Alexis Perez editbugs 2008-11-10 10:01:17 CET
Or maybe bug #3644
Comment 4 Nick Schermer editbugs 2014-12-03 09:19:57 CET
Close bug reports of archived products.

Bug #3825

Reported by:
Mike Culbertson
Reported on: 2008-01-30
Last modified on: 2014-12-03

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information