UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Other Discussions > Forum Announcements and Comments

Notices

Forum Announcements and Comments Announcements about forum changes will be made in this section. All new threads here now require moderator approval.

Closed Thread
 
Thread Tools
Old 29th Oct 2017, 5:38 am   #1
Radio Wrangler
Moderator
 
Radio Wrangler's Avatar
 
Join Date: Mar 2012
Location: Fife, Scotland, UK.
Posts: 22,799
Default A forum software "feature" ?

I have found that a minority of photos attached to posts behave strangely.

Normally, I can click on the thumbnail of a photo and see it expanded, along with the appearance of next/previous/first/last buttons to move me around the photos attached to that post. A go back swipe on my touch-sensitive mouse, or clicking the browser back button takes me back to the normal view of the thread.

On some posts, however, something goes wrong. An example is post 75 on:

http://www.vintage-radio.net/forum/s...=135370&page=4

On a post like this, clicking on ant attached photo dramatically darkens the browser window momentarily, then the photo appears at normal brightness, using the full browser window. There are no navigation buttons. Going back with either a swipe or a click on the browser back button returns me to the thread, But the browser window has been left darkened, almost to black. Scrolling up or down reveals normal text in the thread both above and below that which filled the browser display before clicking on the photo. The darkened area stays darkened and illegible and moves up and down with the thread.

The way to get out of this state seems to be to go back to the thread listing, open another thread, go back to the thread listing and select the original thread again. I can now scroll down to the offending post and see it displayed normally, along with the group of thumbnails. If I want to look at the next photo, the whole merry dance begins again!

On a post with this problem, it affects all photos on that post.

Browser is Safari 11.0
OS is OSX High Sierra current rev.

Most posts are fine, but the problem ones are very tedious. I haven't spotted any clue to whether I'm headed for trouble before I click a photo. Either I've got some setting wrong or I've found a bug?

The Macbook pro laptop and the iMac at home behave identically. Do the iPad people get the same issue?

David
__________________
Can't afford the volcanic island yet, but the plans for my monorail and the goons' uniforms are done
Radio Wrangler is online now  
Old 29th Oct 2017, 8:09 am   #2
Dave Moll
Dekatron
 
Dave Moll's Avatar
 
Join Date: Feb 2005
Location: West Cumbria (CA13), UK
Posts: 6,118
Default Re: A forum software "feature" ?

Assuming you're referring to the images in post no. 75, it seems to be related to the attached images being embedded in the text - though I haven't done any extensive testing of the phenomenon.
__________________
Mending is better than Ending (cf Brave New World by Aldous Huxley)
Dave Moll is online now  
Old 29th Oct 2017, 8:21 am   #3
stitch1
Heptode
 
stitch1's Avatar
 
Join Date: Jan 2008
Location: Durham, County Durham, UK.
Posts: 825
Default Re: A forum software "feature" ?

Yes it happens to me too using chrome, safari or Firefox on my iPad and iPhone running 11.0.3.

I can refresh the page to remove the dark section.

Similar on my Windows PC but no dark panal.

John

PS
Only seems to br Mr Bungles photos on that thread other images are ok.

Last edited by stitch1; 29th Oct 2017 at 8:25 am. Reason: Added PS
stitch1 is offline  
Old 29th Oct 2017, 9:50 am   #4
vidjoman
Dekatron
 
Join Date: Jun 2013
Location: East Sussex, UK.
Posts: 3,315
Default Re: A forum software "feature" ?

Happens to me on iPad using Safari. No problem on main Win 10 PC with Chrome.
vidjoman is offline  
Old 29th Oct 2017, 10:00 am   #5
MrBungle
Dekatron
 
MrBungle's Avatar
 
Join Date: Jun 2016
Location: London, UK.
Posts: 3,687
Default Re: A forum software "feature" ?

Ironically as the poster of #75 on that thread I'm using macOS 10.13 and Safari and it is indeed doing the same thing. The posts are attachments with inline links using the ATTACH bbcode markup.

Looking at the console, it is because Access-Control-Allow-Origin content security policy is firing.

XMLHttpRequest cannot load https://www.vintage-radio.net/forum/...9&d=1509225521. Origin http://www.vintage-radio.net is not allowed by Access-Control-Allow-Origin.

