(Miklos Vajna in bug 157566 comment 7 and 9) > Note that an easy way to test RTF paste problems is the > SW_DEBUG_RTF_PASTE_FROM environment variable, it allows specifying a path > and then if you ctrl-shift-v (paste special) into an empty Writer document, > we'll read from that file on paste, not from the system clipboard. That's > handy when trying to fix bugs like this. > 1) start up Writer > [with e.g. `SW_DEBUG_RTF_PASTE_FROM=/path/to/test.rtf soffice --writer`] > 2) type a character so you have something to cut > 3) select the character > 4) cut it with e.g. ctrl-x > 5) ctrl-shift-v, now you can select rtf