Bug 347994 - KDevelop hangs while showing popup info on some items
Summary: KDevelop hangs while showing popup info on some items
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-20 08:53 UTC by Oleksandr Senkovych
Modified: 2016-06-20 08:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Proposed fix (751 bytes, patch)
2015-05-20 09:50 UTC, Oleksandr Senkovych
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksandr Senkovych 2015-05-20 08:53:16 UTC
If somewhere in a code there is macro like 
#define item item
and you move your mouse over this item, kdevelop enters infinite loop.
For example this kind of code is present in <stdbool.h> header: 
#define true true
and if it's included into your project, you should be very careful with your mouse for not to point on it:)


Reproducible: Always

Steps to Reproduce:
1. include <cstdbool>
2. Move your mouse over "true" statement
3. Kdevelop hangs
Comment 1 Oleksandr Senkovych 2015-05-20 09:50:34 UTC
Created attachment 92729 [details]
Proposed fix

This change resolved an issue to me
Comment 2 Milian Wolff 2015-10-23 15:18:53 UTC
was/is this fixed by https://git.reviewboard.kde.org/r/125684/diff/1#index_header ?

if so, please close this bug. otherwise, we can integrate your patch.

In the future, please put patches up for review on reviewboard or phabricator! Thanks
Comment 3 Funkster 2015-10-26 09:57:40 UTC
This is fixed in latest 4.7 branch, pulled 2015-10-26 09:45
Comment 4 hermes.trismegistos 2016-06-20 08:25:47 UTC
Can you please fill in the fields: "Version Fixed In" and "Latest Commit" so the users can check if their version of kdevelop contains the fix?

I am running 4.7.3 which is still suffering from this bug. I am working on code with a lot of prepocessor macros and this bug forces me to kill kdevelop every few minutes.

I would like to build the fixed kdevelop version from source but I don't know which commit contains the fix.