WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#10097 closed defect (bug) (invalid)

Add New Post - column bug

Reported by: ifoundosamatoo Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Administration Keywords:
Focuses: Cc:

Description

Go to Add New Post, go to Screen Options, switch to 1 column then back to two, the view is frozen.

(It adds the second column back in, but it doesn't move the components back into the column nor does it allow me to do that)

Change History (12)

comment:1 @ifoundosamatoo6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Closed - I managed to fix it.

comment:2 @dd326 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 @dd326 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

comment:4 @wjm5 years ago

  • Milestone set to 3.0
  • Resolution invalid deleted
  • Status changed from closed to reopened
  • Version set to 3.0

this is exactly happening in WP3.0-beta2
and there is no way to fix that.

comment:5 follow-up: @ryan5 years ago

Reloading the page after switching the colummn numbers usually clears the dragging difficulty. What browser?

comment:6 @wjm5 years ago

not in google chrome (latest beta).
i had to move back every single box to fix this.
Where is this information stored? in a cookie? i couldnt find it in the database

comment:7 in reply to: ↑ 5 @wjm5 years ago

Replying to ryan:

Reloading the page after switching the colummn numbers usually clears the dragging difficulty. What browser?

It also happens in latest firefox version. Refreshing does not change a thing.

comment:8 follow-up: @wjm5 years ago

Here are the http request logs.

  • I start wiht 2 cols and an empty side bar,

1) I move the post-excerpt box to the side bar
2) I switched to 1 col
3) i switched back to 2 cols.

Look, in the 2nd request,
`
order%5Bside%5D=
order%5Bnormal%5D=...,postexcerpt
`
order[side] is empty and postexcerpt is set in order[normal]
I dont know if that is the expected behaviour, but are the original settings for [side] saved somewhere so when we switch back to 2 columns, they can be reloaded?

