Feed Advanced Search

May 16 2019

rjvbb added a comment to D21156: Fix browse mode not disabled after Ctrl is released.
you are removing a feature
May 16 2019, 12:32 AM · Documentation, KDevelop

May 15 2019

rjvbb accepted D21156: Fix browse mode not disabled after Ctrl is released.

Sounds good enough for me then!

May 15 2019, 3:05 PM · Documentation, KDevelop
rjvbb added a comment to D21156: Fix browse mode not disabled after Ctrl is released.

You identified an event chain which leads to the browsing mode not being restored correctly. This should happen less often with the Alt modifier but it can still happen (hit Alt to display a tooltip or open a menu and then move the mouse over that tooltip or select a menu item?).

May 15 2019, 11:55 AM · Documentation, KDevelop

May 9 2019

rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).
I didn't read the full encyclopedia of discussions here, I only looked at the patch.
May 9 2019, 10:11 AM · Frameworks

May 7 2019

rjvbb added a comment to T6854: Modernizing Kontact look.

(User, not VDG member)

May 7 2019, 9:00 AM · VDG, KDE PIM

May 1 2019

rjvbb requested review of D20935: sonnet: provide override to force of a specific plugin.
May 1 2019, 12:49 PM · Frameworks

Apr 15 2019

rjvbb added a comment to D18551: clang: Create preamble only on second parse.
Do you mean something like `#include <Foo>` which then contains a `#include <foo.h>`?
Apr 15 2019, 9:01 AM · KDevelop

Apr 14 2019

rjvbb added a comment to D17308: Make CTags/Projects context menu more accessible.
  1. "simplifies the code by removing the dynamic item text logic"
Apr 14 2019, 5:05 PM · Kate

Apr 9 2019

rjvbb added a comment to D20400: Karbon: Enable multi page capability.
(Sorry for the inconvinience, I've never been very friendly with arc/phab)
Apr 9 2019, 8:31 AM · Calligra: 3.0

Mar 17 2019

rjvbb abandoned D17289: KDevelop/Shell: set dedicated TMPDIR.
Not really: it says that a temporary directory for every kdevelop instance is created
Mar 17 2019, 1:44 PM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

no need for making it "deterministic" in any way. There is no benefit in doing that.

Mar 17 2019, 11:37 AM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.
OK, I stand corrected on this. OTOH, the rest of my notes about this being wrong anyway still stand.
Mar 17 2019, 11:01 AM · KDevelop
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

using the user ID is definitely wrong here: with this change, opening a second kdevelop will erase the temporary directory of the first...

Mar 17 2019, 10:22 AM · KDevelop

Mar 15 2019

rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

Milian Wolff wrote on 20190312::20:02:54 re: "D17289: KDevelop/Shell: set dedicated TMPDIR"

Mar 15 2019, 10:07 AM · KDevelop

Mar 14 2019

rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).
...aaaaaand that's exactly what happened. :(
Mar 14 2019, 5:43 PM · Frameworks
rjvbb added a comment to D18551: clang: Create preamble only on second parse.

Re: reparsing reliably each time a headerfile is changed: wouldn't the use of forwarding headers increase the chance of missing a change?

Mar 14 2019, 9:49 AM · KDevelop

Mar 12 2019

rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.

And there are probably places where the simpler QProcess API was used
instead.

Mar 12 2019, 10:00 AM · KDevelop

Mar 2 2019

rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.

On, with the partially reverted patch:

Mar 2 2019, 9:57 PM · Frameworks, Kate
rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.
But now the state is just like it was before: If you have a font that does fallbacks for some glyphs
Mar 2 2019, 9:16 PM · Frameworks, Kate
rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.
I would rather keep the current behavior and let people use sane fonts if the want unicode.
Mar 2 2019, 5:53 PM · Frameworks, Kate

Mar 1 2019

rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.

FWIW, Calligra Words can (idem QWE and QWK) so I guess you mean KTE cannot without a complete rewrite of how text is displayed?

Mar 1 2019, 3:34 PM · Frameworks, Kate
rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.
Just load the XML file from bug 404713.
Before this changes here, you did overpaint the next line randomly with the "oversized one", now you "cut" the oversized line.
Mar 1 2019, 2:16 PM · Frameworks, Kate
rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.

So it seems that the partial revert works; you lost me re: what would break again by doing that?

