It is currently Tue Jul 02, 2024 3:25 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 12:47 pm  (#1) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
What determines the location of scripts in the filter lists?

For example, the list in my Filters > Animation is a hodge podge. Few are alphabetical. The list is very long and it's easy to miss finding a script. :puzzled

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 12:53 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
Good question. Some type of order would be very helpful. I've even noticed scripts changing location in the list. I am already confused enough, haha. If there was some way to order them it would make using them much easier -- well, finding them anyway.

_________________
I refuse to be confused, but am often confused at this refusal.


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 12:56 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
That is a great question. :)
One of many Gimysteries in life. ;)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 1:05 pm  (#4) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
nixnine wrote:
I've even noticed scripts changing location in the list. I am already confused enough, haha.
Yes, I've noticed that too. A script is down in the list, use it, and it may be at the top of the list when you look for it again. ;)

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 1:11 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Oregonian wrote:
What determines the location of scripts in the filter lists?

For example, the list in my Filters > Animation is a hodge podge. Few are alphabetical. The list is very long and it's easy to miss finding a script. :puzzled

They should be alphabetical except for those entries which 1) have been assigned to a particular menu group, or 2) have been added after starting GIMP (these will be sorted alphabetically after restarting GIMP).

Can you post a screenshot of your Animation menu?

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 1:23 pm  (#6) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
:ninja well Saulgoode was faster anyway

###############################
O

It is the alphabetic order but may confuse because it is a alphabetic order that include numbers and simbols,and even blanc spaces (number get before then letters,

as example i wished a script be on top of its submenu, and i got that simply adding a blanc space before the filter name as from
<Image> /Filters/ Light and Shadows/Contrast Mask to <Image> /Filters/ Light and Shadows/ Contrast Mask

the blank space before Contrast make that filter the topmost but i believe would be the same using * or even -

But about fiters jumping i have no clue never happened to me, in theory should not happen except when filters pushed down or up by new additions, but list should remain in alphabetic order

Except AS SOON you add a new scripts and refresh, but once reloaded gimp everything will be again in alphabetical order

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 1:31 pm  (#7) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
It would be nice to have a script/plug-in organizer. Maybe we will see something like that in future releases.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 1:52 pm  (#8) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
I suspect (but never tried to prove it) that location of menu item may also depend on installation type (public vs private).

_________________
Image


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 2:09 pm  (#9) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
GnuTux wrote:
It would be nice to have a script/plug-in organizer. Maybe we will see something like that in future releases.

Doing so would not be trivial. In fact, figuring out a way of doing so would not be trivial.

The difficulty is that GIMP's plug-in system is dynamic and as plug-ins are added to the menus, there is no way of knowing what other plug-ins will be added to the menus (as subsequent plug-ins get registered). Or even to make any assumptions about which plug-ins have already been added to menus.

There is an internal mechanism for grouping menu commands which allows, for example, Select->Grow to appear directly after Select->Shrink in the menus; but I don't believe that mechanism has been made available to plug-ins yet. At least not the ability to define new groups -- one can register plug-ins to existing groups as demonstrated in my Edit->Isolate Script-fu (which registers itself as part of the "<Image>/Edit/Cut" menu group).

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 2:18 pm  (#10) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
saulgoode wrote:
Can you post a screenshot of your Animation menu?
Here's my list. Actually, it's alphabetical sections. I only have to look in two places. I guess I'm just impatient to find what I'm looking for.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 2:32 pm  (#11) 
Offline
Script Coder
User avatar

Joined: Apr 13, 2010
Posts: 244
O, it's actually not that difficult to set up your own menu locations. I had a friend ask me to write all my scripts so that they would appear in a "fencepost" menu. I declined because not everyone wants a fencepost menu (hell, most people don't want a fencepost -- but I digress!) :hehe At any rate, I showed him how to do it himself and he liked being able to organize things to fit his needs. There are minor downsides to doing this, but if you're interested, let me know.

_________________
I'd rate you as an upper-middle-lower-mod with pro-novice-inter tendencies.....and a twist of lime! Of course, my rating scale is completely objectively subjective, but ALWAYS consistently inconsistent.


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 2:36 pm  (#12) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
saulgoode wrote:
... or 2) have been added after starting GIMP (these will be sorted alphabetically after restarting GIMP).

To be a little more precise, the menus will also be re-sorted alphabetically if a new view is created (by opening/creating a second image or by creating a new view for the current one).

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 2:39 pm  (#13) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
fencepost wrote:
O, it's actually not that difficult to set up your own menu locations.

Thank you, I do believe I know how to do that. Put a folder name between the menu name and the name of the script in the script.
This: <Image>/Filters/Decor/Grungy Photo...
Could become this: <Image>/Filters/Decor/fencepost/Grungy Photo...

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 2:41 pm  (#14) 
Offline
Script Coder
User avatar

Joined: Apr 13, 2010
Posts: 244
Yeppers, that's it!

_________________
I'd rate you as an upper-middle-lower-mod with pro-novice-inter tendencies.....and a twist of lime! Of course, my rating scale is completely objectively subjective, but ALWAYS consistently inconsistent.


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 2:53 pm  (#15) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
saulgoode wrote:
Doing so would not be trivial. In fact, figuring out a way of doing so would not be trivial.

Yes, but usually nothing worthwhile ever is.

saulgoode wrote:
The difficulty is that GIMP's plug-in system is dynamic and as plug-ins are added to the menus, there is no way of knowing what other plug-ins will be added to the menus (as subsequent plug-ins get registered). Or even to make any assumptions about which plug-ins have already been added to menus.

I am aware of GIMP's current approach to registering plug-ins. I chose to place my logo scripts under the File/Create/Logos (gimpchat.com), just under the default logos menu in 2.6.1.1. That just seemed to be the logical place for them, plus it gives this site a little free advertising.

The concept I envision would be a GUI that displays all the addon scripts with the ability to drag and drop them to menus other than the default. Would it mean a rewrite of the menu handling system? Yep, but C'est la vie. The way it stands now, there is no telling where the scripts will end up, as it's at the discretion of the author. I always end up having to mod scripts to place them in the menu locations I want. Certainly, there should be much more convenient way of doing that, especially for non-coders.

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 3:01 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I almost always move mine somewhere else.
This was the exact reason i added the script name to my scm and python scripts.So when i open them i know which script does what and where i want them to be located. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 3:53 pm  (#17) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
@ O, ROD
if you want modify the position of your scripts ( could be done for plugin too but is not pratical because will require recompile )
the most simple way may be add a numeric prefix before their name... as "00-animation setting"

Use of number bigger of 9 may be confusing , because in alphabetic order 10 come just after 1 and BEFORE 2 (since 10 "first letter" is 1 .and 1 came before 2 ) but to avoid confusion you may use progressive numbers starting from 00

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 8:05 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I like to locate my scripts according to use not alphabetical or numerical order.For instance if its a logo or text script it gets placed there in create/logos. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 8:46 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
Well, mine are not alphabetically arranged.


Attachments:
screen1.png
screen1.png [ 545.77 KiB | Viewed 1266 times ]

_________________
I refuse to be confused, but am often confused at this refusal.
Top
 Post subject: Re: Location of scripts in filter lists
PostPosted: Wed Jul 06, 2011 9:14 pm  (#20) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
They ARE in alphabetic order BUT divided in 3 groups by 2 divisory lines:
the first line is the most visible, is between Urban Acid and Android Icon, the second is between
Water Reflection and 3D screenshoot.

But no idea of what created that divisory lines

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Where did GIMP save my file, & how do I change default save location

5

No new posts Attachment(s) cli345's cartoon filter as a native GEGL Filter.

10

No new posts Attachment(s) very old scripts

11

No new posts Former GIMP Scripts

8

No new posts Attachment(s) Elsamuko scripts

16



* Login  



Powered by phpBB3 © phpBB Group