TextArea does not export TextEdit's textDocument property
Bug #1392276 reported by
Michael Zanetti
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Notes app |
Fix Released
|
High
|
Michael Zanetti | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Medium
|
Cris Dywan | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
This would be needed for advanced RTF formatting like this: http://
Right now, falling back to plain TextEdit is required.
This is a feature to improve the UX of the Reminders core app, so that it can use the Ubuntu text selection and cursor to be better integrated.
In terms of reusing the code that the Reminders app provides to have a full QML API, while technically possible, would require a non-trivial amount of work to make it generic enough for use for other apps. The features of the Reminders text editor are tightly coupled with the Evernote API.
Related branches
lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/textDocument
- PS Jenkins bot: Approve (continuous-integration)
- Tim Peeters: Approve
- Michael Zanetti (community): Approve
-
Diff: 49 lines (+22/-0)2 files modifiedcomponents.api (+3/-0)
modules/Ubuntu/Components/1.3/TextArea.qml (+19/-0)
lp:~mzanetti/reminders-app/uitk-1.3
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Riccardo Padovani: Approve
-
Diff: 685 lines (+80/-99)34 files modifiedmanifest.json.in (+1/-1)
reminders.apparmor (+1/-1)
src/app/qml/components/BouncingProgressBar.qml (+1/-1)
src/app/qml/components/ConflictDelegate.qml (+1/-1)
src/app/qml/components/EditTagsDialog.qml (+1/-1)
src/app/qml/components/Header.qml (+1/-1)
src/app/qml/components/ListItemWithActions.qml (+1/-1)
src/app/qml/components/ListItemWithActionsCheckBox.qml (+1/-1)
src/app/qml/components/NotebooksDelegate.qml (+1/-1)
src/app/qml/components/NotesDelegate.qml (+1/-1)
src/app/qml/components/PageWithBottomEdge.qml (+1/-1)
src/app/qml/components/PulldownListView.qml (+1/-1)
src/app/qml/components/RemindersDelegate.qml (+1/-1)
src/app/qml/components/ResolveConflictConfirmationDialog.qml (+1/-1)
src/app/qml/components/RtfButton.qml (+1/-1)
src/app/qml/components/SortingDialog.qml (+1/-1)
src/app/qml/components/StatusBar.qml (+1/-1)
src/app/qml/components/TagsDelegate.qml (+1/-1)
src/app/qml/components/ToolbarSpacer.qml (+1/-1)
src/app/qml/reminders.qml (+2/-13)
src/app/qml/ui/AccountSelectorPage.qml (+1/-1)
src/app/qml/ui/EditNotePage.qml (+4/-3)
src/app/qml/ui/EditNoteView.qml (+9/-6)
src/app/qml/ui/NoteConflictPage.qml (+1/-1)
src/app/qml/ui/NoteConflictView.qml (+1/-1)
src/app/qml/ui/NotePage.qml (+7/-3)
src/app/qml/ui/NoteView.qml (+1/-1)
src/app/qml/ui/NotebooksPage.qml (+7/-10)
src/app/qml/ui/NotesPage.qml (+15/-28)
src/app/qml/ui/RemindersPage.qml (+5/-5)
src/app/qml/ui/SearchNotesPage.qml (+1/-1)
src/app/qml/ui/SetReminderPage.qml (+1/-1)
src/app/qml/ui/SetReminderView.qml (+1/-1)
src/app/qml/ui/TagsPage.qml (+5/-5)
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → Opinion |
Changed in ubuntu-ui-toolkit: | |
assignee: | Zsombor Egri (zsombi) → Christian Dywan (kalikiana) |
no longer affects: | ubuntu-ui-toolkit (Ubuntu) |
affects: | ubuntu-ui-toolkit → ubuntu-ui-toolkit (Ubuntu) |
description: | updated |
Changed in reminders-app: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Opinion → Confirmed |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in reminders-app: | |
status: | Triaged → In Progress |
assignee: | nobody → Michael Zanetti (mzanetti) |
Changed in reminders-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm not comfortable aliasing this as-is because it's not QML API (see http:// qt-project. org/doc/ qt-5/qquicktext document. html) but merely an object that you need to hand over to C++.
We should rather have a QML API for text formatting. Whatever produced the screenshot can probably make a basis for that?