It is currently Tue Dec 12, 2017 9:14 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 64 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Tue Dec 16, 2014 7:29 pm  (#41) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4698
Location: Bendigo Vic. Australia
Saulgoode is this a response by Gimp to bug reports sent to them about the plugin or is it generated by them
and if so does this mean they are taking the plugin seriously

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


Top
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Tue Dec 16, 2014 7:39 pm  (#42) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
It means if those three (two?) items are addressed satisfactorily then the plug-in will (most likely) be in the next version.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Tue Dec 16, 2014 7:54 pm  (#43) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4698
Location: Bendigo Vic. Australia
That is Great news For GnuTux and all users

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


Top
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Tue Dec 16, 2014 9:05 pm  (#44) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4698
Location: Bendigo Vic. Australia
Saulgoode The 3 items to be addressed seem confusing to me, would you be able to explain better Item 1/
1/ the magic numbers don't work because of themes
2/ the table must not grow when the dialog is resized
3/ there probably should be no scrolling at all if all widgets fit the screen

example of item 2/ [script-fu interface]
Image
[scrolling script-fu interface]
Image

if they mean by 3/ that menu should not begin scrolling when window made smaller, they are wrong

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


Top
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Wed Dec 17, 2014 12:17 am  (#45) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
1/ The script uses hard values for the border size. These values might be different for different themes (for example, look at the window borders in my screenshots below).
#define BORDER_WIDTH          70 /* GnuTux: Compensate for Border Width*/
#define BORDER_HEIGHT        170 /* GnuTux: Compensate for Border Height*/


2/ Contrast what happens to the widgets when increasing the size of a plug-in's dialog to what happens to a Script-fu's (with the patch applied).
Attachment:
SS-plugin-interface.png
SS-plugin-interface.png [ 60.14 KiB | Viewed 3190 times ]

Attachment:
SS-script-fu-interface.png
SS-script-fu-interface.png [ 19.71 KiB | Viewed 3190 times ]


3/ I believe he is mistaken. But then again he is a sharp guy and maybe he noticed something that I missed (perhaps using a particular theme can cause the scrollbars to appear when they shouldn't). At a minimum, it is a valid point and deserves being emphasized.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Wed Dec 17, 2014 1:25 pm  (#46) 
Offline
Global Moderator
User avatar

Joined: Aug 10, 2012
Posts: 9496
Location: Formerly From NYC, Now in Arizona
I have this installed, but is doesn't seem to be working correctly any more. The scroll bar shows up in dialogs, but when I use it it does not scroll down far enough for me to be able to see the bottom portion of some scripts.
I've resorted to using the Alt Drag windows script again, to be able to move the dialogs around to see the bottoms.

Edit

I recently setup dual monitors. The larger scripts will display entirely on my 17" monitor, but the scroll interface doesn't allow me to scroll down when the dialogs are on the 24" monitor.

Final Edit

I'm able to resize the dialogs, I may have jumped the gun on this issue. So there isn't anything wrong. Image

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image
My YouTube Channel


Top
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Wed Dec 17, 2014 6:02 pm  (#47) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5207
Location: Gimpville
I did see the response from Mitch, which was posted 6 weeks after I initially submitted the patch, raising three issues that would keep the patch from being included in GIMP. I never responded because I was fine with the patch as it was and I really wasn't convinced these "issues" were really valid reasons not to include the patch. From my perspective, they seemed to simply be excuses not to include a patch they really didn't want to include anyway. The overall attitude toward including a scrolling feature in the script-fu was put forth in the very 1st comment.
Quote:
If a Script-Fu dialog is larger than the screen, then this may be an indication that the script is doing a lot more than what this binding is intended for.

This is something I vehemently disagree with. Also, I'm opposed to the entire notion that every dialog must be reduced to the lowest common denominator, which is part of the GNOME guidelines, the same nonsense that gave is the disastrous and ridiculous GNOME3 interface. Another reason I never responded is that I have no desire to argue or defend my choices and if I actually spoke my mind, which I'm inclined to do, it probably wouldn't help matters. :hehe

Now that I have had my rant, let me address each concern individually.

1) the magic numbers don't work because of themes
The fact of the matter is that the original script-fu interface is broken, based on screen resolution, not to mention how it interacts with various flavors of Windows. My patch currently fixes all of these issues by allowing the user to grab the corners and resize the dialog, no matter what theme they are using or what OS they are using. If there is a clean way to dynamically calculate the "magic numbers", so as to fit perfectly on the screen with all possible GIMP themes, OS themes and OS versions, then that would be great. I very much doubt that's the case though. In my opinion, the patch is preferable to the status quo, which is a broken dialog.

3) there probably should be no scrolling at all if all widgets fit the screen
Scroll bars will not be presented when there is room on the screen for the dialog. In Windows 7, it's possible that the very lower section of the dialog will be hidden behind the translucent task bar at the bottom (assuming the user hasn't moved the bar to the side, which is a possibility). This issue is already fixed by the patch because the user can simply grab the edges and resize the dialog manually. If Mitch is suggesting that the user should not be able to manually resize the dialog in this case, then I don't think he's tested it on Windows or has thought it through completely. The advantage of being able to manually resize the dialog, in all cases, is apparent.

2) the table must not grow when the dialog is resized
Personally, I'm fine with this behavior and actually, there is no point in manually increasing the size of the dialog if it fits on the screen so I'm not sure what the big issue here is, anyway. Of the three concerns, if this is the one that prevents the patch from being included in future GIMP versions, I have no problem with modifying the code to keep the widgets from growing when the dialog is manually sized upward.

saulgoode wrote:
The second item has to do with things like color swatches being scaled larger when the dialog is resized. I played around with the code to change this during the summer but did not discover the right approach.

I did the same and did not discover why these widgets got stretched out. All of the flags looked correct to me and I believe I tried all flag combinations with the same results. It might have to do with the way viewports are being used. Perhaps those more familiar with GTK+ implementation can shed some light on this behavior.

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


Top
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Wed Dec 17, 2014 7:08 pm  (#48) 
Offline
GimpChat Member
User avatar

Joined: Dec 08, 2013
Posts: 1088
For what it's worth, I believe the patch is in the best possible hands as it is and maybe it should remain there?

_________________
Image


Top
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Wed Dec 17, 2014 7:49 pm  (#49) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 10237
I re-installed the patch yesterday Tux (after this thread came back to light). I had installed 2.8.14 recently and forgot to install the patch. Probably a good thing since I didn't know 2.8.14 had it's own dedicated patch. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Script-Fu Scrolling Interface V1.1 For GIMP 2.8.14
PostPosted: Wed Dec 17, 2014 7:53 pm  (#50) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
GnuTux wrote:
I did see the response from Mitch, which was posted 6 weeks after I initially submitted the patch,...

Oops. I had received an update when 'scar' had posted to the bug and failed to note the date on Mitch's comment.

Aside: I would prefer if such discussions took place in Bugzilla. Mailing lists tend to become a bitbucket over time. As hard as Bugzilla is to use, it is still easier than the mailing list; especially as the GIMP mailing list can be rather temperamental for extended periods of time. Better still would be for the developers to use forums, but I seem to be alone in that preference.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


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

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Script-Fu Interface Scrolling Modification V1.0 Official Release

234

No new posts Attachment(s) Scrolling Animation Logo Script for GIMP

6

No new posts Attachment(s) Script request for scrolling text banner

4

No new posts Scrolling and Wraps layer animation Script for GIMP

0



* Login  



Powered by phpBB3 © phpBB Group