It is currently Thu Mar 28, 2024 7:44 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 235 posts ]  Go to page 1, 2, 3, 4, 5 ... 12  Next
Author Message
 Post subject: Script-Fu Interface Scrolling Modification V1.0 Official Release
PostPosted: Tue Feb 25, 2014 7:38 am  (#1) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Script-Fu Interface Mod V1.0 is a drop-in replacement for GIMP’s Script-Fu interface, allowing the dialog to scroll as needed. This solves the ongoing issue where script input items cannot fit on smaller resolutions displays.

If the script interface fits on your screen, you should not be presented with scroll bars.
Image

If the script interface is too large for the screen, you will be presented with scroll bars. You also have the option of grabbing the edge/corner of any script-fu dialog and manually resizing.
Image

Installation
Copy the binary executable, corresponding to your OS, to the GIMP plug-ins folder.

Download The Binary Executables For Your OS From GIMP Scripts
(Source code also available).

Report any problems/issues back to this thread.

A big THANK YOU goes out to all those who supported this effort, including all the testers and those who compiled this modification for the various operating systems.

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


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: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 7:56 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Will do, and thanks again Tux. :)

_________________
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: Tue Feb 25, 2014 8:07 am  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I would like to try it but I can't compile. looks good though

_________________
Image


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 9:57 am  (#4) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
molly wrote:
I would like to try it but I can't compile. looks good though

I noticed that GIMP 2.8 packaged by Fedora stores all the built-in plugins as shared libraries under /usr/lib64/gimp/2.0/plug-ins.

When I compile GIMP 2.9.1, instead of plug-ins being shared libraries, I get executables. I'm not sure what's up with that. Maybe someone here knows. I figure it's something to do with the way GIMP is complied/linked that determines this and there's some makefile switches/arguments that control it.

_________________
“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: Tue Feb 25, 2014 10:04 am  (#5) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
GnuTux wrote:
When I compile GIMP 2.9.1, instead of plug-ins being shared libraries, I get executables. I'm not sure what's up with that. Maybe someone here knows. I figure it's something to do with the way GIMP is complied/linked that determines this and there's some makefile switches/arguments that control it.

DId you pass the --disable-static flag to ./configure ?

Edit: they should still be executables even if they are in the /usr/lib64/ directory tree.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 12:25 pm  (#6) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
I just looked though my bash history and no I didn't add that switch. I actually used autogen.sh. It's about time to grab the latest GIMP source and compile again. I'll add that flag next time. :hehe

_________________
“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: Tue Feb 25, 2014 12:31 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 27, 2011
Posts: 707
Gnutux
I have no idea how to compile
sorry


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 12:51 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 123
It works great.Tested under Windows 7 64-bits Gimp 2.8.10 (official release). Laptop 15.6-inch.
Many thanks to GnuTux.
script-fu.exe for Windows 64-bits in the Annex
Image
Image


edit: added binary Script-Fu Interface Mod - Official Release V1.0 For Windows_x64


Attachments:
Script-fu-interface-Mod-Official-Release-V1_Win_x64.zip [75.92 KiB]
Downloaded 516 times

_________________
Image


Last edited by pogogogo on Sat Mar 01, 2014 10:42 am, edited 2 times in total.
Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 1:14 pm  (#9) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Thank you for testing and for the Windows Binary , pogogogo.

Did the dialog expand to use the entire screen when you used a script that normally doesn't fit on the screen? I noticed in both your examples that you still had room available on the screen for the 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: Tue Feb 25, 2014 2:09 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Cool Pogo, and thanks. I kept getting this strange error compiling gegl.
make[1]: Leaving directory `/env/src/gegl-0.1.8/operations'
Making install in bin
make[1]: Entering directory `/env/src/gegl-0.1.8/bin'
  CCLD   gegl.exe
c:/petit-msys-mingw-gimp28/base/c/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../..
/../i686-w64-mingw32/lib/../lib/crt2.o: In function `_mingw_prepare_except_for_m
svcr80_and_higher':
/home/ruben/mingw-w64/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:436: undefined re
ference to `__mingw_get_msvcrt_handle'
collect2: ld returned 1 exit status
make[1]: *** [gegl.exe] Error 1
make[1]: Leaving directory `/env/src/gegl-0.1.8/bin'
make: *** [install-recursive] Error 1

Rod@Rods /env/src/gegl-0.1.8
$

_________________
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: Tue Feb 25, 2014 2:26 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Gimp perfection. :)

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: Tue Feb 25, 2014 2:35 pm  (#12) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Thanks, Rod.

Can you confirm that the dialog expands to use the entire screen when you use a script that normally doesn't fit on the screen? What I mean is, does the dialog run off the bottom of the screen at any point or does it always stop right there at the edge and display scroll bars?

_________________
“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: Tue Feb 25, 2014 3:32 pm  (#13) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Would I be able to use the same compile as you Tux to try that out? Or is it a different one using Fedora20?

_________________
Image


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 3:47 pm  (#14) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Molly, I only have it compiled for GIMP 2.9.1 at present. 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.

_________________
“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: Tue Feb 25, 2014 4:10 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 123
@GnuTux When I run the script I have such a window. Image Your fix allows you to scale the size of the window to allow for the normal use of scripts. My examples from the first post are already scaled.
Thank you once again.


Rod wrote:
Cool Pogo, and thanks. I kept getting this strange error compiling gegl.
make[1]: Leaving directory `/env/src/gegl-0.1.8/operations'
Making install in bin
make[1]: Entering directory `/env/src/gegl-0.1.8/bin'
  CCLD   gegl.exe
c:/petit-msys-mingw-gimp28/base/c/bin/../lib/gcc/i686-w64-mingw32/4.6.3/../../..
/../i686-w64-mingw32/lib/../lib/crt2.o: In function `_mingw_prepare_except_for_m
svcr80_and_higher':
/home/ruben/mingw-w64/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:436: undefined re
ference to `__mingw_get_msvcrt_handle'
collect2: ld returned 1 exit status
make[1]: *** [gegl.exe] Error 1
make[1]: Leaving directory `/env/src/gegl-0.1.8/bin'
make: *** [install-recursive] Error 1

Rod@Rods /env/src/gegl-0.1.8
$


GLIB compile before GEGL?

_________________
Image


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 4:32 pm  (#16) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
If your graphics driver supports the xrandr extension* then you could run GIMP within an Xnest window and specify a smaller screen size. (Note: the machine I am on right now does not support xrandr so the screenshot below shows GIMP running within KDE on a machine that does, tunneled across my network.)

Xnest :1 -ac -geometry 800x600 &
gimp --display :1


Image

* To test if your randr extension is available, check the output of the following command:
grep RandR /var/log/Xorg.0.log

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 4:38 pm  (#17) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7694
Location: On the other side of this screen
Don't know if you can do the same thing but when we used to do 'tables for background purposes' in web pages we would put 100% in the code. (It would fit anyone's screen no matter what the size.)
Is there a one size fits all here with the scrolling included?

_________________


Last edited by sallyanne on Tue Feb 25, 2014 5:17 pm, edited 1 time in total.

Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 4:47 pm  (#18) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
GnuTux wrote:
Molly, I only have it compiled for GIMP 2.9.1 at present. 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.

:tyspin :yes

_________________
Image


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 5:22 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
Is this the official release of the plug in and what folder does it belong in once it's downloaded?


Top
 Post subject: Re: Testers Needed: Script-Fu Interface Scrolling Modification
PostPosted: Tue Feb 25, 2014 5:58 pm  (#20) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
@sallyanne - If the dialog is too large to fit the screen, it should stop at the bottom of the screen and display scroll bars. In the old version, it just ran off the screen and in Windows, there was no way to access the rest of the dialog. The goal here is to come up with the best method to allow full access to the dialog.

@mackenzieh - This is a testing version. To install in GIMP 2.8 Windows 64bit, replace the script-fu-exe file on your system with the one posted by Pogogogo. Make a backup copy of your old version before using this one.

@saulgoode - I've tried several screen resolutions in Linux and it works well in all of them. The dialog always stops at the screen's edge and displays scroll bars. In Pogogogo's example, there is a translucent bar at the bottom. I'm not sure if that is an auto-hiding bar or what, but it doesn't look like the dialog stopped there. However, it does look like GIMP's single window stops there. It's kinda hard to tell what's going on.

Image

I think in Windows, the dialog might not be stopping at the screen's edge. Can someone with Windows test this and let me know? What I want to know is, does the dialog run off the bottom of the screen at any point or does it always stop right there at the edge and display scroll bars?

FP's animated fire script (full version) would not fit my screen in either direction, but with this modification, it works as expected. In Linux, the script dialog stops right at the screen edge and it displays scroll bars. Hopefully, it works the same way in Windows.

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


Top
Post new topic Reply to topic  [ 235 posts ]  Go to page 1, 2, 3, 4, 5 ... 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 For GIMP 2.10.10_Win32bit

0

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



* Login  



Powered by phpBB3 © phpBB Group