! 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 !
Menu editor crash when icon does not exists
Status:
CLOSED: FIXED
Severity:
critical
Product:
Xfce4-menueditor
Component:
General

Comments

Description Nick Schermer editbugs 2006-04-11 13:51:47 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060406 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060406 Firefox/1.6a1

When you try to edit the icon of a launcher and there is some text in the icon text field, but it does not point to a file, the editors ends with a seg. fault.

Reproducible: Always

Steps to Reproduce:
1. Create launcher
2. Buttonbash some useless text in the icon text field
3. Click the 'Select Icon' button

Actual Results:  
Segmentation fault

Expected Results:  
Popup 'select icon' dialog
Comment 1 Nick Schermer editbugs 2006-04-11 13:53:06 CEST
Created attachment 498 
This will fix the problem

Check if icon exists before sending to dialog
Comment 2 Jean-François Wauthy editbugs 2006-04-12 12:01:15 CEST
i committed your patch, thanks

Bug #1658

Reported by:
Nick Schermer
Reported on: 2006-04-11
Last modified on: 2009-07-14

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Attachments

This will fix the problem (586 bytes, patch)
2006-04-11 13:53 CEST , Nick Schermer
no flags

Additional information