Mar 1 2019, 12:10 PM · Frameworks, Kate
rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.
We just can't use one fixed height for such texts.
Mar 1 2019, 12:01 PM · Frameworks, Kate

Feb 28 2019

rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.
That is a good observation: @cullmann Could you give this partial revert a try?
Feb 28 2019, 11:17 PM · Frameworks, Kate
rjvbb added a comment to D19416: Restore the search wrapped message to its former type and position..
@loh.tar The line edit in the search bar was once used before the floating message widgets in the view even existed. I guess it's legacy and possibly can be removed?
Feb 28 2019, 9:07 PM · Frameworks, Kate, KTextEditor
rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.
Next Frameworks Tag is on Saturday, 2nd, i.e. in 2 days. Revert, or give it a try?
Feb 28 2019, 9:04 PM · Frameworks, Kate
rjvbb added a comment to D19283: try to improve painting height for text lines - bug 403868 avoid to cut _ and other parts still broken: double height things like mixed english/arab, see bug 404713.

Causes https://bugs.kde.org/show_bug.cgi?id=404907

Feb 28 2019, 12:48 PM · Frameworks, Kate
rjvbb requested review of D19416: Restore the search wrapped message to its former type and position..
Feb 28 2019, 12:37 PM · Frameworks, Kate, KTextEditor
rjvbb added a comment to D19216: Karbon: Enable multi page capability.
That is actual a valid point, although in say Krita with transparent pixels a checkerboard is shown.
Feb 28 2019, 11:28 AM · Calligra: 3.0
rjvbb added a comment to D19216: Karbon: Enable multi page capability.
No, the canvas is part of the document and must never be themed. The canvas background is as much part of your drawing as any line you put on it.
Feb 28 2019, 8:47 AM · Calligra: 3.0

Feb 25 2019

rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

Even in your screenshot it looks fine to me.

Feb 25 2019, 2:24 PM · KDevelop
rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

Here's a very good example of an overly large problem report:

Feb 25 2019, 8:41 AM · KDevelop

Feb 24 2019

rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

About the combined popups: could you downsize the 2 components so they always have the same (reasonable) size which could be coupled to screen height?

Feb 24 2019, 8:44 AM · KDevelop
rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.
Omitting the problem tooltip if it's large makes it a bit unpredictable to the user. He/she then won't know in advance whether hovering over a location that might show a combined tooltip will actually show it or not.
Feb 24 2019, 8:33 AM · KDevelop

Feb 23 2019

rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

For me it is exactly the opposite. I hover the range that is underlined red

Feb 23 2019, 4:44 PM · KDevelop

Feb 22 2019

rjvbb added a comment to D19216: Karbon: Enable multi page capability.

Canvas color:
I don't quite see what it is for. You can set a background color for the canvas but it is only for the views, it is not printed.

Feb 22 2019, 3:30 PM · Calligra: 3.0
rjvbb added a comment to D18229: Contextbrowser: Ability to show combined problems and decl tooltip.

