プロジェクト

全般

プロフィール

Vote #72780

完了

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

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
61
issue_org_id:
12298
author_id:
37486
assigned_to_id:
1
comments:
9
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
58
ステータス-->[Closed]

説明

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:

Select/Check 2 or more tickets

Right click one of the tickets

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

Expected results:

Select/Check 2 or more tickets

Right click one of the tickets

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, #, 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

journals

I'm not able to test with IE8 but works fine with IE9.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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":http://bugs.jquery.com/ticket/12705 which has been open then closed as dupe of "another one":http://bugs.jquery.com/ticket/12699, 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.

--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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()@":https://github.com/sstephenson/prototype/blob/1fb9728/src/dom/event.js#L90 is a consequent piece of code uneasy to replace.

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fix committed in r10836.
--------------------------------------------------------------------------------
Merged in 2.1-stable.
--------------------------------------------------------------------------------

Admin Redmine さんが4年以上前に更新

  • カテゴリUI_10 にセット
  • 対象バージョン2.1.4_61 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0