Project

General

Profile

Actions

Defect #12298

closed

Right-click context menu unable to batch/bulk update (IE8)

Added by Tim Whitehead about 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When using IE8, I am unable to bulk/batch update on tickets - After right-clicking a single item is selected instead of the multiple items that were checked off before the right-click

Reproduce:

  1. Select/Check 2 or more tickets
  2. Right click one of the tickets

The ticket that was right-clicked on is now the only selected ticket

Expected results:

  1. Select/Check 2 or more tickets
  2. Right click one of the tickets
  3. All ticket remain selected and context menu appears.

This is how Chrome & Firefox works.

About:

Environment:
  Redmine version                          2.1.2.stable
  Ruby version                             1.8.7 (i686-linux)
  Rails version                            3.2.8
  Environment                              production
  Database adapter                         MySQL
Redmine plugins:
  redmine_didyoumean                       1.1.0

Ruby version              1.8.7 (i686-linux)
RubyGems version          1.6.2
Rack version              1.4
Rails version             3.2.8
Active Record version     3.2.8
Action Pack version       3.2.8
Active Resource version   3.2.8
Action Mailer version     3.2.8
Active Support version    3.2.8
Middleware                Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middl
eware:0x1290df0>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExc
eptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapter
s::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispat
ch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandards
Support, OpenIdAuthentication
Application root          /var/www/redmine2.1.2/apps/redmine/htdocs
Environment               production
Database adapter          mysql
Database schema version   20120731164049

Actions #1

Updated by Jean-Philippe Lang about 12 years ago

I'm not able to test with IE8 but works fine with IE9.

Actions #2

Updated by fangzheng (方正) about 12 years ago

Yes it's really reproducible.

I tried Compatibility View but it still occurs, so maybe it will also occurs on IE7.
I haven't try IE6.

By the way, this issue DOESN'T occur on our own redmine ver. 1.3.x with IE8.

Actions #3

Updated by Etienne Massip about 12 years ago

  • Affected version (unused) set to 2.1.2
  • Affected version set to 2.1.2

I do confirm I can't multiselect issues in list by left-clicking on their lines, they simply don't get checked and selected even if the mouse cursor is a hand.

Actions #4

Updated by Etienne Massip about 12 years ago

  • Status changed from New to Confirmed
  • Target version set to Candidate for next minor release

Restoring the navigator check commented in source:/trunk/public/javascripts/context_menu.js@10068#L28 solved my issue.

event.which returns 0. There's a jQuery bug which has been open then closed as dupe of another one, itself being closed because of the lack of feedback.

Please try to remove the comments as I did and tell us if it solves your problem too.

Actions #5

Updated by Tim Whitehead about 12 years ago

I didn't even notice that clicking anywhere on the row (with/witout holding ctrl) was not selecting the item, I was initially only clicking directly on the checkboxes.

I can confirm after un-commenting http://www.redmine.org/projects/redmine/repository/revisions/10068/entry/trunk/public/javascripts/context_menu.js#L28 that the context menu issue is resolved in IE8.

Actions #6

Updated by Etienne Massip about 12 years ago

Actually I'm not sure that the event.which == 1 test is necessary at all since the contextMenuClick handler is bound to the click event which should only be triggered on left button click.

Prototype.js isLeftClick() is a consequent piece of code uneasy to replace.

Actions #7

Updated by Jean-Philippe Lang about 12 years ago

  • Target version changed from Candidate for next minor release to 2.1.4
Actions #8

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from Confirmed to Resolved
  • Resolution set to Fixed

Fix committed in r10836.

Actions #9

Updated by Jean-Philippe Lang almost 12 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Jean-Philippe Lang

Merged in 2.1-stable.

Actions

Also available in: Atom PDF