This seems like a big productivity progress (can't test it yet because using the 5.3 branch) but I have a concern that it is only a sufficient solution for those of us with (very) big screens. Esp. problem reports can be long, and I've never seen a scrollbar in them, AFAICR. Another concern is that the combined popup might be so big it's going to obscure parts of the code you'd want to keep visible for context.

Feb 22 2019, 11:12 AM · KDevelop
rjvbb added a comment to D19216: Karbon: Enable multi page capability.

This would indeed be great to have; even a page selector when importing a multi-page document would be an improvement (the Adobe Illustrator version I've use had that; IIRC it would just leave all other pages of the document alone).

Feb 22 2019, 10:57 AM · Calligra: 3.0

Feb 19 2019

rjvbb added a project to D9006: KDevelop project file manager: watch directories exclusively, avoid concurrent reloads and represent jobs in the RunController (PoC): KDevelop.
Feb 19 2019, 3:01 PM · KDevelop
rjvbb updated the diff for D9006: KDevelop project file manager: watch directories exclusively, avoid concurrent reloads and represent jobs in the RunController (PoC).

Time to rebase this proof-of-concept and restore its full scope, for reference even if only parts ever get upstreamed (there was a blocking disagreement last time).

Feb 19 2019, 3:01 PM · KDevelop

Feb 17 2019

rjvbb added a comment to D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu.

This patch also changed the logic of openProjectConfig().

Feb 17 2019, 10:16 PM · KDevelop

Feb 16 2019

rjvbb added a comment to R32:4ae0f487b931: "Reparse Entire Project" action for the ProjectController.

I'd appreciate if this were cherry-picked to the 5.3 branch, if/when possible. (I can do the rebasing.)

Feb 16 2019, 9:27 AM
rjvbb committed R32:4ae0f487b931: "Reparse Entire Project" action for the ProjectController (authored by rjvbb).
"Reparse Entire Project" action for the ProjectController
Feb 16 2019, 9:26 AM
rjvbb closed D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu.
Feb 16 2019, 9:26 AM · KDevelop

Feb 15 2019

rjvbb added a comment to D18551: clang: Create preamble only on second parse.
Sometimes it works, sometimes it doesn't. Often I have to mock-edit a file to force reparsing when some header has changed.
Feb 15 2019, 8:47 AM · KDevelop

Feb 14 2019

rjvbb added a comment to D18551: clang: Create preamble only on second parse.
To some extent this resembles the classic latency/throughput discussion.
Feb 14 2019, 9:24 AM · KDevelop

Feb 13 2019

rjvbb added a comment to D18551: clang: Create preamble only on second parse.

Well, if among developers you cannot find a solution that covers all use cases a configurable setting (applying only to setting the preamble-on-first parse flag or not) could well be the only compromise. And this one doesn't have to be hard to understand, which doesn't mean it has to (probably means that it should not) indicate exactly what it does.

Feb 13 2019, 8:49 AM · KDevelop

Feb 12 2019

rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).
What's the minimum viable change here?
Feb 12 2019, 9:55 AM · Frameworks
rjvbb added a comment to D18551: clang: Create preamble only on second parse.

Or, you add a flag to one of the relevant settings panels. There are already a number of options that aren't exactly easy to understand for everyone, this one could be something like "Make code-completion results available faster (can require significant resources)".

Feb 12 2019, 9:20 AM · KDevelop

Feb 11 2019

rjvbb added a comment to D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu.

auto* action = new QAction(tr("Reparse the Entire Project"), this);

Feb 11 2019, 7:37 PM · KDevelop
rjvbb added a project to D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu: KDevelop.
Feb 11 2019, 2:53 PM · KDevelop
rjvbb updated the diff for D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu.

Updated as requested.

Feb 11 2019, 2:52 PM · KDevelop
rjvbb added inline comments to D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu.
Feb 11 2019, 2:19 PM · KDevelop
rjvbb committed R32:fba39d4a06a4: Don't call clear() on a shared pointer we don't own (authored by rjvbb).
Don't call clear() on a shared pointer we don't own
Feb 11 2019, 10:45 AM
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

So this is just going to become a victim of the better-is-the-enemy-of-good principle?

Feb 11 2019, 9:24 AM · Frameworks

Feb 7 2019

rjvbb added a comment to D7930: Kdevelop CMake plugin : use canonical paths to build.dir.

Question to @apol: from what I can grasp CMakeTargetItem::m_builtUrl is cmake-internal cuisine so there shouldn't be any need to store it in canonical fashion but rather reason(s) to store it exactly as cmake knows it?

Feb 7 2019, 9:38 AM · KDevelop

Feb 5 2019

rjvbb added inline comments to D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu.
Feb 5 2019, 11:01 AM · KDevelop
rjvbb added a comment to D18551: clang: Create preamble only on second parse.
Is the parser triggered again if the entire project has been parsed already?
Feb 5 2019, 9:12 AM · KDevelop

Feb 4 2019

rjvbb set the repository for D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu to R32 KDevelop.
Feb 4 2019, 11:32 AM · KDevelop
rjvbb added inline comments to D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu.
Feb 4 2019, 11:31 AM · KDevelop
rjvbb updated the diff for D11934: KDevelop : "Reparse Entire Project" action in the project manager context menu.

Updated as requested (minus the potential change to iProjectController::reparseProject).

Feb 4 2019, 11:31 AM · KDevelop
rjvbb set the repository for D15530: kdev-clang : somewhat more complete ObjC(++) support to R32 KDevelop.
Feb 4 2019, 10:07 AM · KDevelop
rjvbb updated the diff for D15530: kdev-clang : somewhat more complete ObjC(++) support.

Comment removed.

Feb 4 2019, 10:07 AM · KDevelop
rjvbb added inline comments to D15530: kdev-clang : somewhat more complete ObjC(++) support.
Feb 4 2019, 10:06 AM · KDevelop
rjvbb abandoned D14469: KDevelop: word wrapping the problem text in the Problem Reporter (WIP).
Feb 4 2019, 9:32 AM · KDevelop

Feb 3 2019

rjvbb set the repository for D16894: [ECM] use a macro to add compiler flags conditionally to R240 Extra CMake Modules.
Feb 3 2019, 10:40 PM · Build System, Frameworks
rjvbb updated the diff for D16894: [ECM] use a macro to add compiler flags conditionally.

Now tested more exhaustively and with unittest.

Feb 3 2019, 10:39 PM · Build System, Frameworks
rjvbb added a comment to D18551: clang: Create preamble only on second parse.

No, sorry, I am a bit confused by your notation and the fact you seem to consider only files that are open when you start a session and then probably confused myself a bit more while answering.

Feb 3 2019, 6:39 PM · KDevelop
rjvbb committed R626:25c45221b66c: move initFontTickData into Style (authored by rjvbb).
move initFontTickData into Style
Feb 3 2019, 11:16 AM
rjvbb committed R626:293a822b2fc0: Fix the LibreOffice fix (authored by rjvbb).
Fix the LibreOffice fix
Feb 3 2019, 10:43 AM

Feb 2 2019

rjvbb added a comment to D18551: clang: Create preamble only on second parse.
where (1) = entire project is parsed on import. Is that correct?
Feb 2 2019, 8:03 PM · KDevelop
rjvbb committed R626:ef1e350efa49: work around a crash in LibreOffice (authored by rjvbb).
work around a crash in LibreOffice
Feb 2 2019, 1:04 PM
rjvbb added a comment to D18551: clang: Create preamble only on second parse.

Is Milian's suggestion different from mine of setting the flag only when projects are not parsed entirely on import (which may be easier to test for where the flag is set, I haven't checked)?

