Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

+1 vote
658 views
In all the lists with colored bars, like e.g. top caches by Favorites (Wilson) here

http://project-gc.com/CacheStats/TopFavWilson?country=Germany&region=Niedersachsen&county=Braunschweig&submit=Filter

some cacme names and positions do not show. They only appear when hovering over the line. It seems to be the case, if the cache name is longer than a specific length - short cache names are displayed correctly.

e.g. in the link given above, #24 and #26 do not show. All others are fine.

I am using Firefox 33.0, but have also checked in IE 8, where exactly the same happens.
in Bug reports by j-he (720 points)

1 Answer

+2 votes
 
Best answer
We actually thought this was fixed It's a windows-issue in some way. Windows 8 if my memory doesn't deceive me.

Anyway. We have created another fix, which was just released, increasing the width of the area for the cache names.
by magma1447 (Admin) (241k points)
selected by j-he
I use Windows 7, so it's definitely not limited to Windows 8.
What you implemented now is more of a workaround than a fix. It just makes the problem less likely to occur. Here
http://project-gc.com/CacheStats/TopFavWilson?country=Germany&region=Niedersachsen&county=Braunschweig&submit=Filter&chartpage=6
#173 still does not show.
Don't get me wrong: the workaround is a good (temporary solution). So thanks for implementing it! And after all the info is there when hovering over the line.
I agree with you, it was a workaround. The thing is that the issue is not really in our own code, but in a library that we depend on for charts.

I have now created another fix, that is a bit more clean. For all charts with cache names in them (assuming other charts not have the issue), we will cut off the name after a certain amount of characters, currently 35.

Now, there is no clear length that is ok and not ok. It depends on what kind of characters it is. I don't know if it's due to the characters width, or if they are multibyte. I assume their width, but from what I have seen, it almost seems to be multibyte related. Anyway. 35 worked on the page I tested, it might not work with others, then we will have to decrease it even more.

The downside is that all other operating system will now suffer for the windows issue. But hey, windows is probably used the most so.

Also, this issue could exist for someone with a very long profile name for example, or maybe in other charts. But I assume that isn't a real issue, and I haven't heard about it in those cases, yet.

I have just published the new fix/workaround. Feel free to test it, and come back to us if you think 35 needs to be decreased.
The problem of missing cache names is gone - at least everywhere I checked. Thanks!
Would it be appropriate to comment on a similar behaviour for locations on charts such as <http://project-gc.com/Statistics/CachesPerArea?country=United+States&region=Massachusetts&submit=Filter>?  Here only every other county name appears.

This might be more appropriate as a separate bug report but I will defer to the admins.
...