Opened 14 months ago

Closed 7 months ago

#2078 closed defect (fixed)

Line breaks lost when copying from router logs on /logs

Reported by: zzz Owned by: zzz
Priority: minor Milestone: 0.9.35
Component: apps/console Version: 0.9.32
Keywords: Cc:
Parent Tickets:

Description

When I copy multiple lines of text from the router logs section on /logs and paste them elsewhere, the line breaks are lost, so all log entries get pasted as one line. We need users to copy router logs from the console over to trac tickets without a lot of extra formatting or cleanup.

This doesn't happen when copying from the 'i2p version and running environment' or 'wrapper logs' sections, or from the event logs page. I don't know if it's always been like that or if some recent change is at fault. I did look at the code and the router log section has been a <ul> for a long time, but perhaps it's possible to influence how text is copied and pasted with CSS? I don't know. I copied from a list on /configreseed and it pasted fine. So some particular CSS issue on /logs?

Tested both on firefox and chrome.

Example 3 separate lines as pasted:

11/21 xx:38:55.529 ↓↓↓ 1 similar message omitted ↓↓↓ 11/21 xx:29:33.995 ↓↓↓ 1 similar message omitted ↓↓↓ 11/21 xx:28:53.342 ↓↓↓ 2 similar messages omitted ↓↓↓

Subtickets

Change History (5)

comment:1 Changed 11 months ago by zzz

  • Milestone changed from undecided to 0.9.34

Please fix for .34

comment:2 Changed 11 months ago by str4d

Fix exists, needs extraction from the UI patchset.

comment:3 Changed 11 months ago by str4d

  • Status changed from new to accepted

comment:4 Changed 7 months ago by zzz

  • Milestone changed from 0.9.34 to 0.9.35
  • Owner changed from str4d to zzz

all UI tickets are my problem now

comment:5 Changed 7 months ago by zzz

  • Resolution set to fixed
  • Status changed from accepted to closed

In 46b134a2dab1af4f3ed94a90d52040eb0f4cf793 to be 0.9.34-22-rc

Note: See TracTickets for help on using tickets.