Feb 2 2019, 8:47 AM · KDevelop

Feb 1 2019

rjvbb added a comment to D14469: KDevelop: word wrapping the problem text in the Problem Reporter (WIP).
never seen this, please investigate and fix it
Feb 1 2019, 7:54 PM · KDevelop
rjvbb added a comment to D14469: KDevelop: word wrapping the problem text in the Problem Reporter (WIP).

What I meant is that tooltips in the problem reporter appear when you hover the mouse over an entry, and disappear again when you move the mouse back to the text editor (and certainly when you need to scroll the editor window because the tooltip covers the area where you need to be). But for some reason I'm not getting any tooltips in that reporter at all at the moment.

Feb 1 2019, 1:41 PM · KDevelop

Jan 31 2019

rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.
So according to you, this line is useful ? from my point of view, it's needless and just looks like a syntax error.
Jan 31 2019, 7:15 PM · Build System, Frameworks
rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.

Forget that. The syntax is confusing, please remove this HASFLAG

Jan 31 2019, 6:30 PM · Build System, Frameworks
rjvbb committed R8:2c601b660e88: QMainWindow::setUnifiedTitleAndToolBarOnMac should not be used anymore. (authored by rjvbb).
QMainWindow::setUnifiedTitleAndToolBarOnMac should not be used anymore.
Jan 31 2019, 2:53 PM
rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.
There are tests for other ECM modules in the **tests** subdir.
Jan 31 2019, 12:13 PM · Build System, Frameworks
rjvbb set the repository for D16894: [ECM] use a macro to add compiler flags conditionally to R240 Extra CMake Modules.
Jan 31 2019, 10:34 AM · Build System, Frameworks
rjvbb updated the diff for D16894: [ECM] use a macro to add compiler flags conditionally.

Updated as requested.

Jan 31 2019, 10:34 AM · Build System, Frameworks
rjvbb added inline comments to D16894: [ECM] use a macro to add compiler flags conditionally.
Jan 31 2019, 10:30 AM · Build System, Frameworks

Jan 30 2019

rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.
Right, but I was saying all this because I think IF_SUPPORTED (the keyword in the arguments) should be SUPPORTED_IF.
Jan 30 2019, 12:39 PM · Build System, Frameworks
rjvbb added a comment to D18551: clang: Create preamble only on second parse.

