MantisBT - Zandronum
View Issue Details
0003111Zandronum[All Projects] Suggestionpublic2017-04-30 11:162024-03-27 17:54
Korshun 
 
normalminoralways
newopen 
2.1 
 
0003111: Erasing existing colorcodes in player name editor requies at least 3 keypresses
If a colorcode in player name is not newly typed and visible, but a preexisting and invisible color code, you need to press backspace thrice or more (for named colors) to erase it. Only one keypress should be required.
No tags attached.
Issue History
2017-04-30 11:16KorshunNew Issue
2017-04-30 11:28DuskNote Added: 0017437
2017-04-30 11:30KorshunNote Added: 0017438
2017-04-30 11:30KorshunNote Edited: 0017438bug_revision_view_page.php?bugnote_id=17438#r10478
2017-04-30 11:32KorshunNote Edited: 0017438bug_revision_view_page.php?bugnote_id=17438#r10479
2017-04-30 15:00Torr SamahoNote Added: 0017445
2017-04-30 15:07KorshunNote Added: 0017446
2017-04-30 15:08KorshunNote Edited: 0017446bug_revision_view_page.php?bugnote_id=17446#r10486
2024-03-27 17:54Ru5tK1ngNote Added: 0023499
2024-03-27 17:54Ru5tK1ngCategoryBug => Suggestion

Notes
(0017437)
Dusk   
2017-04-30 11:28   
But if the color code is removed when the last letter is, the color code would be lost in this case and thus you wouldn't be able to rewrite the colored part without retyping the color code.

I guess ideally the color code should be visible as some sort of block character but unfortunately ZDoom's text and font support isn't flexible enough for that.
(0017438)
Korshun   
2017-04-30 11:30   
(edited on: 2017-04-30 11:32)
Removing the invisible color code with no letters after it should take one keypress, not more.

Also, typing letters after a half-way erased color code causes weird results. It obviously erases raw bytes.

(0017445)
Torr Samaho   
2017-04-30 15:00   
Is this different in GZDoom 1.8.6?
(0017446)
Korshun   
2017-04-30 15:07   
(edited on: 2017-04-30 15:08)
I couldn't get colorcodes to work at all in names or chat in GZDoom 1.8.6. They just keep showing as \cx.

(0023499)
Ru5tK1ng   
2024-03-27 17:54   
Changing to suggestion.