Capitan bug or code changes for icon size?

Hi there,
here a script that worked very well before i upgraded to 10.11. I used it all the time when viewing pictures in 10.7. Some suggestions ?
Currently, my script does nothing, not even throwing an error.

tell application "Finder"
	set win1 to Finder window 1
	tell icon view options of win1

		if icon size < 248 then
			set icon size to 248
			if shows item info is false then set shows item info to true 
		end if

		set background color to {32768, 32768, 32768} #grey
		{55225, 45931, 32867} #brown
		
	end tell
end tell

From the 10.11 AS Dictionary :

HOWEVER…

Scroll up to Icon Family and you get:

It looks like it’s a bug, especially given that some of the functionality for other Finder methods isn’t implemented yet

Can you GET the icon size?

As I am curious, I ran an edited version :

tell application "Finder"
	set win1 to Finder window 1
	tell icon view options of win1
		log (get icon size)
		log (get shows item info)
		log (get background color)
		if icon size < 248 then
			set icon size to 248
			if shows item info is false then set shows item info to true
		end if
		
		set background color to {32768, 32768, 32768} #grey
		--{55225, 45931, 32867} #brown
		log (get icon size)
		log (get shows item info)
		log (get background color)
	end tell
end tell

The log report was :

tell application "Finder"
	get Finder window 1
	get icon size of icon view options of Finder window id 119
	(*84*)
	get shows item info of icon view options of Finder window id 119
	(*false*)
	get background color of icon view options of Finder window id 119
	(*65535, 65535, 65535*)
	get icon size of icon view options of Finder window id 119
	set icon size of icon view options of Finder window id 119 to 248
	get shows item info of icon view options of Finder window id 119
	set shows item info of icon view options of Finder window id 119 to true
	set background color of icon view options of Finder window id 119 to {32768, 32768, 32768}
	get icon size of icon view options of Finder window id 119
	(*248*)
	get shows item info of icon view options of Finder window id 119
	(*true*)
	get background color of icon view options of Finder window id 119
	(*27831, 27830, 27831*)
end tell

As you may see, the icon size and the shows item info value are passed to the Finder but the background color is set to an other value.
As the aspect of the window was not changed, I closed it and reopened it.
The result was an awful mess.
The window has the grey background, the icon size is 248 but they are all stacked in the left-top area of the window.
I was forced to reset everything by hand.

Yvan KOENIG running El Capitan 10.11.1 in French (VALLAURIS, France) mardi 1 décembre 2015 10:48:34