Project

General

Profile

Actions

Defect #2863

closed

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

Added by Jens Berlips about 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
UI
Target version:
Start date:
2009-02-28
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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
~

Files

bug_redmine.JPG (119 KB) bug_redmine.JPG Jens Berlips, 2009-03-01 14:49
context_menu.css.patch (540 Bytes) context_menu.css.patch Alain Alain091, 2010-05-01 10:54
context_menu.js.patch (650 Bytes) context_menu.js.patch Alain Alain091, 2010-05-01 10:54
Actions #1

Updated by Jean-Philippe Lang about 15 years ago

Can you post a screenshot that illustrates this problem please?

Actions #2

Updated by Jens Berlips about 15 years ago

Sure:

Actions #3

Updated by Alain Alain091 almost 14 years ago

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.

Actions #4

Updated by Alain Alain091 almost 14 years ago

The patch also works on FF 3.6.3

Actions #5

Updated by Jean-Philippe Lang almost 14 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.4
  • Resolution set to Fixed

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.

Actions #6

Updated by Jean-Philippe Lang almost 14 years ago

  • Status changed from Resolved to Closed
Actions #7

Updated by Alain Alain091 almost 14 years ago

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.

Actions #8

Updated by Alain Alain091 almost 14 years ago

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

height:60px is a best choice.

Actions

Also available in: Atom PDF