Bug 88305 - icons added to project in automake manager are not saved when closing project
Summary: icons added to project in automake manager are not saved when closing project
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Automake (show other bugs)
Version: 3.0.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-28 14:52 UTC by Chris Horler
Modified: 2007-01-13 12:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Horler 2004-08-28 14:52:42 UTC
Version:           3.0.4 (using KDE KDE 3.2.1)
Installed from:    SuSE RPMs
OS:                Linux

I am making an additional toolBar and adding three icons to the project through the automake manager.  The files do no appear in the project after saving exiting and reloading.

The expected behaviour is for them to be available to pick from the automake tree on project reload.  

When opening the icon file with the GIMP from the automake manager in order to edit it the file saved in the gimp is not the one that appears if you load it from the automake tree again.
Comment 1 Matt Rogers 2005-02-14 15:47:41 UTC
I don't really understand your report:

- What type of project is it? (i.e. C based, C++ based, KDE based)
- Are you making an additional toolbar in your application or in kdevelop?
- Are you adding the three icons to your project? And if it's a KDE project are you using KDE_ICON?

Please provide a clear way to reproduce this (preferably an exact set of instructions) and get back to us.
Comment 2 Chris Horler 2005-02-21 21:58:18 UTC
Apologies,

It is a KDE project written in C++
I am making an additional toolBar for my application
This toolBar uses custom icons in it.

The issue occurs when I expand the 'Automake Manager' to add the icons via the contextual menu on 'icon data' - add icon.  I type in my action name to the dialog box and sure enough a file is written to disk and shown in the tree.  However, after saving and exiting KDevelop, reopening and loading the project the icon no long appears in the tree under 'icon data'.  I have tested this in KDevelop 3.1.0 and it still happens.

I hope this is of help.

The second part related to editing the file listed in the tree, but it's not as important as the first one - one may affect the other I suspect.  It relates to the 'Open With ' contextual menu not working as expected when opening a file.  This appears fixed in KDevelop 3.1.0

I've tried with KDE_ICON to both AUTO and the project name it doesn't seem to affect the problem (the icons do appear in my application as I would expect).
Comment 3 Daniel Franke 2005-02-21 22:41:32 UTC
Can't confirm for kdevelop 3.1.92, CVS 050210.

 * Simple KDE C++ project
 * Automake Manager -> Icon data in kde_icon -> Add Icon -> fooaction -> hi16-app-fooaction.png is created in $PROJECTDIR/src
 * close project, shutdown kdevelop, start kdevelop, reopen project
 * Automake Manager -> Icon data in kde_icon lists hi16-app-fooaction.png
Comment 4 Jens Dagerbo 2007-01-13 12:12:26 UTC
2 years later and I can reproduce it either in KDE project using KDE_ICON.