Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
64 user(s) are online (48 user(s) are browsing Forums)

Members: 1
Guests: 63

sierratu, more...

Support us!

Headlines

Report message:*
 

Re: Enhancer Bug thread

Subject: Re: Enhancer Bug thread
by Raziel on 2019/7/16 18:52:49

@broadblues

No need for a script, here it is:

You need to add your own images, i can't add them here.
And all the "RHINGIO" lines have to be merged together in one (word wrapped)

/*
Notification problems with UPDATE and PERCENTAGE
*/

ADDRESS RINGHIO
'REGISTERAPP APP=Test_APP ICON=System:Disk.info Test_APP'

/*
First we open a nice and clean notification window, which will stay forever,
until closed manually.
*/
'RINGHIO APP=Test_APP PRI=10 IMG=image1 IMGVALIGN=0 NOLOG TITLE="Test_APP" This is our Test_APP...'
ADDRESS COMMAND 'Wait 5'

/*
Now we add the UPDATE switch to be able to change the icon displayed and stay with
the same ntoification window without the need of having another one opened.
*/
'RINGHIO APP=Test_APP PRI=10 IMG=image2 IMGVALIGN=0 NOLOG TITLE="Test_APP"
Image should have changed, text is longer too, the whole window grew in size. But due to the
missing UPDATE switch it will open a new notification window'
ADDRESS COMMAND 'Wait 5'

/*
Back to the clean one with short text, but this time with UPDATE and PERCENTAGE
both in place. We also try to change the displayed image back (which won't
work, due to PERCENTAGE permitting it).
*/

'RINGHIO APP=Test_APP PRI=10 PERCENTAGE=50 UPDATE IMG=image1 IMGVALIGN=0 NOLOG
TITLE="Test_APP" Back to our Test_APP...still no new image.'
ADDRESS COMMAND 'Wait 5'

/*
This will be a little demonstration of PERCENTAGE without a number attached to
it. It will draw the bar, but with "0%".
*/

'RINGHIO APP=Test_APP PRI=10 PERCENTAGE UPDATER IMG=image2 IMGVALIGN=0 NOLOG
TITLE="Test_APP" An empty progress bar...'
ADDRESS COMMAND 'Wait 5'

/*
The PERCENTAGE bar was now in place with the last two notifications, now comes
the third and final one which will demonstrate the broken drawing if new (and
longer) text is added.
*/
'RINGHIO APP=Test_APP PRI=10 PERCENTAGE=66 UPDATE IMG=image2 IMGVALIGN=0 NOLOG
TITLE="Test_APP" If this was a really important message, one could probably not read the whole of it,
due to the PERCENTAGE "bug"...'
ADDRESS COMMAND 'Wait 5'

/*
Wrapping everything up again
*/

'RINGHIO APP=Test_APP UPDATE PRI=10 IMG=image1 IMGVALIGN=0 NOLOG
TITLE="Test_APP" ...and everythings back to "normal, icon changed and long text is
readable without being obstructed.'

EXIT 0


Thank you for taking a look.

And while i'm at it, would it be possible to add (or rather merge) a new Setting option for Notification windows?

In Preferences/Pop-up Message Preferences/Effect i'd love to have a combination of "Rounded corners" and "Drop Shadow".

"Drop Shadow" for itself only works with straight rectangular windows (which look ugly on the default WB theme, imho) and "Rounded corners" for itself look totally off due to not featuring a shadow.

Thank you

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project