Edit and Select buttons not working for some embed types in some browsers

Bug #819102 reported by shanen
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Richard Mansfield

Bug Description

The buttons (e.g. Edit/Select) for the "Some HTML" "An Image" and "Embedded Media" embeddable media types when creating a portfolio page don't work under Google Chrome 12 (latest), Safari 5 (maybe more). They work in Firefox 5.
This is for Mahara 1.4.0.
Suspect Webkit specific JS and CSS is causing trouble, webkit is 100% ACID 3 compliant.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

I can confirm this for master using "Files to Download": There the Edit and Select buttons don't do anything whereas the buttons work fine in the image gallery block.

Changed in mahara:
importance: Undecided → High
status: New → Confirmed
tags: added: myportfolio
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

I used Chromium 12 on Ubuntu and Chrome 12 on Mac.

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

problem seems to be only when selecting files, when folder selector is on (ie, A Folder or Image Gallery (folder option) blocktypes work), while all the filebrowser like blocktypes don't work
Can't reproduce on my master copy, will do a pull and see if that changes anything.
Reproduced on myportfolio

Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

Just another note, the upload new file button doesn't work either in these blocktypes

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Sorry, I wrote "master" instead of "myportfolio" (master+some customizations) above. I haven't been able to reproduce it on my fresh local master copy and Mahara 1.4 in Chromium.

MyPortfolio selection of "Edit" or "Select" doesn't work on my Safari 5.1 either.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Hugh tracked the issue down to being a problem with the latest Chrome browser. It worked before. Disabling the copyright acceptance notice (Extensions -> Plugin type: Artefact -> File Config) solves the problem temporarily. Unfortunately, no real fix has yet been discovered.

tags: added: chrome
Changed in mahara:
assignee: nobody → Hugh Davenport (hugh-catalyst)
Revision history for this message
François Marier (fmarier) wrote :

Until someone is able to dig into this one further, it doesn't look like we can easily fix it...

Changed in mahara:
status: Confirmed → Incomplete
assignee: Hugh Davenport (hugh-catalyst) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mahara because there has been no activity for 60 days.]

Changed in mahara:
status: Incomplete → Expired
Revision history for this message
Don Presant (don-learningagents) wrote :

This bug expired, but I hope it can be renewed...I`m trying to use a Chrome browser to embed an image block and it doesn`t work.

Chrome is becoming a very popular browser (more downloads than FF these days) and I don`t think disabling copyright acceptance is a sustainable solution...any new thoughts on this?

Changed in mahara:
status: Expired → Confirmed
Changed in mahara:
assignee: nobody → Richard Mansfield (richard-mansfield)
milestone: none → 1.5.0
Revision history for this message
François Marier (fmarier) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/1050
Committed: http://gitorious.org/mahara/mahara/commit/56ace97c3e24158e8cf39a883a0e52c717e3a8a5
Submitter: Francois Marier (<email address hidden>)
Branch: master

commit 56ace97c3e24158e8cf39a883a0e52c717e3a8a5
Author: Richard Mansfield <email address hidden>
Date: Wed Feb 15 15:22:13 2012 +1300

    Fix file block config edit, select, upload buttons in Chrome (bug #819102)

    For filebrowsers inside configuration forms in Chrome, the edit,
    select, and file upload buttons appear to have no effect when the
    copyright agreement is enabled.

    In fact the javascript for these buttons *is* executed, but Chrome
    won't display the resulting changes, making it rather difficult to
    click on some of the buttons in forms that are opened up.

    Adding a slight delay before disabling the file input fixes the issue.

    Change-Id: I8cfde0056f0aefc027e3a532488be3c369292b65
    Signed-off-by: Richard Mansfield <email address hidden>

Changed in mahara:
status: Confirmed → Fix Committed
Melissa Draper (melissa)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.