rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.39k stars 600 forks source link

Growing buttons on config/manage page #2704

Open LittleLama opened 8 years ago

LittleLama commented 8 years ago

Hi

On the config page I got some curious things with the style. The taskbar is doubled, the first one is at the right place, but the second one is under, not at the right position. And the the two buttons Shutdown and Restart start growing up at a 1 second step until they take all the space on screen. The pagination is mistaken too, all sections are displayed on the same page instead of Web Interface, Download Settings ... The page is unsable. Same thing happens in Manage section. Other pages are OK.

I tried to make a new install, but with keeping db and config ... same thing. I think it comes from JS unsupported or mistaken lines or a conflict with a browser add-on.

My browser is Chrome Version 51.0.2704.103 m I tried with all add-ons OFF but no better luck. Seems to work fine with Internet Explorer 11.0

capture capture2

seanvree commented 8 years ago

Dude, I have this issue too. just started a couple days ago. WEIRD!

typhoe commented 8 years ago

Hi,

I have the same behavior... had it for quite a while in fact... Don't know exactly why.

But it doesn't happen when I connect from my lan to http://ip:port It sometimes does (not always) when I connect from the internet using https://headphone_dns_alias (and I'm using HAProxy to redirect https://headphone_dns_alias:443 -> (lan) http://ip:port )

LittleLama commented 8 years ago

OMG you're right ! When replacing DNS by IP the bug disappears. My DNS is managed by cloudflare, so I don't think it's a server issue.

That makes two curious factors for not having the bug :

zefie commented 4 years ago

This still exists in version bf74f57535fc19d1ecd80ab7a0e88b8c28ba9c67. Didn't do it before I put it behind nginx proxy, does it even if nginx called via IP in the browser (nginx config is using dns because docker).

Dunno if this helps debug it. Here is a video https://twitter.com/zefie/status/1289586267349331968, notice the debugger.

Edit: for my reverse proxy setup, the issue was resolved by removing the trailing '/' from http_root eg. http_root = /headphones/ -> http_root = /headphones