So there should indeed be some real-world benchmarking data to do a cost/benefit analysis that includes the human-in-the-loop aspect and huge projects like the ones Aaron uses. We already have an estimated 10% gain for a full reparse of a small project after its initial import.

Jan 30 2019, 9:06 AM · KDevelop
rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.
In that sentence, one can read "if supported" for the macro name, ...
Jan 30 2019, 12:28 AM · Build System, Frameworks

Jan 29 2019

rjvbb added a comment to D15797: [kdev-clazy] : use canonical paths.

To put it bluntly: you should have asked that 3 months ago ;)
I really can't remember if I had a specific reason or if this is just the result of a search/replace.

Jan 29 2019, 3:56 PM · KDevelop
rjvbb added a comment to D18551: clang: Create preamble only on second parse.

Aaron, don't your arguments apply to parsing an entire project on startup as well? I can easily imagine that opening and parsing entire projects of the size you mention must have a non-negligible cost regardless of all optimisation and caching that is currently implemented
There is a setting for this feature. A similar switch for the preamble thing will probably be difficult to label comprehensively but maybe a coupling can be made with the full-project-parse switch?

Jan 29 2019, 9:26 AM · KDevelop

Jan 28 2019

rjvbb set the repository for D16894: [ECM] use a macro to add compiler flags conditionally to R240 Extra CMake Modules.
Jan 28 2019, 9:25 PM · Build System, Frameworks
rjvbb updated the diff for D16894: [ECM] use a macro to add compiler flags conditionally.

This follows David's suggestion, but using QUERY_IF instead of the suggested TRY_IF to make it clear that this parameter controls the querying of the compiler.
I haven't yet tested the new logic exhaustively but the as far as I can tell the macro behaves as intended as used in the two compiler settings modules.

Jan 28 2019, 9:24 PM · Build System, Frameworks
rjvbb added a comment to D17289: KDevelop/Shell: set dedicated TMPDIR.
we use CXTranslationUnit_CreatePreambleOnFirstParse to get code completion results fast. otherwise the first code completion request would create the preamble, which felt much worse
Jan 28 2019, 10:52 AM · KDevelop
rjvbb added a comment to D18551: clang: Create preamble only on second parse.
On my test file, time spent in clang_codeCompleteAt goes down from ~700ms
Jan 28 2019, 10:40 AM · KDevelop
rjvbb added a comment to D18551: clang: Create preamble only on second parse.

Replying to a remark by Milian on D17289 where this idea came up:

Jan 28 2019, 9:54 AM · KDevelop
rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.

Usually if you have a conditional behaviour the associated condition specifies when to trigger it, no?
You're right that the names don't suggest exactly how the condition is being evaluated (with extra checks or not), but that was also a bit the idea.
Don't bother the user with such details, just provide a macro that will add the flag(s) if they are supported, with an optional conditional expression that can make things faster.

Jan 28 2019, 9:38 AM · Build System, Frameworks

Jan 27 2019

rjvbb set the repository for D16894: [ECM] use a macro to add compiler flags conditionally to R240 Extra CMake Modules.
Jan 27 2019, 10:15 PM · Build System, Frameworks
rjvbb updated the diff for D16894: [ECM] use a macro to add compiler flags conditionally.

Renamed macro and parameter names as announced in my last comment.

Jan 27 2019, 10:14 PM · Build System, Frameworks
rjvbb added a comment to D16894: [ECM] use a macro to add compiler flags conditionally.

This makes sense to me. Just the name "SUPPORTED_IF" is strange, when reading that, one thinks "well, if we know the compiler flag is supported, why are we testing that it is?".

Jan 27 2019, 10:13 PM · Build System, Frameworks
rjvbb added a comment to D18547: Don't enable -Wzero-as-null-pointer-constant on apple clang.

like René says, this is quite surprising

Hmmm, did I say exactly that? :)

Jan 27 2019, 9:04 PM · Build System, Frameworks
rjvbb added a comment to D18380: KIO: make file dialog columns resizable again (and movable).

But still, isn't there another way? Now the header and view are locked together. One doesn't work without the other.

Jan 27 2019, 5:22 PM · Frameworks
rjvbb accepted D18551: clang: Create preamble only on second parse.

In case someone thinks that creating the pch file when you open a file causes a noticeable lag during the opening process: if so this would also be the case when configuring KDevelop not to parse the entire project on import. I use that mode all the time and never noticed any such lag.

Jan 27 2019, 2:16 PM · KDevelop