If you note the above, we're using the https page an the origin is http. The default content security policy is to deny this so information is not leaked over an insecure channel so it's falling back to just rendering the page and then the script explodes. The browser is doing a good job

I suspect this is misconfiguration of whatever the plugin is that displays the thing in a popup or the server/software configuration.

The best solution is to just run everything over https and set a global permanent (301) redirect rule for http links and fix the above. Mixing http/https and using more than one hostname can make these things very difficult to debug/resolve.

Incidentally Chrome doesn't do this because it breaks a ton of Google's infrastructure in GSuite. They're not really looking after you there. Same as they killed certificate pinning recently. Boo hiss.

(security consultant hat off )
MrBungle is offline  
Old 29th Oct 2017, 10:14 am   #6
stitch1
Heptode
 
stitch1's Avatar
 
Join Date: Jan 2008
Location: Durham, County Durham, UK.
Posts: 825
Default Re: A forum software "feature" ?

When I switch to https:// it all works ok, I thought it would default to this but it doesn’t.

Thanks

John
stitch1 is offline  
Old 29th Oct 2017, 11:48 am   #7
1100 man
Octode
 
1100 man's Avatar
 
Join Date: Apr 2016
Location: Ventnor, Isle of Wight, & Great Dunmow, Essex, UK.
Posts: 1,377
Default Re: A forum software "feature" ?

Hi,
I use a Chromebook for my Forum activities. When viewing the post in question, if I click on a thumbnail, it opens full screen in a new tab. Clicking 'back' takes me straight back to the post so I just click on the next picture and the same happens again. No odd problems.
I have a couple of old pc's running Lubuntu but I've not tried it on those.
All the best
Nick
1100 man is offline  
Old 29th Oct 2017, 11:52 am   #8
Refugee
Dekatron
 
Refugee's Avatar
 
Join Date: Apr 2012
Location: Worksop, Nottinghamshire, UK.
Posts: 5,549
Default Re: A forum software "feature" ?

It looks like it has opened in a new tab.
If I forget that I am not on a forum that opens all photos in new tabs I can end up closing the tab by mistake so that I have to log in again.
It would be nice to make it consistent if it is not going to take weeks to find the setting in the forum software.
Refugee is offline  
Old 29th Oct 2017, 12:26 pm   #9
Paul Stenning
Administrator
 
Paul Stenning's Avatar
 
Join Date: Dec 2002
Location: Cardiff
Posts: 9,060
Default Re: A forum software "feature" ?

Quote:
Originally Posted by MrBungle View Post
The best solution is to just run everything over https and set a global permanent (301) redirect rule for http links and fix the above.
That is the plan in due course, when I have a bit more time available to debug any issues caused. Probably over Christmas/new year.
__________________

Paul Stenning
Forum Admin/Owner and BVWS Webmaster
Paul Stenning is offline  
Old 29th Oct 2017, 1:04 pm   #10
Radio Wrangler
Moderator
 
Radio Wrangler's Avatar
 
Join Date: Mar 2012
Location: Fife, Scotland, UK.
Posts: 22,799
Default Re: A forum software "feature" ?

Here's where I look really dumb... I'd forgotten the page refresh button. That makes things a lot easier. Hidden in plain view, though why did Apple stick it at the end of the url field?

David
__________________
Can't afford the volcanic island yet, but the plans for my monorail and the goons' uniforms are done
Radio Wrangler is online now  
Old 29th Oct 2017, 1:36 pm   #11
MrBungle
Dekatron
 
MrBungle's Avatar
 
Join Date: Jun 2016
Location: London, UK.
Posts: 3,687
Default Re: A forum software "feature" ?

Quote:
Originally Posted by Paul Stenning View Post
Quote:
Originally Posted by MrBungle View Post
The best solution is to just run everything over https and set a global permanent (301) redirect rule for http links and fix the above.
That is the plan in due course, when I have a bit more time available to debug any issues caused. Probably over Christmas/new year.
Problem solved
MrBungle is offline  
Closed Thread

Thread Tools



All times are GMT +1. The time now is 2:40 pm.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.