Webconverger resets even when on homepage

87 views
Skip to first unread message

gla...@gmail.com

unread,
Jan 23, 2013, 1:19:13 PM1/23/13
to webc-...@googlegroups.com
I have kioskresetstation set to 5 minutes and I have a homepage set. However, it seems that every once in a while the kiosk resets even though the browser is already at the homepage. Is this a known bug or is my setup somehow misconfigured? 

One possibly relevant detail I've noticed is that even though I have a homepage URL set using the API and the kiosk does load the homepage when it boots, the address bar is actually empty. Is that expected behavior?

Thank you!

Kai Hendry

unread,
Jan 23, 2013, 7:41:46 PM1/23/13
to webc-...@googlegroups.com
On 24 January 2013 02:19, <gla...@gmail.com> wrote:
> I have kioskresetstation set to 5 minutes and I have a homepage set.
> However, it seems that every once in a while the kiosk resets even though
> the browser is already at the homepage. Is this a known bug or is my setup
> somehow misconfigured?

It's a known bug if there is no page title:
https://github.com/Webconverger/webc/issues/24

> One possibly relevant detail I've noticed is that even though I have a
> homepage URL set using the API and the kiosk does load the homepage when it
> boots, the address bar is actually empty. Is that expected behavior?

That's expected. Firefox does that by default for some bizarre reason
and I've not made the effort to make it less surprisingly in that
regard.

Kind regards,

gla...@gmail.com

unread,
Jan 24, 2013, 1:35:46 PM1/24/13
to webc-...@googlegroups.com, hen...@webconverger.com
Thanks for your response.

My homepage does have a <title>, so I'm wondering why this would be happening. Any other possibilities?

Kai Hendry

unread,
Jan 24, 2013, 10:44:36 PM1/24/13
to gla...@gmail.com, webc-...@googlegroups.com
Firstly thanks for reporting this issue. I see the problem.

For want of a better way, we use X org window properties to figure out
the page name:
https://github.com/Webconverger/webc/blob/master/usr/bin/kioskresetstation#L45

We save the first page name we see and then we compare it. If it's
changed of the time is elapsed, we kill X.

The bug is that for some reason Firefox is not reporting the page
title for the homepage any more.
http://s.natalian.org/2013-01-25/xwininfo.png

I'm pretty sure it used to, so there is a regression somewhere. Just
filed a new bug https://github.com/Webconverger/webc/issues/134

A page name is seen when you navigate away from the homepage, so
kiosks do reset if you visit more than 1 page. This bug is on the top
of list to solve.

Many thanks,

Kai Hendry

unread,
Jan 25, 2013, 1:22:53 AM1/25/13
to gla...@gmail.com, webc-...@googlegroups.com
This is a funny bug indeed. Lucky I randomly tested with a kiosk at
http://hackerspace.sg/ which triggered this.

Does your title have a unicode character like &#8211; in it?

gla...@gmail.com

unread,
Jan 25, 2013, 3:50:53 PM1/25/13
to webc-...@googlegroups.com, gla...@gmail.com, hen...@webconverger.com
Thanks for the quick response!

My <title> is alphanumeric; no unicode characters. 

Joshua Cowles

unread,
Jan 25, 2013, 9:55:42 AM1/25/13
to webc-...@googlegroups.com, gla...@gmail.com
I have essentially the same problem.  No unicode characters in the title.  Just five capital letters.  I didn't consider it a bug, because I didn't realize that Webconverger made any attempt to see if the browser had been used before resetting, but it certainly would be nice to have it only reset if necessary.




--
You received this message because you are subscribed to the Google Groups "Webconverger Users" group.
To post to this group, send email to webc-...@googlegroups.com.
To unsubscribe from this group, send email to webc-users+...@googlegroups.com.
Visit this group at http://groups.google.com/group/webc-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.





--
Josh Cowles
Fond du Lac Public Library
920-539-4569 (On-Site)
techs...@fdlpl.org (IT Requests)

Kai Hendry

unread,
Jan 27, 2013, 9:56:09 PM1/27/13
to webc-...@googlegroups.com
Hi guys,

The latest build: http://build.webconverger.org/latest.iso

Should have this bug #134 fixed. I tried with the settings:

homepage=http://title.webconverger.com/cap.html
kioskresetstation=1

And it works. If it doesn't for you, could you please provide a test
case URL in which it does?


Kind regards,
Reply all
Reply to author
Forward
0 new messages