D11278: [KateCompletionWidget] Create configuration interface on demand

2018-04-24 Thread Kai Uwe Broulik
broulik abandoned this revision. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D11278 To: broulik, #ktexteditor, dhaumann, kfunk, cullmann Cc: hein, martinkostolny, cullmann, kfunk, #frameworks, michaelh, kevinapavew, ngraham, bruns, demsking, sars, dhaumann

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-18 Thread Christoph Cullmann
cullmann requested changes to this revision. cullmann added a comment. This revision now requires changes to proceed. If we want that, one needs to take care of the config loading/initial setup of the m_presentationModel in a different way than relying on the config widget to do it. REPOSITO

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-18 Thread Christoph Cullmann
cullmann reopened this revision. cullmann added a comment. This revision is now accepted and ready to land. See: Git commit 7f3d9e774129618dfb9fd871d5d5c8fbb66b4d9a by Christoph Cullmann. Committed on 18/03/2018

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-18 Thread Christoph Cullmann
cullmann added a comment. Perhaps one has not thought about the side-effects of the construction of the KateCompletionConfig. It looks like it does a readConfig and that triggers applyInternal() which in return will configure the m_presentationModel. I will revert this commit for the time

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-17 Thread Eike Hein
hein added a comment. A backtrace for the crash @martinkostolny mentioned can be found here: https://bugs.kde.org/show_bug.cgi?id=391955 REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D11278 To: broulik, #ktexteditor, dhaumann, kfunk, cullmann Cc: hein, martinkos

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-14 Thread Martin Kostolný
martinkostolny added a comment. Hi! After this commit I don't see a completion dropdown anymore. And after it should be opened an one presses backspace, kate or kwrite crashes. Simple example: 1. open empty Kate 2. write "", enter, "", backspace I will provide backtrace on

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-13 Thread Kai Uwe Broulik
This revision was automatically updated to reflect the committed changes. Closed by commit R39:92e21fb03b7f: [KateCompletionWidget] Create configuration interface on demand (authored by broulik). REPOSITORY R39 KTextEditor CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D11278?vs=29382

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-13 Thread Christoph Cullmann
cullmann accepted this revision. cullmann added a comment. I think it is ok that way, too ;=) REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D11278 To: broulik, #ktexteditor, dhaumann, kfunk, cullmann Cc: cullmann, kfunk, #frameworks, michaelh, kevinapavew, ngraha

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-13 Thread Kevin Funk
kfunk accepted this revision. kfunk added a comment. This revision is now accepted and ready to land. In D11278#224484 , @kfunk wrote: > Looks like you don't need the member at all? Otherwise late-init wouldn't work this way. > > `m_configWid

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-13 Thread Kevin Funk
kfunk added a comment. Looks like you don't need the member at all? Otherwise late-init wouldn't work this way. `m_configWidget` seems only used in `showConfig()`. Let's remove the member altogether? REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D11278 To:

D11278: [KateCompletionWidget] Create configuration interface on demand

2018-03-13 Thread Kai Uwe Broulik
broulik created this revision. broulik added reviewers: KTextEditor, dhaumann. Restricted Application added projects: Kate, Frameworks. Restricted Application added a subscriber: Frameworks. broulik requested review of this revision. REVISION SUMMARY No need to create it immediately. Saves some