Context Menu not working on newly opened files

Andreas Pakulat apaku at gmx.de
Mon Dec 10 14:24:45 UTC 2012


Hi,

I've now taken the step and made the initialization synchronous again
in the TextEditorWidget constructor, the rest of the original commit
has been kept as subsequent changes depend on the new API.

Context menus should work again in master (they do for me) and
hopefully someone will find the time to find out why the asynchronous
initialize call causes a problem.

Andreas

On Wed, Dec 5, 2012 at 9:23 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> Hi,
>
> bisected this now, its apparently indeed Aleix work:
>
> http://quickgit.kde.org/?p=kdevplatform.git&a=commit&h=8c22f2ffdc5b1df0c6b111868a5aca8debca5ced
>
> Does anybody understand all this gui stuff enough to know why the
> context menu event is not triggering a context menu anymore without
> switching editors? Otherwise I guess its best to revert this change
> for now.
>
> Andreas
>
> On Tue, Dec 4, 2012 at 9:05 PM, Andreas Pakulat <apaku at gmx.de> wrote:
>> Hi,
>>
>> On Tue, Dec 4, 2012 at 7:29 PM, Milian Wolff <mail at milianw.de> wrote:
>>> On Tuesday 04 December 2012 09:46:20 André Stein wrote:
>>>> Hi,
>>>>
>>>> I did a rebuild at work too and I still have strange problems with the
>>>> context menu. It seems to be currently working but I can always repoduce
>>>> a not showing  context menu when I close Kdevelop and then start it
>>>> again with some files already open from the last shutdown. The current
>>>> file which is open right after startup doesn't show a context menu. If I
>>>> switch tabs a little bit and return to that first file the context menu
>>>> shows up again! And it does show up for other files too?
>>>>
>>>> I'll keep an eye on this during the day but it must be a regression
>>>> introduced during the last week or so.
>>>
>>> It's most probably related to Aleix's commits regarding delayed text view
>>> initialization, I'd bet. Can you/someone try to bisect and find the culprit?
>>
>> I was about to do that yesterday but then it worked initially so I
>> moved to something else. I'm going to try again tomorrow.
>>
>> Andreas


More information about the KDevelop-devel mailing list