XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 7th, 2025, 12:04 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: [Bug] HtmlPanel bugs
PostPosted: April 11th, 2014, 5:33 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
xwidget 1.8.8.1111 portable
===========

1. [Html code or URL] box doesn't support html code as it titled so.

2. there is no properties or command available in script code to change the htmlpanel's url through code.
(something like: htmlpanel1.html=... or htmlpanel1.code=...)

3. when changing one of the width or height of html panel through code the other also changes,
also the x,y (top and left) of the htmlpanel will change without requesting for it.

4. there is no scrollbars or aligning or auto-resizing option available in the htmlpanel
to view the page in correct conditions

===========


Top
 Profile  
 
 Post subject: Re: [Bug] HtmlPanel bugs
PostPosted: April 11th, 2014, 5:56 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Hamid maybe you should check the latest version of XWidget v1.9.1.402 and re-check if the bugs are still there..

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


Top
 Profile  
 
 Post subject: Re: [Bug] HtmlPanel bugs
PostPosted: April 11th, 2014, 6:30 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
jimking wrote:
Hamid maybe you should check the latest version of XWidget v1.9.1.402 and re-check if the bugs are still there..

i didn't update because i see there are some bugs added in newer versions,
can you check these with new version and post the results?


Top
 Profile  
 
 Post subject: Re: [Bug] HtmlPanel bugs
PostPosted: April 11th, 2014, 7:19 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
hamid wrote:
jimking wrote:
Hamid maybe you should check the latest version of XWidget v1.9.1.402 and re-check if the bugs are still there..

i didn't update because i see there are some bugs added in newer versions,
can you check these with new version and post the results?

I use a while the last version and really I don't notice any "new" bugs man..

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


Top
 Profile  
 
 Post subject: Re: [Bug] HtmlPanel bugs
PostPosted: April 12th, 2014, 12:18 am 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
Tested with latest version,
1. [BUG DOES NOT EXIST] HTMLPanel SUPPORTS HTML CODE, only thing is that must be well formed. And yes, the designer doesn't show the preview. You need to debug to see something in live.

2. FEATURE MISSING Setting the URL/HTML in code DOES NOT work.

3. [BUG EXISTS]Resize bugs DO exist. (Sorry that I was running chrome frame inside IE11 on windows7 x64. This could be an issue)

4. FEATURE MISSING Feature missing since long... I would love to have scrollbars. (Wait, there was an HTML trick that shows scrollbars, but unfortunately, with no access to DOM, we couldn't 'inject' anything!)

_________________
Life is a myriad game... Just play it!


Last edited by digigamer on April 13th, 2014, 4:05 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: [Bug] HtmlPanel bugs
PostPosted: April 12th, 2014, 2:58 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
About the n.4 @dg if you check the test youtube widget that I posted here, you will see that the scrollbars exist and the resize right click option DOESN'T WORK. So, all depend on the site or the margins/size of the widget?!

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


Top
 Profile  
 
 Post subject: Re: [Bug] HtmlPanel bugs
PostPosted: April 12th, 2014, 8:38 am 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
XWidget 1.9.1.402 portable
=============
i just tested with latest version and still problems exist...

=============

digigamer wrote:
Tested with latest version,
1. [BUG DOES NOT EXIST] HTMLPanel SUPPORTS HTML CODE, only thing is that must be well formed. And yes, the designer doesn't show the preview. You need to debug to see something in live.
yes, you're right...
i tested again and it works with some of the codes, but not all of them,
since i'm not experienced in html coding, i don't know if it is a bug or not.



Quote:
2. FEATURE MISSING Setting the URL/HTML in code DOES NOT work.




Quote:
3. [BUG DOES NOT EXIST]Resize bugs DO NOT exist. (I never recall they did in earlier versions... or may be for me only, sometimes programs do not work as expected!)
i tried with 2 versions and i have this problem in both of them...
just to more clarify:
when you use only [htmlpanel1.Width+=10] the htmlpanel should only get 10pixel bigger, but it also attach to the top left corner of screen; and if you execute command more and more htmlpanel will go up-left more&more until it completely gets out of the screen
also same happens for other commands but in different way:
([htmlpanel1.Height+=10] ; [htmlpanel1.Top=100] ; [htmlpanel1.Left=100])
to test it out:
you can add each of them to a datetimecoreOnUpdate() to see what happens




Quote:
4. FEATURE MISSING Feature missing since long... I would love to have scrollbars. (Wait, there was an HTML trick that shows scrollbars, but unfortunately, with no access to DOM, we couldn't 'inject' anything!)
i have also some temporary solutions for this:
-you can use <iframe> in an html file and have scrollbars in there
-if you know more on html coding you can also add a input box in the html file and load the url directly from html and without xwidget's commands
-also another solution to have scrollbar is using <frameset> but it only works for first page and after you go to a link, you will lose scrollbar; it can be helpful because it can fit the content to widget, maybe using it together with <iframe> can help



>>and here i should say that:
some of the codes doesn't works through htmlpanel box
but works when i add it to html file and load the html file in htmlpanel code box:
example of this: <iframe> and <frameset>

====================


Top
 Profile  
 
 Post subject: Re: [Bug] HtmlPanel bugs
PostPosted: April 12th, 2014, 1:11 pm 
Offline

Joined: June 18th, 2012, 12:07 am
Posts: 268
Is it possible to add the option in designer to show or hide scroll bars on the html panel, making them part of the html panel not part of the content. :?:
Then the scrolling could be controlled by the widget, this would allow the user or code to position or reposition the content of the panel, with something like htmlpanel1.Xoffset and htmlpanel1.Yoffset


Top
 Profile  
 
 Post subject: Re: [Bug] HtmlPanel bugs
PostPosted: April 13th, 2014, 3:58 am 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
hamid wrote:
i tested again and it works with some of the codes, but not all of them,
since i'm not experienced in html coding, i don't know if it is a bug or not.

In theory, It should support all that your installed version of IE does. If that's too old, and you can't upgrade (XP machine for instance), Grab Chrome Frame.

Quote:
3. [BUG DOES NOT EXIST]Resize bugs DO NOT exist. (I never recall they did in earlier versions... or may be for me only, sometimes programs do not work as expected!)

I'm changing it to MAY EXIST. May be bits and browser has something to do with it.

Quote:
-you can use <iframe> in an html file and have scrollbars in there
-if you know more on html coding you can also add a input box in the html file and load the url directly from html and without xwidget's commands
-also another solution to have scrollbar is using <frameset> but it only works for first page and after you go to a link, you will lose scrollbar; it can be helpful because it can fit the content to widget, maybe using it together with <iframe> can help

That won't be the case if I wanted to show something like a part of twitter.com. Yes, the scrollbars are not an issue unigue to XWidget. It is related to the Mickeysoft's own implementation of IHTMLPanel2... It provides a really poor way to control them.
Quote:
>>and here i should say that:
some of the codes doesn't works through htmlpanel box
but works when i add it to html file and load the html file in htmlpanel code box:
example of this: <iframe> and <frameset>

Something to do with absolute/relative URLs and cross-origin policies. You cannot refer to a different website in your iframe, especially when it is in a local file. Most, if not all levels of security settings shall block it.

jimking wrote:
About the n.4 @dg if you check the test youtube widget that I posted here, you will see that the scrollbars exist and the resize right click option DOESN'T WORK. So, all depend on the site or the margins/size of the widget?!

You use an "IFRAME" to show that youtube widget. That's exactly we're trying to 'inject' to show scrollbars.

_________________
Life is a myriad game... Just play it!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 35 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