プロジェクト

全般

プロフィール

Vote #64773

完了

When categories list is too big the popup menu doesn't adjust (ex. in the issue list)

Admin Redmine さんが約3年前に追加. 約3年前に更新.

ステータス:
Closed
優先度:
高め
担当者:
-
カテゴリ:
UI_10
対象バージョン:
開始日:
2009/02/28
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
18
issue_org_id:
2863
author_id:
3392
assigned_to_id:
0
comments:
8
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

If you have a too many categories and right-click on an issue to set the category of choice, some categories may not be visible since they are not viewable and no scrollbar pop ups.

Possible solution: div overflow: auto; together with a maximum div size should fix this?

Also added a rake script to auto-add cateogires to a project STDIN:


namespace :project do

cats = ['Category1', 'Category2']

task(:categories=> :environment) do

    value = STDIN.gets.chomp!
    for p in Project.find(:all, :conditions => "name = '#{value}'")
            for cp in cats
                    if not p.issue_categories.exists?(:name => "#{cp}")
                            p.issue_categories.create(:name => cp)
                    end
            end
    end

end
end
~


journals

Can you post a screenshot that illustrates this problem please?
--------------------------------------------------------------------------------
Sure:

!bug_redmine.JPG!
--------------------------------------------------------------------------------

Find attached 2 patches :
1/ correction on css with adding overflow-y (tested on IE8)
2/ updating of context-menu.js with more prototype like statements.
--------------------------------------------------------------------------------
The patch also works on FF 3.6.3
--------------------------------------------------------------------------------
Alain Gandon wrote:
> 1/ correction on css with adding overflow-y (tested on IE8)

r3725 adds a max-height and auto scroll rather than a fixed height and scroll.

> 2/ updating of context-menu.js with more prototype like statements.

If it's supposed to fix anything, please open another ticket.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Infortunatly, the max-height doesn't have the good behavior and on IE8 and FF 3.6.3 the modification doesn't fix the problem.

My modification with a fixe height (height:80px) have the good behavior and this fix the problem.
--------------------------------------------------------------------------------

height:80px is too much near top of window.

height:60px is a best choice.
--------------------------------------------------------------------------------

Admin Redmine さんが約3年前に更新

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

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

いいね!0
いいね!0