Cannot set tableview to scroll mode for IE version 7

Forum to discuss the Web client version of Servoy.

Cannot set tableview to scroll mode for IE version 7

Postby lesouef » Sun Dec 07, 2014 5:01 pm

got plenty of these in the server log since v7.4.2:
Cannot set tableview to scroll mode for IE version 7
on all forms using table view mode. behaviour is still correct...
doesn't happen in dev, would be too sweet!, only on server.
has anyone this pb too?
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France

Re: Cannot set tableview to scroll mode for IE version 7

Postby Gabi Boros » Tue Dec 09, 2014 11:19 am

this means that the application server sees your browser as an IE 7, and for
that, it can't use scrolling table view, and switched to paging mode;
if that is different when viewing your app in dev, that maybe because something
is altering the user-agent description string before it got to the server ...
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Cannot set tableview to scroll mode for IE version 7

Postby lesouef » Tue Dec 09, 2014 9:11 pm

i am using IE11 for a long time, but indeed ffox is ok for instance.
I don't really understand that scroll difference as it behaves the same anyway.
what could modify the user agent on the fly?
or is it simply IE11 which has changed its way to report the user agent recently?
we are all fully up to date, and this pb has only a few weeks while the major forms have not been changed for months.
version = 11.0.9600.17207... (quite crazy but that's IE and we keep IE standard because of a sharepoint server whch has specific activeX's.)
i'll try to monitor this with a bit of js and let you know.
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France

Re: Cannot set tableview to scroll mode for IE version 7

Postby Gabi Boros » Wed Dec 10, 2014 2:10 pm

well, you probably don't see the difference because the rows fits inside the table view,
so the scrollbars/paging-controls are not not activated;

by default, Internet Explorer 11 on Windows 8.1 sends the following User-Agent string:
Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko (see http://blogs.msdn.com/b/ieinternals/arc ... ebkit.aspx )

if there is no 'msie' in the user agent string, then Servoy will not consider that IE, so, it never disable the scrolling;
you can see here, in wicket code, that if it has no 'msie' in user agent, it is not considered IE
https://github.com/Servoy/wicket/blob/w ... .java#L145
and then, in Servoy, that it will log & ignore scrolling ONLY if it is IE and it's version number exist and it is lower then 8;
https://github.com/Servoy/servoy-client ... java#L5226
so, I think, the user agent sent by the browser that has no scrolling,MUST have 'msie' in it, but perhaps, somehow, the version check in Servoy sees it as lower then 8 ?
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania

Re: Cannot set tableview to scroll mode for IE version 7

Postby lesouef » Thu Dec 11, 2014 10:47 am

my user-agent is:
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Note that there is an extra member reported when running 64bit: 'WOW64'
Depending on how this is tripped, could that be the problem? as you can see no msie mention of course, so I think we switch here to the wrong message simply because the string is not properly decoded.
Also, the paging of tableviews still works, so this warning is definitly fake.
lesouef
 
Posts: 420
Joined: Thu Oct 20, 2005 8:13 pm
Location: Strasbourg & Paris - France

Re: Cannot set tableview to scroll mode for IE version 7

Postby sovanm » Tue Apr 21, 2015 10:48 pm

Hi,

For my case also many users are reporting the same issue. They are used to with scrolling, but suddenly after updating to latest servoy 7.4.* it is giving the above mentioned warning in server.

If there any quick solution of work around for this?

Thanks
Sovan
sovanm
 
Posts: 99
Joined: Fri Oct 28, 2011 1:55 pm
Location: Bhubaneswar, India

Re: Cannot set tableview to scroll mode for IE version 7

Postby jcompagner » Tue Apr 28, 2015 12:38 pm

7.4.4RC version that is just released as a fix for this.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Cannot set tableview to scroll mode for IE version 7

Postby pierluigi.sottile » Fri Sep 04, 2015 3:53 pm

there is a solution without being forced to update the version from the servoy_7.4.2 to servoy_7.4.4RC?
pierluigi.sottile
 
Posts: 1
Joined: Fri Sep 04, 2015 1:06 pm

Re: Cannot set tableview to scroll mode for IE version 7

Postby Gabi Boros » Tue Sep 08, 2015 9:30 am

If the user chooses to render a site in Compatibility View (click Tools > Compatibility View Settings) then IE will send a User-Agent string that mimics Internet Explorer 7’s UA string:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; Trident/7.0; .NET4.0E; .NET4.0C)
By default, sites in the Intranet Zone render in Compatibility view, so this is the User-Agent string they’ll see.
so, even you have compatibility view enabled, or your app site is in the 'Intranet Zone' (see http://blogs.msdn.com/b/ieinternals/arc ... ebkit.aspx )
Gabi Boros
Servoy
Gabi Boros
 
Posts: 399
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 9 guests