! 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 !
Leafpad hangs when called from gksu
Status:
RESOLVED: INVALID
Product:
Mousepad
Component:
General

Comments

Description Todd 2011-06-07 22:34:57 CEST
http://download.fedora.redhat.com/pub/epel/testing/6/x86_64/leafpad-0.8.18.1-1.el6.x86_64.rpm

Hi All,

Forgive me if leafpad is not an Xfce project.  I am reporting it here as "leafpad" is in your EPEL repo (see above).

If I run Leafpad from the command line as root, it works perfectly.

If I run Leafpad from gksu, I get a gray box, no pull down menus, nothing.

    gksu -u root "/usr/bin/leafpad" 

The hang is removed if you give leaf pad a parameter:
    gksu -u root "/usr/bin/leafpad X"

But, the top of the window gets labeled "X"
 
The following work around gives "untitled" on the top:

    gksu -u root "echo "" | /usr/bin/leafpad" 

I do not have this problem running other programs with gksu

Many thanks,
-T
Comment 1 Nick Schermer editbugs 2011-06-07 22:42:13 CEST
leafpad != mousepad, report at redhat.

Bug #7707

Reported by:
Todd
Reported on: 2011-06-07
Last modified on: 2011-06-07

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified
Target Milestone:
Mousepad 0.2.x

Attachments

Additional information