Opened 11 years ago

Closed 7 years ago

Last modified 7 years ago

#388 closed defect (discarded)

pasting text with linebreaks into input fields broken

Reported by: epruesse Owned by: devel
Priority: normal Milestone:
Component: Library (GUI) Version: gtkport
Keywords: Cc:

Description

how do I know which database fields support line breaks and which dont?

Change History (5)

comment:1 in reply to: ↑ description Changed 11 years ago by westram

Replying to epruesse:

how do I know which database fields support line breaks and which dont?

All strings support linefeeds. Clients have to use the proper kind of textinput (either a fields or a box).

Motif shows linefeeds in inputfields with a special characters, in inputboxes it displays the string in multiple lines.

comment:2 follow-up: Changed 11 years ago by epruesse

I'll check whether I can somehow get GTK to draw something nicer for a line break in a single-line-input field. Allthough I'd prefer (eventually) to have an auto-expanding multi-line input in the editor at that place. There is exactly one "right" way of visually representing line breaks… as line break. ;-)

comment:3 in reply to: ↑ 2 Changed 11 years ago by westram

Replying to epruesse:

There is exactly one "right" way of visually representing line breaks… as line break. ;-)

NACK. When you only want to display one line (for whatever reasons, e.g. in tree display) and you have linebreaks in the data you'd like to display, it's definitely annoying if the line gets broken and you need to filter out LFs to avoid that.

comment:4 Changed 7 years ago by westram

  • Resolution set to discarded
  • Status changed from new to closed

gtk-port is dead

comment:5 Changed 7 years ago by westram

  • Milestone gtkmerge deleted

Ticket retargeted after milestone deleted

Note: See TracTickets for help on using tickets.