`
15:22:38.450[1171ms][total 1171ms] Estado: 200[OK]
POST http://localhost/wp-admin/admin-ajax.php Indicadores cargados[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Tamaño[4] Tipo Mime[text/html]

Cabeceras pedidas:

Host[localhost]
User-Agent[Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3]
Accept[*/*]
Accept-Language[es-es,es;q=0.8,en-us;q=0.5,en;q=0.3]
Accept-Encoding[gzip,deflate]
Accept-Charset[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Keep-Alive[115]
Connection[keep-alive]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
X-Requested-With[XMLHttpRequest]
Refererhttp://localhost/wp-admin/post-new.php
Content-Length[348]
Cookie[wordpress_f3badbcaf7e44c1b4d1adae567e62da3=admin%7C1275594646%7C7e43ce2f0c3fe06788da2a0736aca38f; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_f3badbcaf7e44c1b4d1adae567e62da3=admin%7C1275594646%7C4b437164fc335d3fe1ffff781491b38f; wp-settings-1=m0%3Dc%26m6%3Do%26m7%3Do%26m1%3Dc%26m4%3Do%26m9%3Do%26hidetb%3D1%26m5%3Dc%26m3%3Dc%26m2%3Dc%26m8%3Do%26widgets_access%3Doff%26imgsize%3Dmedium%26urlbutton%3Dfile%26align%3Dcenter%26editor%3Dtinymce%26m10%3Do%26galfile%3D1%26tml1%3D2%26tml0%3D1%26galcols%3D4%26galord%3Drand; wp-settings-time-1=1274385047]
Pragma[no-cache]
Cache-Control[no-cache]

Post Data:

action[meta-box-order]
_ajax_nonce[095a2c7af8]
page_columns[2]
page[post]
order%5Bside%5D[postexcerpt]
order%5Bnormal%5D[slugdiv%2Chybrid-post-meta-box%2Ctrackbacksdiv%2Cauthordiv%2Csubmitdiv%2Ctagsdiv-post_tag%2Cpostimagediv%2Cespecialidad_informaciondiv%2Cprogramaciondiv%2Ccategorydiv%2Ccirugiadiv%2Cpostcustom%2Ccommentstatusdiv]
order%5Badvanced%5D[]

Cabeceras recibidas:

Date[Thu, 20 May 2010 20:22:38 GMT]
Server[Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8k PHP/5.2.9-2]
X-Powered-By[PHP/5.2.9-2]
X-Content-Type-Options[nosniff]
Content-Length[4]
Keep-Alive[timeout=5, max=100]
Connection[Keep-Alive]
Content-Type[text/html; charset=UTF-8]

15:22:39.891[2211ms][total 2211ms] Estado: 200[OK]
POST http://localhost/wp-admin/admin-ajax.php Indicadores cargados[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Tamaño[4] Tipo Mime[text/html]

Cabeceras pedidas:

Host[localhost]
User-Agent[Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3]
Accept[*/*]
Accept-Language[es-es,es;q=0.8,en-us;q=0.5,en;q=0.3]
Accept-Encoding[gzip,deflate]
Accept-Charset[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Keep-Alive[115]
Connection[keep-alive]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
X-Requested-With[XMLHttpRequest]
Refererhttp://localhost/wp-admin/post-new.php
Content-Length[351]
Cookie[wordpress_f3badbcaf7e44c1b4d1adae567e62da3=admin%7C1275594646%7C7e43ce2f0c3fe06788da2a0736aca38f; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_f3badbcaf7e44c1b4d1adae567e62da3=admin%7C1275594646%7C4b437164fc335d3fe1ffff781491b38f; wp-settings-1=m0%3Dc%26m6%3Do%26m7%3Do%26m1%3Dc%26m4%3Do%26m9%3Do%26hidetb%3D1%26m5%3Dc%26m3%3Dc%26m2%3Dc%26m8%3Do%26widgets_access%3Doff%26imgsize%3Dmedium%26urlbutton%3Dfile%26align%3Dcenter%26editor%3Dtinymce%26m10%3Do%26galfile%3D1%26tml1%3D2%26tml0%3D1%26galcols%3D4%26galord%3Drand; wp-settings-time-1=1274385047]
Pragma[no-cache]
Cache-Control[no-cache]

Post Data:

action[meta-box-order]
_ajax_nonce[095a2c7af8]
page_columns[1]
page[post]
order%5Bside%5D[]
order%5Bnormal%5D[slugdiv%2Chybrid-post-meta-box%2Ctrackbacksdiv%2Cauthordiv%2Csubmitdiv%2Ctagsdiv-post_tag%2Cpostimagediv%2Cespecialidad_informaciondiv%2Cprogramaciondiv%2Ccategorydiv%2Ccirugiadiv%2Cpostcustom%2Ccommentstatusdiv%2Cpostexcerpt]
order%5Badvanced%5D[]

Cabeceras recibidas:

Date[Thu, 20 May 2010 20:22:40 GMT]
Server[Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8k PHP/5.2.9-2]
X-Powered-By[PHP/5.2.9-2]
X-Content-Type-Options[nosniff]
Content-Length[4]
Keep-Alive[timeout=5, max=100]
Connection[Keep-Alive]
Content-Type[text/html; charset=UTF-8]

15:22:40.449[1238ms][total 1238ms] Estado: 200[OK]
POST http://localhost/wp-admin/admin-ajax.php Indicadores cargados[LOAD_BYPASS_CACHE LOAD_BACKGROUND ] Tamaño[4] Tipo Mime[text/html]

Cabeceras pedidas:

Host[localhost]
User-Agent[Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3]
Accept[*/*]
Accept-Language[es-es,es;q=0.8,en-us;q=0.5,en;q=0.3]
Accept-Encoding[gzip,deflate]
Accept-Charset[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Keep-Alive[115]
Connection[keep-alive]
Content-Type[application/x-www-form-urlencoded; charset=UTF-8]
X-Requested-With[XMLHttpRequest]
Refererhttp://localhost/wp-admin/post-new.php
Content-Length[351]
Cookie[wordpress_f3badbcaf7e44c1b4d1adae567e62da3=admin%7C1275594646%7C7e43ce2f0c3fe06788da2a0736aca38f; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_f3badbcaf7e44c1b4d1adae567e62da3=admin%7C1275594646%7C4b437164fc335d3fe1ffff781491b38f; wp-settings-1=m0%3Dc%26m6%3Do%26m7%3Do%26m1%3Dc%26m4%3Do%26m9%3Do%26hidetb%3D1%26m5%3Dc%26m3%3Dc%26m2%3Dc%26m8%3Do%26widgets_access%3Doff%26imgsize%3Dmedium%26urlbutton%3Dfile%26align%3Dcenter%26editor%3Dtinymce%26m10%3Do%26galfile%3D1%26tml1%3D2%26tml0%3D1%26galcols%3D4%26galord%3Drand; wp-settings-time-1=1274385047]
Pragma[no-cache]
Cache-Control[no-cache]

Post Data:

action[meta-box-order]
_ajax_nonce[095a2c7af8]
page_columns[2]
page[post]
order%5Bside%5D[]
order%5Bnormal%5D[slugdiv%2Chybrid-post-meta-box%2Ctrackbacksdiv%2Cauthordiv%2Csubmitdiv%2Ctagsdiv-post_tag%2Cpostimagediv%2Cespecialidad_informaciondiv%2Cprogramaciondiv%2Ccategorydiv%2Ccirugiadiv%2Cpostcustom%2Ccommentstatusdiv%2Cpostexcerpt]
order%5Badvanced%5D[]

Cabeceras recibidas:

Date[Thu, 20 May 2010 20:22:39 GMT]
Server[Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8k PHP/5.2.9-2]
X-Powered-By[PHP/5.2.9-2]
X-Content-Type-Options[nosniff]
Content-Length[4]
Keep-Alive[timeout=5, max=99]
Connection[Keep-Alive]
Content-Type[text/html; charset=UTF-8]

`

comment:9 in reply to: ↑ 8 ; follow-up: @wjm5 years ago

please remove the logs (i didnt know it would break the page)
the logs are here
http://wordpress.pastebin.com/t3HKvHP6

comment:10 in reply to: ↑ 9 ; follow-up: @azaozz5 years ago

Replying to wjm:

You shouldn't be posting your login cookies anywhere. In this case there's no security problem as your installation is on localhost (not accessible from Internet) but it's always a good idea to remove them before pasting the headers.

The original reporter seems to have been having problems with a plugin or browser cache. Unfortunately there's no information on what caused it and how it was fixed.

When switching from 2 to 1 column any postboxes that are still in the sidebar are moved to the main (center) column. This is more of an error condition as postboxes should be hidden from the Screen Options, not by switching columns. The logical thing for the user would be to move all postboxes out of the sidebar column before hiding it.

When playing with this functionality (i.e. switching 2 -> 1 -> 2 -> 1 several times) it seems the initialization of the droppable container for the sidebar fails sometimes making it quite hard to drag/drop postboxes there (it still exists but is only couple of pixels).

This was working properly originally and seems to have been introduced with the jQuery UI upgrade couple of months ago. Reloading the page as Ryan suggests seems to fix it. Unfortunately this is browser brand and version dependent so all the currently used 15-20 browsers have to be tested in order to improve this and not break it more.

comment:11 in reply to: ↑ 10 @wjm5 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

sorry i misunderstood the original bug,
i have created a new bug for this,
http://core.trac.wordpress.org/ticket/13476
sorry about all the confusion.

  • wjm

comment:12 @nacin5 years ago

  • Milestone 3.0 deleted
Note: See TracTickets for help on using tickets.