Edgewall Software

Opened 12 years ago

Last modified 4 years ago

#6820 new enhancement

change display for duplicate tickets

Reported by: trac@… Owned by:
Priority: normal Milestone: unscheduled
Component: ticket system Version:
Severity: minor Keywords:
Cc: lists@…, mikko.rantalainen@… Branch:
Release Notes:
API Changes:


When a ticket is marked as a duplicate the ticket link is displayed with a strike-through character in a wiki page or a search. This is confusing, since it indicates to the reader, that the issue is solved, which must not be the case. The ticket is simply marked as closed, but the request is still open.

Is it possible to use e.g. a double strike through character?

A much better solution would be the build in support for specifying the duplicate ticket, as suggested in #1395. Then the display could change depending on the status of the referenced duplicate ticket.

Attachments (0)

Change History (10)

comment:1 by Christian Boos, 12 years ago

Milestone: 0.12
Severity: normalminor

Double strike through would make the number pretty unreadable and furthermore that text decoration … doesn't exist in CSS2 (but could perhaps be emulated in CSS3 using text-underline-position).

Other than that, the suggestion is interesting, and we could introduce a duplicate class which would be mapped to the italic style.

comment:2 by anonymous, 12 years ago

I like the idea of differentiating these.

comment:3 by osimons, 12 years ago

For visualisations, keep an eye on #6088 and #5653 as well - potentially a number of things that could be visualised, but I suppose we then need a plan?

The problem I see with visualising 'duplicates' is that the the resolution may or may not exist. There may be no resolution types defined at all, or there can be any number of resolutions in any language. Options:

  • The resolution type of 'duplicate' could be raised to some higher level. Personally I don't see the duplicate resolution as anything special (-1 on this idea).
  • Add a new batch of trac.ini settings or extend the database schmea to store special meaning or style-related references, which is not so nice either (-1 on doing this).
  • Add implicit classes for rows based on enum columns displayed and their values. For instance, if a ticket is closed as 'wontfix' we add 'query-resolution-wontfix' to the class of the row (or container). Or 'query-resolution-duplicate' as in this request. Both will of course also have 'query-status-closed' and other classes. No default styles for this shipped with Trac, but at least it will be easily styleable for those that care - perhaps someone even makes a query-theme plugin one day. I'm ±0 on that.

Any other ways that I didn't think of?

comment:4 by osimons, 12 years ago

Got thinking about Query when I typed out my previous comment, but it of course relates to tickets in whatever context they appear. It was not meant to be query specific, it just reads that way :-)

comment:5 by osimons, 12 years ago

For links there is also the related idea of providing this information not as styles, but as extending the title attribute with more information: #6463

comment:6 by Christian Boos, 9 years ago

Milestone: next-major-0.1Xunscheduled

comment:7 by Thijs Triemstra <lists@…>, 9 years ago

Cc: lists@… added

comment:8 by Mikko Rantalainen <mikko.rantalainen@…>, 9 years ago

I think that a single resolution should be specified as the duplicate resolution in the trac.ini (e.g. "override_resolution_duplicate" in [ticket] section). It could default to "duplicate" but it would be easy to override for any language. I don't think that there needs to be any support for multiple different resolutions that all mean "duplicate". See also the second solution suggestion in #9799.

comment:9 by Mikko Rantalainen <mikko.rantalainen@…>, 9 years ago

Cc: mikko.rantalainen@… added

comment:10 by Ryan J Ollos, 4 years ago

Owner: Jonas Borgström removed

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned. Next status will be 'new'.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.