Created attachment 119720 [details] screenshot SUMMARY Cannot toggle breakpoint by single click. I believe it was possible to click to the left of the editor to toggle breakpoints some time ago (~10 years ago). Now if you left-click in the marker column, only a bookmark is added. Please either 1. Add another marker column for breakpoints to allow easy toggling of breakpoints and bookmarks by left-clicking in the respective marker column, or 2. Make the left-click action configurable in the KDevelop settings dialog. The first option would be better because these markers would be easier to find visually. At the moment these markers overlap one another, see screenshot: it's really hard to notice that the line with breakpoint is bookmarked at the same time. Операционная система: Fedora 29 Версия KDE Plasma: 5.14.5 Версия Qt: 5.11.3 Версия KDE Frameworks: 5.55.0 Версия ядра: 5.0.6-200.fc29.x86_64 Архитектура: 64-битная
Hello, have you tried to enable Icon border ? Menu > View > Borders > [x] Show Icon Border After enabling it, right click on it to invoke context menu. In context menu select: Set Default Mark Type > Breakpoint
"Show Icon Border" is enabled. I can toggle breakpoints using context menu, but it's too complicated and I think it's a regression introduced since KDevelop 4.x. Single click is much better experience than use of context menu for such a common action.
I know, that is why I explained how to set breakpoint as default. Go with mouse on icon border and right click and followinstructions.
Created attachment 119722 [details] Enable "icon border" and set breakpoint as default Example on how to follow what I wrote.
Found it. Thanks! It was hard to discover because when I right-click on an existing breakpoint, there is no submenu "Set Default Mark Type", see the new screenshot.
Created attachment 119723 [details] screenshot of context menu for existing BP
Created attachment 149992 [details] Screenshot of context menu without breakpoint From version 21.12 (may be earlier) there is no longer a breakpoint entry. I can set a breakpoint only with a key combination or with context menu of the line of code itself (not border).
I also have this issue. Is there no way to set the default to breakpoints instead of bookmarks at this time? Given that clicking next to the line number to add a breakpoint standard convention across most IDEs, this seems like something that should be set by default.
Right click on the icons border triggers the Kate popup menu, instead of the abitual kdevelop menu allowing to set the default click behaviour
*** This bug has been confirmed by popular vote. ***
(In reply to Gabriele Menna from comment #9) > Right click on the icons border triggers the Kate popup menu, instead of the > abitual kdevelop menu allowing to set the default click behaviour And the left click toggles another menu, which provides an option to set the default mark type, but settings that makes no difference, the next left click toggles the same menu.
(In reply to Eugene Shalygin from comment #11) > And the left click toggles another menu, which provides an option to set the > default mark type, but settings that makes no difference, the next left > click toggles the same menu. This behavior must be a consequence of some change in ktexteditor 5.100, because it started happening to me only after a recent system update (the kdevelop-git package did not change, was built from master two months ago). Breakpoints were toggled by single click, as expected, before the system update.
Found it: https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/441. The default mark type is now set only if Ctrl is pressed. Though this works only if Bookmark is the default type with KTextEditor 5.100. Fixed in https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/445 (KTextEditor 5.101).
(In reply to Igor Kushnir from comment #13) > Fixed in https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/445 (KTextEditor 5.101). Have 5.101 installed, but left clicks still show the menu. At least I know I can press Control to set a breakpoint, thank you!
(In reply to Eugene Shalygin from comment #14) > (In reply to Igor Kushnir from comment #13) > > Fixed in https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/445 (KTextEditor 5.101). > > Have 5.101 installed, but left clicks still show the menu. At least I know I > can press Control to set a breakpoint, thank you! I meant that the new feature "The default mark type is now set only if Ctrl is pressed" is fixed in KTextEditor 5.101. I personally prefer the previous KDevelop behavior (Breakpoint set on a simple left click). I don't understand why couldn't the default mark type submenu be moved into the right-click menu instead of requiring holding Ctrl to set the default mark.