Discoloration on page loading sometimes.

Jayro

MediCat USB Dev
OP
Developer
Joined
Jul 23, 2012
Messages
12,994
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,040
Country
United States
Sometimes when I load GBAtemp on Chrome, certain aspects of my chosen theme will load like normal, but then change back to the default bright theme, as pictured below with the bright title bar. (Left pic)

Screenshot_20201213-194411_Chrome.jpg
Screenshot_20201213-194803_Chrome.jpg




As you can see by these two screenshots, the one on the right is how it's supposed to look. And this happens on my Chrome for desktop as well, both are the 64-bit version. But since Chrome is the only browser I ever use, I am unable to notice if other browsers are affected too or not. Just including this information to help you squash this bug, if it helps.
 

Souperman9

Well-Known Member
Member
Joined
Dec 1, 2017
Messages
181
Trophies
0
Location
Melbourne
XP
1,841
Country
Australia
I get this pretty often as well! I wasn't sure if it was just me, so I never posted about it, but it's the exact same thing on Edge desktop (which is also chromium based) with Dark Mode
 

Jayro

MediCat USB Dev
OP
Developer
Joined
Jul 23, 2012
Messages
12,994
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,040
Country
United States
I get this pretty often as well! I wasn't sure if it was just me, so I never posted about it, but it's the exact same thing on Edge desktop (which is also chromium based) with Dark Mode
It just happened as I was reading your reply on my PC. It's quite jarring to those of us with vision problems. I'm light sensitive, so anything massively bright like this on my screen is like looking into the sun for a regular person.

@shaunj66 could you take a look at what's going on and see if this bug is fixable?

broken.jpg
 
  • Like
Reactions: Souperman9
D

Deleted User

Guest
i've been getting this since the new tempstyle as well, i just have to reload to fix it, but it's still annoying
i use vivaldi
 
  • Like
Reactions: zoogie and Jayro

Sono

cripple piss
Developer
Joined
Oct 16, 2015
Messages
2,823
Trophies
2
Location
home
XP
9,328
Country
Hungary
I don't see how caching would help.

The weird thing is that this happens to me when the page has fully loaded. So the color scheme loads correctly, but as soon as the page has fully loaded, the colors just glitch out.
 

shaunj66

GBAtemp Administrator
Administrator
Joined
Oct 24, 2002
Messages
11,958
Trophies
4
Age
39
Location
South England
Website
www.gbatemp.net
XP
25,172
Country
United Kingdom
I don't see how caching would help.

The weird thing is that this happens to me when the page has fully loaded. So the color scheme loads correctly, but as soon as the page has fully loaded, the colors just glitch out.
The current system for custom styling (not written by us) is basically just terrible. Server side implementation rather than using the users local storage will mean that the page delivered to you is in your own colours rather than the users browser overriding them on render
 
  • Like
Reactions: smileyhead and Sono

Sono

cripple piss
Developer
Joined
Oct 16, 2015
Messages
2,823
Trophies
2
Location
home
XP
9,328
Country
Hungary
(not written by us)

lol

I don't know how custom themes work here, but I can't see what would prevent y'all from making a style expander.
If the stylesheet files are a mess then you can just use !important, and it should work. Just emit a <style></style> after all the stylesheet file references, and replace magic values with the actual user preference values.

Bonus points if you use preg_replace server-side :rofl2:
 

shaunj66

GBAtemp Administrator
Administrator
Joined
Oct 24, 2002
Messages
11,958
Trophies
4
Age
39
Location
South England
Website
www.gbatemp.net
XP
25,172
Country
United Kingdom
lol

I don't know how custom themes work here, but I can't see what would prevent y'all from making a style expander.
If the stylesheet files are a mess then you can just use !important, and it should work. Just emit a <style></style> after all the stylesheet file references, and replace magic values with the actual user preference values.

Bonus points if you use preg_replace server-side :rofl2:
That's what it's doing now but in conjunction with some JavaScript that sometimes fails to grab all the values the user chooses. It's weird. But I haven't honestly spent too long looking into it as I plan to do the above as soon as I can. Feel free to poke around the source if you can spot anything :)
 
  • Like
Reactions: DinohScene and Sono

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
    The Real Jdbye @ The Real Jdbye: never had that i don't think