ID:1752149
 
BYOND Version:507
Operating System:N/A
Web Browser:N/A
Applies to:Webclient
Status: Unverified

Thus far we've been unable to verify or reproduce this bug. Or, it has been observed but it cannot be triggered with a reliable test case. You can help us out by editing your report or adding a comment with more information.
The WebClient is rendering differently from the BYOND client. Wondering if this is a bug or something we'll need to deal with. No matter the screen size on all devices, the webclient renders those images about 32 pixels off.

The images are 192x192 and the world is using the default icon size (32).

The yellow border is supposed to be a highlighting rect which is also a 192x192 image and its in the expected location.

Left: WebClient
Right: BYONDClient



Here's the code that draws the images. 192 / 32 = 6.
var/offset = 1;
for(var/i = 1; i <= listOfImages.len; i++)
{
var/turf/t = locate(offset,1,1)
var/image/j = new(listOfImages[i])
j.loc = locate(t.x, t.y, t.z);
m_listOfMenuImages.Add(j);
src << j
offset += 6
}


This is how the scroll gets added which shows you where X:0 is.
add(0, 16, icon = '192x192.dmi', icon_state="scroll")


That tells me the WebClient is rendering off map by 32 pixels some how.

Here's my view. Hrmm, as I test it, I see that it's a key factor. Adjusting the view size causes the underlaying images to shift around.
view = "60x13"


Changing the view to "61x13" fixes the problem. The WebClient and BYONDClient now render exactly the same.

Not sure if this is by design or a bug.
I believe this is a bug. If you can work up a quick test case for this it'd help me out a lot. That'll be much easier to figure out. I've done some testing with even view sizes but there appears to be something about your case that my tests didn't catch.
It's not reproing. I may have came across this issue earlier in the day and before I upgraded to latest. I'll repost the example if I run into it again. Sorry.
No problem. I'll mark as Unverified for now but if you come across a case that does show it, and can distill an example I can test, I'll be happy to look into it.
Lummox JR changed status to 'Unverified'
Here's my view. Hrmm, as I test it, I see that it's a key factor. Adjusting the view size causes the underlaying images to shift around.





____________________________
Decrease your exam stress by using our latest [url=http://www.certkiller.info]70-416[/url] and best quality [url=http://www.bgu.ac.il/]www.pwr.wroc.pl[/url] and passguide. We provide with 100% pass guarantee along with and [url=http://www.pittstate.edu/]www.pittstate.edu[/url]