XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Jun 23日 12:40

All times are UTC - 8 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: 2016年 Mar 16日 08:09 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 480
This request is to allow the default image to display any type of image and not just a static PNG.

This would include an animated GIF, APNG, .ANI or other image format.

This would give the widget the capability of displaying an animated hourglass image or other animation whilst the widget is loading.

At the moment I am using default.png to display a static hourglass image,

Image

Other of my widgets can handle an animated GIF or I run a function that animates a series of PNG images whilst the widgets initialises. However at an Xwidget startup the image I am restricted to is a static PNG which is inadequate for my needs.


Attachments:
Default.png
Default.png [ 1.27 KiB | Viewed 1137 times ]


Last edited by yereverluvinuncleber on 2016年 Apr 15日 05:54, edited 3 times in total.
Top
 Profile  
 
PostPosted: 2016年 Mar 16日 09:27 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4494
You mean "animated previews"..? In theory will be cool, but I'm afraid that pratically it will increase the ram/cpu of the XWidget engine a LOT. And XWidget is great among other similar programs because of the lower usage.

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: 2016年 Mar 16日 12:18 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 480
No of course not! At the moment you could append a PNG the size of a house...

The request is just simply to allow any other supported image type, not just PNG.

IF you wish to include an animated GIF then you should be able to - but it should also support a JPG or other image type. My particular need is for a .ANI file is very small indeed. No-one is being forced to bundle large GIFs.


Top
 Profile  
 
PostPosted: 2016年 Mar 19日 09:58 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4494
I think that Tony added support only for pngs simply because of the transparency. I don't know if is only for visual reasons when you open the dock, or just because the 95+ percent of the widgets are made with png images! :)

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: 2016年 Mar 19日 15:16 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 480
Animated PNG would be sufficient.


Top
 Profile  
 
PostPosted: 2016年 Apr 8日 06:21 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 480
The default image is displayed on the widget startup. As this is a static image and there can be a delay while the image initialises (especially if a number of widgets are started simultaneously) then it would be useful to have an image of a rotating hourglass or similar. My widgets are designed to be quite large so that they can have plenty of detail and massive zoom if required by the user. They resize automatically to the user's last set size. For that moment or two before the widget is ready to run the default image would be a useful place to display a rotating hourglass - or other animation of the user's choice.

At the moment I display a static hourglass and that does not really do the job. If the widget engine was capable of displaying an animated gif or png then the rotating hourglass would be easily achieved.


Top
 Profile  
 
PostPosted: 2016年 Apr 8日 08:19 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4494
Adding extra animations surely will not increase the loading time of the widgets and thisbis not good. To not have the image that is showing during loading and avoid this 'freeze' image for your widgets you can simple create an empty default image. Uncheck ALL the components of your widgets and then click to create the default image.

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: 2016年 Apr 9日 05:47 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 480
No, it should have negligible impact. The loading times of multiple widgets is quite long anyway so it will make no difference. In any case as you stated there is a choice to create an empty image for those that want it (it does not help at all in loading times), the point is this is a FEATURE REQUEST to the developer that provides a choice of image types at little cost. At the moment there is a significant delay at widget loading times and a simple hourglass would be easy to achieve. Please note this feature request is aimed at the Developer in the absence of a proper system for logging bugs and feature requests.


Top
 Profile  
 
PostPosted: 2016年 Apr 9日 12:11 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4494
Question: Why you always act like this? Not all can have the same opinion with you or what you say is always right and the others have wrong..You're a prof designer and surely you know more than me for technical part, but after 4 years around here and with more than 2000 widgets I have learn something, no? The loading time depends a lot on the script code, if there is any and most of all the length of it.. Your widgets use complicate and very long scripts so it's logical some delay.. And the mode of this automatic resize not helps. I agree that the engine needs some optimization and the hourglass request is good but it is more for the esthetic part I think. I don't know if Tony with the v2.0 will optimize this part too, but for now you can create these empty default images.

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: 2016年 Apr 9日 17:02 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 480
It isn't an opinion - I raise these as feature requests for the developer in the absence of a bug/feature request system. I'm not interested in obtaining information from others, if I was I would raise my post as a request for help. Then I would say thankyou when help was given. I'm not looking for help here I am looking to raise a feature request to the developer alone. That will be my response on all Feature Requests.

You may not have used a bug reporting/feature request system before so you are still responding as if these are forum posts where discussion is the norm.

This feature request is simply for support of additional image types for the developer. I want to raise it then forget it until the developer responds. You may want to do the same for your requests.

I won't respond on this thread anymore as it is a feature request and I don't want to debase it into a chat, feel free to chat with me on other channels/threads.


Top
 Profile  
 
PostPosted: 2016年 Apr 9日 17:35 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4494
The topics exist to discuss, help, finding solutions, agree or disagree. As Moderator I'm telling that it's bad have just simple empty dead posts without opinions.
This is the meaning of having FORUM!
And the people have to be ready and accept the different opinions.
Topic locked

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: 2016年 Apr 17日 06:02 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 480
If you want an hourglass in your xwidget you can add some code to a timer:

busy.visible = true; // the hourglass image
busyBlur.visible = true; // the hourglass shadow
busyCounter = busyCounter + 1 ;
if (busyCounter >= 7) {busyCounter = 1};
busy.src = "Resources/busy-F" + busyCounter + "-32x32x24.png";

The hourglass images are attached. It does not help during the delay when Xwidget starts but it might be useful elsewhere.


Attachments:
busy-animate-files.zip [11.17 KiB]
Downloaded 65 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group