Skip to content

Improve size adjustment of itemlist editor

Yifan Zhu requested to merge (removed):linebreak into master

Currently multi-line file names in dolphin only display a single line when renaming. This commit ensures multi-line filenames have all lines displayed by calling document()->adjustSize in KItemListRoleEditor::autoAdjustSize, and by calling the latter function after setting up the editor.

BUG: 452587

Before: image

After: image

To fully resolve BUG 452587, I think we need

  • better navigation in multi-line file names (currently up and down keys take the user to adjacent files except when in icons view)
  • and support entering new line characters (maybe through ctrl+enter or shift+enter)

So right now I am only using CCBUG.

@teams/qa

Edited by Yifan Zhu

Merge request reports

Loading