After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 148855 - Keep list of recently used plug-ins
Keep list of recently used plug-ins
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
git master
Other All
: Normal enhancement
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2004-07-30 09:52 UTC by Dave Neary
Modified: 2006-02-20 16:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
keep a list of most recently used plug-ins and provide a "Repeat Recent" menu (16.36 KB, patch)
2006-02-17 11:21 UTC, Sven Neumann
none Details | Review

Description Dave Neary 2004-07-30 09:52:46 UTC
From bug #148731:

------- Additional Comment #4 From weskaggs@primate.ucdavis.edu  2004-07-29
12:23 -------

What I had in mind (and didn't communicate very well) is that I have often used
a plug-in, and then applied something else that is implemented as a plug-in
(such as "normalize"), and wished that I could get back to the first plug-in
without having to find it in the Filters menu again.  But this would not be
trivial to implement, mainly because it is not obvious how the UI would work.
Comment 1 Dave Neary 2004-07-30 09:53:22 UTC
From bug #148731:

------- Additional Comment #5 From Dave Neary  2004-07-30 05:49 -------

The UI would work like the recent files menu. You would have 

Reshow last plug-in
Rerun last plug-in
Rerun -> _1 Gaussian blur
         _2 Plasma
         _3 Edge detect
         _4 Bump map

The implementation would be the tricky part. I guess we would borrow code from
the recent files section, and plug it into the PDB code.

This should be moved to a separate enhancement request, though, since it has
next to nothing to do with the original bug report, which is fixed.

Comment 2 Sven Neumann 2004-07-30 10:41:59 UTC
I wonder where the tricky part is about maintaining an MRU list.
Comment 3 Sven Neumann 2006-02-17 11:21:32 UTC
Created attachment 59567 [details] [review]
keep a list of most recently used plug-ins and provide a "Repeat Recent" menu

This patch is a preliminary implementation. It throws up a few questions, like if we want to provide two submenus ("Repeat Recent" and "Re-Show Recent") or just "Repeat" and if we want these menus to replace the currently available "Repeat Last" and "Re-Show Last" entries or if they should be added below the existing entries.
Comment 4 weskaggs 2006-02-17 16:48:44 UTC
Nice!  I would say that "Repeat Last", "Re-Show Last", and "Re-Show Recent" are all necessary.  Whether "Repeat Recent" is necessary is less clear.  It would not help me all that much with my typical work-flow, but some users might work differently.
Comment 5 Sven Neumann 2006-02-20 16:39:52 UTC
A somewhat improved version is now in CVS. Details can be figured out later.

2006-02-20  Sven Neumann  <sven@gimp.org>

	* app/config/gimpcoreconfig.[ch]
	* app/config/gimprc-blurbs.h
	* app/core/gimp.[ch]: keep a history of recently used plug-ins.

	* app/plug-in/plug-in-run.[ch] (plug_in_repeat): pass an index
	into the plug-in history.

	* app/actions/plug-in-actions.c
	* app/actions/plug-in-commands.c
	* app/menus/plug-in-menus.c
	* menus/image-menu.xml.in: added a submenu with recently used
	plug-ins to the Filters menu. Fixes bug #148855.