It is currently Wed Jul 24, 2024 6:35 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 235 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 12  Next
Author Message
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 12:22 am  (#41) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Graechan wrote:
no problems there this script has 30 option dialogues
[ Image ]
menu location Script-Fu/Create New/Test Script for [script-fu.exe]

Excellent, Greachan. That will make a great testing script. :bigthup

It's good to know that it's staying on the screen in Windows, no matter how tall the Script-fu dialog is.

After thinking his over a bit, I don't think there is much I can do about the Windows taskbar in the script-fu interface. I can't really make any assumptions about where the Windows taskbar might be and I don't see any GTK commands to deal with it directly (except to keep in from appearing on the taskbar as an icon).

About the only thing that might be reasonable to do would be to compare the size of dialog against the actual screen size and set the dialog to the screen size, minus a fixed amount for the taskbar. It's something to consider.

This method would keep the buttons from being hidden in Windows (when the taskbar was visible) but it would also break the elegance of how it now works in Linux. My inclination is to leave it as is, and let Windows users manually adjust it, or hide their taskbar. Some users, like Graechan, keep their taskbar on the side so it doesn't really matter to them.

I'm open to any ideas or suggestions.

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


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 5:46 am  (#42) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Your right GnuTux trying to compensate for windows shortfalls is not worth the agro

p.s. I'd love to know how Pogo compiled the 64bit version

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 6:07 am  (#43) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Works well Graechan. Why don't you ask him?

_________________
Image


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 7:01 am  (#44) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14729
Location: USA
Pogo i forgot about GLIB duh. :) Thanks.

Pogo probably compiled GIMP entirely Graechan. :)
Tux that first shot i showed is how it appears on load for me. Here is Graechans test script and this is Windows 8.1 By the way my task bar is at the top and hidden.

Image

_________________
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: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 7:08 am  (#45) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
That looks pretty good to me, Rod. It should work out fine on your setup. :2thup

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


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 1:37 pm  (#46) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14729
Location: USA
molly wrote:
[molly@localhost ~]$ su -
Password:
[root@localhost ~]# caja
Initializing caja-image-converter extension
Initializing caja-open-terminal extension

** (caja:5370): WARNING **: Failed to get the current CK session: GDBus.Error:org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '5370'

(caja:5370): GLib-GObject-WARNING **: gsignal.c:2593: instance `0x2726200' has no handler with id `3289'

(caja:5370): GLib-GObject-WARNING **: gsignal.c:2593: instance `0x23cbf20' has no handler with id `2997'

(caja:5370): GLib-GObject-WARNING **: gsignal.c:2593: instance `0x23e1680' has no handler with id `3004'

GnuTux wrote:
GnuTux wrote:
Molly, I'm going to setup to compile for V2.8.10 soon. You can probably use the script-fu plug-in from that in F19.

Here is the script-fu executable compiled for GIMP 2.8.x on Linux_x64 and tested with Fedora 18 & Fedora 20.

In Fedora , you should find the plug-in located at /usr/lib64/gimp/2.0/plug-ins/

In MATE, you'll need to run caja, as root, to swap out the files.

Back up the script-fu that's in there now and replace with this one. Then, reboot GIMP.


I opened caja in root and here is what I got.
[ Image ]

I don't know what caja is. Anyway I got to ( /usr/lib64/gimp/2.0/plug-ins/ ) and it won't let me remove that script-fu plug-in, so I went to my user plug-ins and stuck the new one in there and now my fire script works, as shown above.

Yep, any plugin in the user folder directory should over ride any in the program directory.

_________________
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: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 1:43 pm  (#47) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
For testing the plug-in, it might be a good idea to place the modded version in its own directory and add that directory to the Plug-ins search path (in Edit->Preferences:Folders). Then you can switch between the two versions by re-arranging the order of the folders.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 2:38 pm  (#48) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thanks Saul.

_________________
Image


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 4:56 pm  (#49) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
@Molly - caja is the MATE file browser so I suggested using that to replace the file. You need root access to replace files outside your user folder. Look likes you got it figured out. :hehe

@Rod - I'm sure that's true because the user folder is normally specified first in Edit/Preferences/Folders.

@saul - That's a good idea. I've noticed that if you have the same plug-in/script in two different folders, GIMP throws a "duplicate" error message.

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


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 6:25 pm  (#50) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I will try it from terminal when I get back to Fedora. I am cleaning up my windows and getting rid of a lot of garbage right now, so might take a while.

_________________
Image


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 8:05 pm  (#51) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
You were right. I did get this error on terminal startup, but I dont think it has anything to do with your new script.
Skipping duplicate plug-in: '/usr/lib64/gimp/2.0/plug-ins/script-fu'
fp-script-fu-anim-path-stroke: image-type contains unrecognizable parts:'RGB* GRAYSCALE*'
Image pixel data corrupt

_________________
Image


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 8:58 pm  (#52) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
molly wrote:
Skipping duplicate plug-in: '/usr/lib64/gimp/2.0/plug-ins/script-fu'

Yep. That's the warning I was referring to. It's not a big deal, as long as it's loading the new one first. GIMP will just ignore any duplicates it finds in other folders and throw that warning message.

I didn't get the other error you got when running the Fire Animation script.

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


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 9:12 pm  (#53) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
A new release of the Script-Fu interface code is ready for testing. I'm updating the first post in this thread with the new source code.

Thanks to saulgoode for eliminating the shadow borders, which gives the interface a cleaner look, like it had before the modification.

Without Scroll Bars
Image

With Scroll Bars
Image

If someone could compile this new version for Windows (x64) and/or Window (x32), it would be most appreciated.

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


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 9:56 pm  (#54) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
As a heads up for those testing this modification, I encountered a bug while making sure that drag-n-drop still worked with the new interface. Drag-n-drops for patterns and brushes do not work, while all the other ones (gradients, fonts, colors, palettes, etc) seem to function just fine.

This problem* is not the fault of GNUtux's modification -- it exists in the unmodified Script-fu interface and I am fairly certain would occur with non-Script-fu plug-ins (though I am unable to think of any existing plug-ins that incorporate either pattern or brush arguments). The bug causes no problems, other than the drag-n-drop operation failing.


* The bug can be verified by using d-n-d to set the pattern in the "File->Create->Logos->Textured" script; or by installing the test-sphere.scm script and dragon dropping either a brush or a pattern.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 10:10 pm  (#55) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
I ran across this bug when I was testing too. Here is the console error I get from GIMP 2.9.

LibGimp-CRITICAL **: gimp_pattern_select_button_set_pattern: assertion 'GIMP_IS_PATTERN_SELECT_BUTTON (button)' failed

This might be a good time to look at this bug, as well. :cool

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


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 11:04 pm  (#56) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
I don't even know what drag and drop is or how to use it DUH!

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Wed Feb 26, 2014 11:38 pm  (#57) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Graechan wrote:
I don't even know what drag and drop is or how to use it DUH!

Rather than selecting resources like gradients, fonts, colors and palettes directly from the script-fu dialog, you should be able to drag and drop them onto the script-fu dialog from the resource's dialog.

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


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Thu Feb 27, 2014 12:28 am  (#58) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
as soon as I try the script-fu menu dialogue dissappears n.b. single window mode

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Thu Feb 27, 2014 12:40 am, edited 1 time in total.

Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Thu Feb 27, 2014 12:38 am  (#59) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
With a script dialog up, you can't move over and scroll down your list of gradients or fonts?

Where does the script dialog go?

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


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Thu Feb 27, 2014 4:26 am  (#60) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thanks for the update, Tux and Saul, works perfectly.

_________________
Image


Top
Post new topic Reply to topic  [ 235 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 12  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) SCROLLING SCRIPT-FU dialog modification

9

No new posts Attachment(s) Script-Fu Scrolling Interface V1.1 for Windows10 GIMP 2.10.16_64bit

4

No new posts Attachment(s) Script-Fu Scrolling Interface V1.1 for GIMP 2.10.18 Linux Ubuntu 64bit

4

No new posts Attachment(s) SCROLLING INTERFACE HELP

2

No new posts Attachment(s) Logo Toolbox Scrolling interface for GIMP 2.10.18

10



* Login  



Powered by phpBB3 © phpBB Group