[kate] [Bug 494099] Kate crashes after untracked file deleted from project sidebar

2024-10-04 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=494099

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/eb5d004
   ||ae1e0a913a1b211e2cd81806c96
   ||245bfc

--- Comment #2 from Waqar Ahmed  ---
Git commit eb5d004ae1e0a913a1b211e2cd81806c96245bfc by Waqar Ahmed.
Committed on 04/10/2024 at 11:24.
Pushed by waqar into branch 'master'.

Check for index validity when deleting file

Can't reproduce the bug on master, but I can reproduce it with distro Kate.
Regardles, this change should make it safer

M  +27   -19   addons/project/kateprojecttreeviewcontextmenu.cpp

https://invent.kde.org/utilities/kate/-/commit/eb5d004ae1e0a913a1b211e2cd81806c96245bfc

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493665] kate losts session after restore plasma session

2024-10-04 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493665

--- Comment #6 from Waqar Ahmed  ---
How do you quit Kate? Do you quit it even?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 487054] Unexpected space indentation in Go var group

2024-10-03 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=487054

Waqar Ahmed  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/ktexteditor/-/commit
   ||/9113274ad58fb588d5b6e30d98
   ||446495fec591b2
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Waqar Ahmed  ---
Git commit 9113274ad58fb588d5b6e30d98446495fec591b2 by Waqar Ahmed.
Committed on 01/10/2024 at 08:15.
Pushed by cullmann into branch 'master'.

Fix unexpected space indentation in Go var group

A  +13   -0autotests/input/indent/cstyle/openpar13/expected
A  +4-0autotests/input/indent/cstyle/openpar13/input.js
A  +11   -0autotests/input/indent/cstyle/openpar13/origin
M  +9-7src/script/data/indentation/cstyle.js

https://invent.kde.org/frameworks/ktexteditor/-/commit/9113274ad58fb588d5b6e30d98446495fec591b2

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493665] kate losts session after restore plasma session

2024-10-03 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493665

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #4 from Waqar Ahmed  ---
Need an easier way to reproduce this.

When this happens next, can you check what's in your
~/.local/share/kate/stash/SESSION_NAME_HERE directory.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 475466] Key to confirm suggestion

2024-09-30 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=475466

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Waqar Ahmed  ---
This was fixed earlier this year.  There is a new option: "Use Enter key to
insert selected completion", if you uncheck it Enter will just add a \n

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 484370] Auto complete setting does not apply the correct value, when set to a value less than 3

2024-09-30 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=484370

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
Can't reproduce. 

I typed hello in a txt file. Then typed "he" and then completion list appeared
as expected

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 473328] Remove Trailing Spaces option should ignore empty lines

2024-09-30 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=473328

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #1 from Waqar Ahmed  ---


*** This bug has been marked as a duplicate of bug 460749 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 460749] Should not remove end of current line spaces when auto saving

2024-09-30 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=460749

Waqar Ahmed  changed:

   What|Removed |Added

 CC||jakieschneide...@gmail.com

--- Comment #1 from Waqar Ahmed  ---
*** Bug 473328 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 465265] Detect treat local file paths as URLs

2024-09-29 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465265

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/963b4a1
   ||dc6e49fcae4e6c50ac9452aebb8
   ||091e85

--- Comment #2 from Waqar Ahmed  ---
Git commit 963b4a1dc6e49fcae4e6c50ac9452aebb8091e85 by Waqar Ahmed.
Committed on 29/09/2024 at 17:54.
Pushed by waqar into branch 'master'.

OpenLink: Detect absoloute file paths as urls

Only unix style paths are detected atm

M  +90   -31   addons/openlink/OpenLinkPlugin.cpp

https://invent.kde.org/utilities/kate/-/commit/963b4a1dc6e49fcae4e6c50ac9452aebb8091e85

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 489600] Some .kateconfig settings are applied only after file reload (pressing F5)

2024-09-29 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=489600

Waqar Ahmed  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/ktexteditor/-/commit
   ||/58a165c5e067b780a260bb0e10
   ||a0b50e2b7f3715
 Resolution|--- |FIXED

--- Comment #4 from Waqar Ahmed  ---
Git commit 58a165c5e067b780a260bb0e10a0b50e2b7f3715 by Waqar Ahmed.
Committed on 29/09/2024 at 17:55.
Pushed by cullmann into branch 'master'.

Read dir kateconfig on view creation

M  +43   -30   src/document/katedocument.cpp
M  +14   -4src/document/katedocument.h

https://invent.kde.org/frameworks/ktexteditor/-/commit/58a165c5e067b780a260bb0e10a0b50e2b7f3715

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493753] Kate can't run script if it has backspaces in it's name

2024-09-29 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493753

--- Comment #6 from Waqar Ahmed  ---
> In Settings -> Configure Kate... -> Terminal, uncheck "Remove extension"

You can enable this setting once, apply. Then open settings again and disable
it. That should fix it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493753] Kate can't run script if it has backspaces in it's name

2024-09-29 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493753

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED
 Status|NEEDSINFO   |RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/eaffa9a
   ||27b3766b87919fa399c2f4cb244
   ||70ec4d

--- Comment #5 from Waqar Ahmed  ---
Git commit eaffa9a27b3766b87919fa399c2f4cb24470ec4d by Waqar Ahmed.
Committed on 29/09/2024 at 10:13.
Pushed by waqar into branch 'master'.

konsole: Use same default value for 'RemoveExtension'

We were use a different default value in the config dialog vs the actual
run document function which would lead to confusion

M  +1-1addons/konsole/kateconsole.cpp

https://invent.kde.org/utilities/kate/-/commit/eaffa9a27b3766b87919fa399c2f4cb24470ec4d

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493753] Kate can't run script if it has backspaces in it's name

2024-09-28 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493753

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #3 from Waqar Ahmed  ---
Please share a screenshot of the settings so that I can be sure you have the
right setting unchecked

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493753] Kate can't run script if it has backspaces in it's name

2024-09-28 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493753

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 CC||waqar@gmail.com
 Resolution|--- |NOT A BUG

--- Comment #1 from Waqar Ahmed  ---
In Settings -> Configure Kate... -> Terminal, uncheck "Remove extension"

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 461419] Kate plugin-sql: Export/Copy of output table fails to retain order

2024-09-28 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=461419

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com
  Component|kwrite  |general

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 474060] idea: "highlighter-pen" mode to mark "pending" edits

2024-09-28 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=474060

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com
  Component|kwrite  |general

--- Comment #1 from Waqar Ahmed  ---
Moving to Kate. This is out of scope for kwrite

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 455413] modern unicode formatting--bold, italic, underline--for text editing

2024-09-28 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=455413

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |INTENTIONAL
 Status|REPORTED|RESOLVED
 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
Sorry, this is out of scope for us. We are intentionally a plain text editor
and will remain so.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 479450] keyboard shortcut to show lsp error tooltip

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=479450

Waqar Ahmed  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/6041561
   ||1e80c960c49fbc7d60d04a12fe6
   ||f92528
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Waqar Ahmed  ---
Git commit 60415611e80c960c49fbc7d60d04a12fe6f92528 by Waqar Ahmed.
Committed on 27/09/2024 at 12:16.
Pushed by waqar into branch 'master'.

diag: Add action to show hover info

The action is "Show Hover Info" and it can be accessed via the command
bar or from Menubar: Tools -> Diagnostic View -> Show Hover Info

M  +20   -3apps/lib/diagnostics/diagnosticview.cpp
M  +1-1apps/lib/diagnostics/diagnosticview.h
M  +2-1apps/lib/diagnostics/ui.rc

https://invent.kde.org/utilities/kate/-/commit/60415611e80c960c49fbc7d60d04a12fe6f92528

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 490369] [WISH] Open bookmarks through Quick Open (pluggable QO?)

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=490369

Waqar Ahmed  changed:

   What|Removed |Added

Summary|[WISH] Open LSP Symbols and |[WISH] Open bookmarks
   |bookmarks through Quick |through Quick Open
   |Open (pluggable QO?)|(pluggable QO?)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 465265] Detect treat local file paths as URLs

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=465265

Waqar Ahmed  changed:

   What|Removed |Added

 CC||cp...@gmx.de

--- Comment #1 from Waqar Ahmed  ---
*** Bug 492721 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 492747] Spell checking doesn't work in some cases related to Diff highlighting

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492747

Waqar Ahmed  changed:

   What|Removed |Added

Product|kate|frameworks-syntax-highlight
   ||ing
  Component|general |syntax
Version|23.08.5 |unspecified
 CC||walter.von.entferndt@posteo
   ||.net, waqar@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492721] Open file from selection

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492721

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE
 CC||waqar@gmail.com

--- Comment #2 from Waqar Ahmed  ---


*** This bug has been marked as a duplicate of bug 465265 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493521] Sort Mode and Highlighting by initials instead of types

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493521

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
Unlikely that this will happen.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 482521] White border on the status bar in dark mode

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=482521

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/a8bb011
   ||a63e423ef7b4b679daa32abaf16
   ||8b98bb

--- Comment #6 from Waqar Ahmed  ---
Git commit a8bb011a63e423ef7b4b679daa32abaf168b98bb by Waqar Ahmed.
Committed on 27/09/2024 at 12:11.
Pushed by waqar into branch 'master'.

Fix separator color

It was enabled so appeared to bright

M  +1-0apps/lib/katemdi.cpp

https://invent.kde.org/utilities/kate/-/commit/a8bb011a63e423ef7b4b679daa32abaf168b98bb

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493729] New files should be automaticlly stored on close and reopen on start.

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493729

--- Comment #6 from Waqar Ahmed  ---
Not sure that is in my hands. You can create an alias for it in your bashrc
file. Maybe removing distro package will allow you to call 'kate' directly.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-syntax-highlighting] [Bug 464690] Spell checking is confused by Python format strings

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=464690

Waqar Ahmed  changed:

   What|Removed |Added

Product|kate|frameworks-syntax-highlight
   ||ing
  Component|general |syntax
 CC||walter.von.entferndt@posteo
   ||.net, waqar@gmail.com
Version|22.08.2 |unspecified

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493729] New files should be automaticlly stored on close and reopen on start.

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493729

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 CC||waqar@gmail.com
 Resolution|--- |WORKSFORME

--- Comment #2 from Waqar Ahmed  ---
1. Start using sessions functionality in Kate, create named sessions
2. See Sessions page in settings. Set your options there. Specifically
"startup/shutdown behaviour" is what you want.

The feature is not that old so it might not be 100% reliable yet.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 489921] Error: ShellCheck: json parse failed with error SyntaxError when opening bash files in Kate using bash-language-server LSP Client

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=489921

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 CC||waqar@gmail.com
 Status|REPORTED|RESOLVED

--- Comment #1 from Waqar Ahmed  ---
This seems to be a bash lsp issue, please file an issue there.

https://github.com/bash-lsp/bash-language-server/blob/2c015de54b873c0dd9f595ebfdb94521a6bfd43c/server/src/shellcheck/index.ts#L175

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493729] New files should be automaticlly stored on close and reopen on start.

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493729

--- Comment #3 from Waqar Ahmed  ---
Also, use a newer package, 24.08 or newer. The version you have is too old so
it will be a lot buggier. We have appimages and flatpak support

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 434330] Kate file type associations limited in Windows store version

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=434330

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #2 from Waqar Ahmed  ---
We add support for a lot of mimetypes, whats the mimetype for julia/vim?

https://invent.kde.org/packaging/craft-blueprints-kde/-/blame/master/kde/applications/kate/kate.py?ref_type=heads#L63

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493690] Wishlist: better tab management

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493690

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
Some of these are already available.

See File menu and search for "Reopen latest closed documents"

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 448695] block mode tabspace indents selection

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=448695

--- Comment #6 from Waqar Ahmed  ---
*** Bug 493723 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493723] Indentation Actions Setting is ignored when in block mode

2024-09-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493723

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com
 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Waqar Ahmed  ---


*** This bug has been marked as a duplicate of bug 448695 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492187] LSP popup box has very poor contrast with surrounding code and general styling issues

2024-09-26 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492187

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED
  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/kate/-/commit/d84009c |ities/kate/-/commit/27bc989
   |49bd1f3b153235dcd821c84e845 |86306f55a4076d21f4d25852dd0
   |da583b  |5a1687

--- Comment #8 from Waqar Ahmed  ---
Git commit 27bc98986306f55a4076d21f4d25852dd05a1687 by Waqar Ahmed.
Committed on 26/09/2024 at 16:54.
Pushed by waqar into branch 'master'.

tooltip: Use a variant of foreground color for tooltip border

It will have better contrast.

M  +1-1apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/27bc98986306f55a4076d21f4d25852dd05a1687

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492064] The LSP plugin's popup box disappears almost immediately when it loses focus, even if the cursor never had time to enter the box

2024-09-26 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492064

Waqar Ahmed  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/kate/-/commit/f7520e7 |ities/kate/-/commit/7227089
   |7ed40b618d5913636bec480f7fe |4a672b3e09b53b4d8cc67f35827
   |c64530  |71a714
 Resolution|--- |FIXED

--- Comment #7 from Waqar Ahmed  ---
Git commit 72270894a672b3e09b53b4d8cc67f3582771a714 by Waqar Ahmed.
Committed on 26/09/2024 at 16:54.
Pushed by waqar into branch 'master'.

tooltip: Dont hide if hovering over the same word

... otherwise hide immediately

M  +14   -1apps/lib/texthint/KateTextHintManager.cpp
M  +2-0apps/lib/texthint/KateTextHintManager.h
M  +21   -28   apps/lib/texthint/tooltip.cpp
M  +2-1apps/lib/texthint/tooltip.h

https://invent.kde.org/utilities/kate/-/commit/72270894a672b3e09b53b4d8cc67f3582771a714

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492187] LSP popup box has very poor contrast with surrounding code and general styling issues

2024-09-26 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492187

--- Comment #7 from Waqar Ahmed  ---
The separator color should be coming from the "editor color theme". Separator
color is used for the line between LineNumber area and editor area. But it
seems like its dark in your case so it doesn't really work. I will try to use a
variant foreground color of instead, seems to work much better.

> I still like the idea of having the widget background be a slightly different 
> color than the code editor background, but maybe that's just me. I wouldn't 
> have reopened this for nitpicky subjective stuff like this of course. I 
> probably shouldn't be the sole source of input on the LSP widget design, just 
> because I happen to be the only person filing bug reports about it. :-)

That is not a bad idea. The problem here is finding the "right" color which
works for all themes. That part is not easy. VSCode does this by having
dedicated colors for things like this, so if the color is bad, blame it on the
theme. I tried to use lightened/darkened background color variants but didn't
get too far (but I also didn't try very hard tbh). See my new commit (that will
land soon). If you want to help with something like that, it will give you a
good idea. We also have contrast helpers in KGuiAddons library that can
probably be utilized for finding a good enough match.



For the extra padding or margins around headers, its doable if I look at the
api. One needs to iterate over all the blocks in the document and find the ones
which have a headingLevel() and then change their blockformat to have a block
margin. I would encourage you to make an MR, can help finding the right APIs if
you want. :)

Increasing padding in general should also be doable via setDocumentMargins I
think.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492061] rust-analyzer language server hits error condition while starting, "failed to find any projects" (LSP plugin)

2024-09-26 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492061

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/8a790b3
   ||b895624fca4848fe308753ab22d
   ||d46e61

--- Comment #7 from Waqar Ahmed  ---
Git commit 8a790b3b895624fca4848fe308753ab22dd46e61 by Waqar Ahmed.
Committed on 26/09/2024 at 16:37.
Pushed by waqar into branch 'master'.

Update dart & rust lsp settings

We need rootIndicationFileNames for both these servers so that a
rootPath is sent to the server correctly. The servers fail to do this
job themselves even though they shouldn't. Besides that, we must set
useWorkspace=true so that a new server isn't spawned for every new
project root.

M  +4-3addons/lspclient/settings.json

https://invent.kde.org/utilities/kate/-/commit/8a790b3b895624fca4848fe308753ab22dd46e61

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492187] LSP popup box has very poor contrast with surrounding code and general styling issues

2024-09-26 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492187

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #5 from Waqar Ahmed  ---
The linked commits should improve the situation a bit.

I have tried to address most of the points. Creating new bugs out of these
points would be a time waste so I addressed as much as could be easily done.
There might still be issues but hopefully fewer than before which we can look
at individually. You can reopen if you feel we can tune a bit more here or the
points are not really addressed.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492187] LSP popup box has very poor contrast with surrounding code and general styling issues

2024-09-26 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492187

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/d84009c
   ||49bd1f3b153235dcd821c84e845
   ||da583b

--- Comment #4 from Waqar Ahmed  ---
Git commit d84009c49bd1f3b153235dcd821c84e845da583b by Waqar Ahmed.
Committed on 26/09/2024 at 08:18.
Pushed by waqar into branch 'master'.

tooltip: Use 1 pt smaller font than editor

But dont go below 11 pt so that we don't end up being too small

M  +5-1apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/d84009c49bd1f3b153235dcd821c84e845da583b

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492187] LSP popup box has very poor contrast with surrounding code and general styling issues

2024-09-26 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492187

--- Comment #3 from Waqar Ahmed  ---
Git commit 38e6e9c8f6d732fd7fec5c23a97af377548d3db4 by Waqar Ahmed.
Committed on 26/09/2024 at 07:59.
Pushed by waqar into branch 'master'.

tooltip: Highlight the background of inline codespans

Makes them look a bit different from the surrounding text

M  +12   -0apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/38e6e9c8f6d732fd7fec5c23a97af377548d3db4

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492187] LSP popup box has very poor contrast with surrounding code and general styling issues

2024-09-26 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492187

--- Comment #2 from Waqar Ahmed  ---
Git commit fd7f81fcd1261fe87fbed02e33236f1da9322c18 by Waqar Ahmed.
Committed on 26/09/2024 at 07:41.
Pushed by waqar into branch 'master'.

tooltip: Fix frame color in darkmode

The frame color is barely visible in darkmode and too vibrant in
lightmode. Use Separator color from the theme for the frame instead.
Makes it much easier to distinguish the tooltip from the editor.

M  +6-1apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/fd7f81fcd1261fe87fbed02e33236f1da9322c18

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492187] LSP popup box has very poor contrast with surrounding code and general styling issues

2024-09-26 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492187

--- Comment #1 from Waqar Ahmed  ---
Git commit cff43ef0e47fc8f632d2697a171ca5608c3ed0ec by Waqar Ahmed.
Committed on 26/09/2024 at 07:20.
Pushed by waqar into branch 'master'.

tooltip: Underline the links and reduce heading height

M  +18   -2apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/cff43ef0e47fc8f632d2697a171ca5608c3ed0ec

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kxmlgui] [Bug 493412] Keyboard Shortcuts option to assign an empty shortcut assigns the spacebar to that action

2024-09-25 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493412

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/a23a993
   ||9e4aa21db7404b68bc5dad66d83
   ||fbbdd4

--- Comment #7 from Waqar Ahmed  ---
Git commit a23a9939e4aa21db7404b68bc5dad66d83fbbdd4 by Waqar Ahmed, on behalf
of John Kizer.
Committed on 26/09/2024 at 06:12.
Pushed by waqar into branch 'master'.

Fix expected separator for kate_mdi shortcuts

Shortcuts for MDI ToolViews are read in via separate code from other shortcuts,
and that separate code expected a separator of a semicolon only, not the
semicolon+space combination used everywhere else.

M  +1-1apps/lib/katemdi.cpp

https://invent.kde.org/utilities/kate/-/commit/a23a9939e4aa21db7404b68bc5dad66d83fbbdd4

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492064] The LSP plugin's popup box disappears almost immediately when it loses focus, even if the cursor never had time to enter the box

2024-09-25 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492064

Waqar Ahmed  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/f7520e7
   ||7ed40b618d5913636bec480f7fe
   ||c64530

--- Comment #4 from Waqar Ahmed  ---
Git commit f7520e77ed40b618d5913636bec480f7fec64530 by Waqar Ahmed.
Committed on 26/09/2024 at 05:00.
Pushed by waqar into branch 'master'.

Dont hide the tooltip if cursor is moving towards the tooltip

It can be hard to reach the tooltip sometimes as the time limit is 100ms.

M  +25   -1apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/f7520e77ed40b618d5913636bec480f7fec64530

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492566] Can't remove breakpoints

2024-09-25 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492566

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Waqar Ahmed  ---
Should be fixed after
https://invent.kde.org/utilities/kate/-/merge_requests/1590

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493509] ctrl + left/right no longer stops at punctuation

2024-09-22 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493509

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
can not reproduce.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 487644] Word deletion and drag and drop behavior in Kate and Kwrite is suboptimal

2024-09-18 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=487644

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
I agree on the ctrl-delete issue, but not drag and drop. DND is working as
expected => double click should just select the word.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492854] All saved sessions lost!

2024-09-18 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492854

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 CC||waqar@gmail.com
 Status|REPORTED|RESOLVED

--- Comment #1 from Waqar Ahmed  ---
Sorry that this happened but we can't do much here without a way to reproduce
this problem. 

Also, creating backups is something you need to do yourself.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 464224] Inconsistent tab behavior when reopening session

2024-09-18 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=464224

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #6 from Waqar Ahmed  ---
Fixed with https://invent.kde.org/utilities/kate/-/merge_requests/1578

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 491399] Plasma panel disappears after unlocking screen

2024-09-17 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=491399

--- Comment #29 from Waqar Ahmed  ---
I have tried to reproduce with a notification showing using

notify-send "summary" "some body text" -t 10

but so far no luck. Can you try that?

Other than that, I am now running self built plasmashell but so far I haven't
been able to hit the bug even after turning the monitor off and on dozens of
times.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493256] Kate crashed when saving file

2024-09-17 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493256

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/e5017d0
   ||dcd993660479cf78cc1d9d7b06a
   ||38e429
 CC||waqar@gmail.com
 Resolution|--- |FIXED

--- Comment #1 from Waqar Ahmed  ---
Fixed with
https://invent.kde.org/utilities/kate/-/commit/e5017d0dcd993660479cf78cc1d9d7b06a38e429

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493248] Kate project plugin doesn't show any files

2024-09-17 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493248

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493248] Kate project plugin doesn't show any files

2024-09-17 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493248

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO
 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
Please share the .kateproject file.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 491399] Plasma panel disappears after unlocking screen

2024-09-16 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=491399

--- Comment #27 from Waqar Ahmed  ---
All those bugs look like duplicates of this one (or the other way around).

I don't think its a cable issue, otherwise plasmashell wouldn't restore itself
on running `systemctl restart --user plasma-plasmashell.service`. The bug is
quite hard to reproduce, I haven't seen it once since last week. My current
hypothesis is that plasmashell is restored before the screen is actually ready
to show content and gets stuck. This might actually be a bug somewhere lower in
the stack.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492993] Cannot "Save as", crashes maybe

2024-09-15 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492993

--- Comment #17 from Waqar Ahmed  ---
It is probably a much older version so it will be a bit different. If you want
a newer version either install 24.08 version from Snap, I am not sure if it
works or not but 24.08 is the stable version. Or you can try the appImage which
is available on the kate website.

-- 
You are receiving this mail because:
You are watching all bug changes.

[neon] [Bug 491691] Kate 24.11.70 Crashes on Save As or Save Copy As

2024-09-13 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=491691

Waqar Ahmed  changed:

   What|Removed |Added

 CC||maybejos...@aol.com

--- Comment #16 from Waqar Ahmed  ---
*** Bug 492993 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492993] Cannot "Save as", crashes maybe

2024-09-13 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492993

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com
 Resolution|WAITINGFORINFO  |DUPLICATE
 Status|NEEDSINFO   |RESOLVED

--- Comment #11 from Waqar Ahmed  ---


*** This bug has been marked as a duplicate of bug 491691 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 456502] External tools configuration lost

2024-09-13 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=456502

Waqar Ahmed  changed:

   What|Removed |Added

 CC||rauchwe...@gmail.com

--- Comment #4 from Waqar Ahmed  ---
*** Bug 493055 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 493055] After adding an external tool, the standard tools are no longer displayed.

2024-09-13 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=493055

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com
 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Waqar Ahmed  ---


*** This bug has been marked as a duplicate of bug 456502 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 492869] multiselection: odd behaviour when joining selections

2024-09-12 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492869

Waqar Ahmed  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/fram
   ||eworks/ktexteditor/-/commit
   ||/49e3eb49ca632cecc099f434e9
   ||6182375fdf0279

--- Comment #5 from Waqar Ahmed  ---
Git commit 49e3eb49ca632cecc099f434e96182375fdf0279 by Waqar Ahmed.
Committed on 13/09/2024 at 06:31.
Pushed by waqar into branch 'master'.

Fix text insertion with multiple cursors at same position.

We can have 2 cursors at the same positions when there are two selections
that start/end at the same position. In such a case cursor positions are same
but selections are different. Thus text insertion needs to be handled
differntly. I have tried to match the behaviour of sublime/vscode for this.

M  +29   -0autotests/src/multicursortest.cpp
M  +1-0autotests/src/multicursortest.h
M  +24   -5src/document/katedocument.cpp
M  +11   -1src/render/katerenderer.cpp
M  +4-4src/view/kateview.cpp
M  +6-1src/view/kateview.h

https://invent.kde.org/frameworks/ktexteditor/-/commit/49e3eb49ca632cecc099f434e96182375fdf0279

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 492896] Resizing embedded terminal requires quite some CPU power

2024-09-12 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492896

--- Comment #17 from Waqar Ahmed  ---
Since you are on Arch, building konsole yourself is trivial. I would suggest
adding some printfs in the scrolling code to help might make the situation more
clear. Building konsole is just

- git clone https://invent.kde.org/utilities/konsole
- mkdir build && cd build
- cmake ..
- make -j$(nproc) # run this only in `build` dir when rebuilding
- ./bin/konsole # run it

The file where the relevant logic lives
https://invent.kde.org/utilities/konsole/-/blob/master/src/history/HistoryFile.cpp

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 492896] Resizing embedded terminal requires quite some CPU power

2024-09-12 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492896

--- Comment #16 from Waqar Ahmed  ---
That is expected I think as the file is temporary. At least thats what it says
in the tooltip when enabling it in the settings.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 492896] Resizing embedded terminal requires quite some CPU power

2024-09-11 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492896

--- Comment #14 from Waqar Ahmed  ---
I have a less powerful cpu, but can't get it to lag after running ls -l
/usr/bin about 10 times. So maybe the history is bigger than you think

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 492896] Resizing embedded terminal requires quite some CPU power

2024-09-11 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492896

--- Comment #12 from Waqar Ahmed  ---
You seem to be using file-backed scroll history. Reflowing that seems to be
quite slow.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 492896] Resizing embedded terminal requires quite some CPU power

2024-09-11 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492896

--- Comment #8 from Waqar Ahmed  ---
Thanks. In the attached file, I don't see anything that is taking too much
time. I can see that the resizing takes some time and it might consume 100% of
1 cpu for a short while but that is okay. Moreover, its all happening in Qt
itself so there isn't anything we can do about it.

Probably there was some other reason for the lagging.

If you can't reproduce it, then I would consider this bug RESOLVED/WORKSFORME.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 492896] Resizing embedded terminal requires quite some CPU power

2024-09-10 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492896

--- Comment #5 from Waqar Ahmed  ---
Just run this on the command line directly instead (slightly modified):

perf record --call-graph dwarf,8192 --aio -z --sample-cpu --pid $(pidof kate)

It will create a perf.data file in the directory you are in. Open the perf.data
file in hotspot and then export the flamegraph/perfparser file

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 353654] Extend Kate's session to stash unsaved documents/changes on quit

2024-09-10 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=353654

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #26 from Waqar Ahmed  ---
https://invent.kde.org/utilities/kate/-/merge_requests/1578

The untitled doc issue should be fixed now. Please create new bugs for any
remaining issues, closing this one.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 492896] Resizing embedded terminal requires quite some CPU power

2024-09-10 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492896

--- Comment #3 from Waqar Ahmed  ---
> Maybe the problem is in how kate handle konsole during resizing.

Nothing special about that so its unlikely the problem is there.

Can you try to use perf or hotspot to profile Kate when it is slow?
- Download the appimage https://github.com/kdab/hotspot/
- Make sure `perf` installed
- Start Kate
- Start hotspot appimage. File -> Record data. Then select "Attach to Process"
in the top left corner, then select the kate process and click start recording
- Switch over to Kate. Do the thing which makes it slow. 
- Switch back to hotspot and stop recording. click "View results". Then either
share the flamegraph (View -> Export), or the perfparser file (File Save
as...).

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 492896] Resizing embedded terminal requires quite some CPU power

2024-09-09 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492896

Waqar Ahmed  changed:

   What|Removed |Added

   Assignee|kwrite-bugs-n...@kde.org|konsole-de...@kde.org
Product|kate|konsole
  Component|application |general

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492896] Resizing embedded terminal requires quite some CPU power

2024-09-09 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492896

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
can't reproduce with a terminal on left sidebar or bottom sidebar. In any case,
reassigning to konsole

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 491399] Plasma panel disappears after unlocking screen

2024-09-09 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=491399

--- Comment #25 from Waqar Ahmed  ---
Created attachment 173479
  --> https://bugs.kde.org/attachment.cgi?id=173479&action=edit
new logs

New logs

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 491399] Plasma panel disappears after unlocking screen

2024-09-09 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=491399

--- Comment #24 from Waqar Ahmed  ---
> 3. After this happens, does it get fixed if you restart plasmashell with 
> `systemctl restart --user plasma-plasmashell.service` (or `plasmashell 
> --replace` if you're not using Plasma's systemd integration

Yes. I tried the `systemctl` variant.

Also, since it just happened I have noticed that it has nothing to do with
locking screen. My 4 year old switched off the screen while I was working
(pulled the plug), after turning it on again there was no plasmashell. There
was no screen locking.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 492869] multiselection: odd behaviour when joining selections

2024-09-09 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492869

--- Comment #3 from Waqar Ahmed  ---
For selections to join, they must overlap. This behaviour is consistent with
vscode and sublime.

However, the cursor disappearing is definitely an issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 492869] multiselection: odd behaviour when joining selections

2024-09-09 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492869

--- Comment #1 from Waqar Ahmed  ---
Git commit 5be86bab29d56def43ed34e7a9ef3fa0ef72cab3 by Waqar Ahmed.
Committed on 09/09/2024 at 13:05.
Pushed by waqar into branch 'master'.

Fix merging of selections in opposite directions

No unit test as these selections can only be done with mouse

M  +20   -9src/view/kateviewinternal.cpp

https://invent.kde.org/frameworks/ktexteditor/-/commit/5be86bab29d56def43ed34e7a9ef3fa0ef72cab3

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 492869] multiselection: odd behaviour when joining selections

2024-09-09 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492869

--- Comment #2 from Waqar Ahmed  ---
Git commit c5d89b91dc2da4ed0d9b8e7c27c84b748da5ab72 by Waqar Ahmed.
Committed on 09/09/2024 at 13:05.
Pushed by waqar into branch 'master'.

Fix secondary cursor at boundary of selection doesn't get removed

M  +3-0src/view/kateviewinternal.cpp

https://invent.kde.org/frameworks/ktexteditor/-/commit/c5d89b91dc2da4ed0d9b8e7c27c84b748da5ab72

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 491399] Plasma panel disappears after unlocking screen

2024-09-09 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=491399

--- Comment #23 from Waqar Ahmed  ---
> 1. What's your GPU hardware?

I have an integerated gpu that comes with the amd 4700u cpu

> 2. Does it ever happen on login, or always after unlocking the screen?

So far it has only happened on unlocking.

Will answer the 3rd question once I am able to reproduce this bug again.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-ktexteditor] [Bug 492869] multiselection: odd behaviour when joining selections

2024-09-09 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492869

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 491399] Plasma panel disappears after unlocking screen

2024-09-02 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=491399

--- Comment #21 from Waqar Ahmed  ---
> Ok, thanks. Waqar, when this happens to you, does your wallpaper/desktop also 
> disappear? Or is it just the panel?

Both the desktop and panel disappear and I get a black background instead of
the wallpaper. I tried right clicking to enter edit mode but nothing happened.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492330] "configure toolbars" has severe problems (kate & kwrite, even on kate 23.08. for windows)

2024-08-28 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492330

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #3 from Waqar Ahmed  ---
> the "open menu"-button (i.e. the hamburger button itself) is never shown

It will show when you hide the Main Menu (Ctrl + M)

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 487067] Spectacle ignores delay option in main window

2024-08-28 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=487067

--- Comment #6 from Waqar Ahmed  ---
I am running X11.

Are the supportedShutterModes incorrectly specified perhaps? I don't see the
"Capture on click" button:

text: i18n("Capture on click")
visible: ImagePlatform.supportedShutterModes ===
(ImagePlatform.Immediate | ImagePlatform.OnClick)

The platform seems to be ImagePlatformKWin and it doesn't have OnClick.

More debug output from loadImagePlatform() function:

PlasmaVersion: 6 0 5
loadImagePlatform(): isReallyX11: true ScreenShotEffect::version():  4
ScreenShotEffect::isLoaded():  true PlasmaVersion::get(): 393221

---
workaround: force the xcb platform

export SPECTACLE_IMAGE_PLATFORM=ImagePlatformXcb
spectacle

-- 
You are receiving this mail because:
You are watching all bug changes.

[Spectacle] [Bug 487067] Spectacle ignores delay option in main window

2024-08-28 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=487067

Waqar Ahmed  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
 CC||waqar@gmail.com

--- Comment #5 from Waqar Ahmed  ---
Can confirm this, super annoying and makes spectacle useless in many scenarios
:(

Also seeing the following, so at a high level the issue seems very obvious :

QVariantAnimation::setDuration: cannot set a negative duration
QVariantAnimation::setDuration: cannot set a negative duration

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492061] rust-analyzer language server hits error condition while starting, "failed to find any projects" (LSP plugin)

2024-08-27 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492061

--- Comment #5 from Waqar Ahmed  ---
Yeah, I think we can make this the default. Ultimately the users of a language
server have to decide what's the best possible default. Also, we have a lot of
time to test this before the next release.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492134] Notification about default shortcuts (like ctrl+s) being ambiguous in non-KDE environment

2024-08-24 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492134

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #2 from Waqar Ahmed  ---
When the error occurs, can you open the main menu and see what it looks like?
Does it have duplicates? Maybe take a screenshot.

Also, are you using sessions?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 459625] [Regression] System GTK theme is inconsistently applied on Mate and Cinnamon

2024-08-24 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=459625

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Waqar Ahmed  ---
We now enforce breeze style and icons by default so I think this should no
longer be an issue. Please test with the latest version. And yes, this means we
are explicitly trying to not look native anymore.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 451431] Provide basic Text Editing Options via GUI/Plugins

2024-08-24 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=451431

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Waqar Ahmed  ---
We have now exposed a lot more functionality in the Scripts -> Editing menu.
Additionally its also available in the context menu.

If there is something else that's missing, please open a bug for that thing
specifically.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492106] The height of text in LSP plugin popup boxes is not always determined correctly, leading to scrollbars being created when not needed

2024-08-24 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492106

Waqar Ahmed  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/8e9c4e9
   ||944b18fa791c919210fc311a7f8
   ||9dc1cf
 CC||waqar@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492063] garbage text sometimes gets spammed into the LSP plugin popup box after it's been opened

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492063

--- Comment #3 from Waqar Ahmed  ---
Can you try to reproduce with latest master?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 491890] Button `Expand results` should expand also when there are more than 200 files

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=491890

Waqar Ahmed  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/kate/-/commit/f011f0d |ities/kate/-/commit/593c138
   |f5604cdea269a62bc4cd863d140 |fe1ac7353a7ff3f91990fe83f00
   |c13511  |a61b08

--- Comment #6 from Waqar Ahmed  ---
Git commit 593c138fe1ac7353a7ff3f91990fe83f00a61b08 by Waqar Ahmed, on behalf
of Kåre Särs.
Committed on 23/08/2024 at 18:23.
Pushed by waqar into branch 'release/24.08'.

Remove unneeded search result expanding limit
(cherry picked from commit f011f0df5604cdea269a62bc4cd863d140c13511)

M  +1-1addons/search/SearchPlugin.cpp

https://invent.kde.org/utilities/kate/-/commit/593c138fe1ac7353a7ff3f91990fe83f00a61b08

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492062] the LSP plugin doesn't set an appropriate size for the language server popup box

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492062

Waqar Ahmed  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/kate/-/commit/9683da0 |ities/kate/-/commit/af5d2c8
   |8798b327b8d41d80123a6773e92 |3457fe4e788fc7d465f387fe90e
   |46821c  |707b76

--- Comment #5 from Waqar Ahmed  ---
Git commit af5d2c83457fe4e788fc7d465f387fe90e707b76 by Waqar Ahmed.
Committed on 23/08/2024 at 18:21.
Pushed by waqar into branch 'release/24.08'.

Dont insert line breaks in tooltip
(cherry picked from commit 9683da08798b327b8d41d80123a6773e9246821c)

M  +0-1apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/af5d2c83457fe4e788fc7d465f387fe90e707b76

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492076] LSP plugin output from rust-analyzer has incorrect syntax highlighting

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492076

Waqar Ahmed  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/kate/-/commit/39d7e06 |ities/kate/-/commit/e223796
   |a6d571426202eeaec80ddfd085b |258b309b6cbde2ed018c9d4976a
   |784f39  |bcd885

--- Comment #4 from Waqar Ahmed  ---
Git commit e223796258b309b6cbde2ed018c9d4976abcd885 by Waqar Ahmed.
Committed on 23/08/2024 at 18:21.
Pushed by waqar into branch 'release/24.08'.

Tooltip: Only highlight blocks that are marked BlockCodeLanguage
(cherry picked from commit 39d7e06a6d571426202eeaec80ddfd085b784f39)

M  +28   -4apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/e223796258b309b6cbde2ed018c9d4976abcd885

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492092] Dragging the scrollbar on the LSP plugin popup box into the popup closes the popup

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492092

Waqar Ahmed  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/kate/-/commit/ddb9924 |ities/kate/-/commit/9198d8f
   |e5941ab5d7b87c18bb8a8853070 |8a002bce9f885e7acb51f402eaa
   |b10f64  |ecb72e

--- Comment #2 from Waqar Ahmed  ---
Git commit 9198d8f8a002bce9f885e7acb51f402eaaecb72e by Waqar Ahmed.
Committed on 23/08/2024 at 18:21.
Pushed by waqar into branch 'release/24.08'.

Fix tooltip hides on scrolling using scrollbar
(cherry picked from commit ddb9924e5941ab5d7b87c18bb8a8853070b10f64)

M  +10   -6apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/9198d8f8a002bce9f885e7acb51f402eaaecb72e

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492081] Sometimes the LSP plugin box doesn't close and any new token you hover over has its language server response appended to the box

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492081

Waqar Ahmed  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Waqar Ahmed  ---
On master it should not be reproducible. It is still theoretically possible,
but the main bug is gone and a bigger fix will land in future that fixes the
theoretical issue as well.

Thanks for reporting.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492092] Dragging the scrollbar on the LSP plugin popup box into the popup closes the popup

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492092

Waqar Ahmed  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/ddb9924
   ||e5941ab5d7b87c18bb8a8853070
   ||b10f64
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Waqar Ahmed  ---
Git commit ddb9924e5941ab5d7b87c18bb8a8853070b10f64 by Waqar Ahmed.
Committed on 23/08/2024 at 18:09.
Pushed by waqar into branch 'master'.

Fix tooltip hides on scrolling using scrollbar

M  +10   -6apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/ddb9924e5941ab5d7b87c18bb8a8853070b10f64

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492062] the LSP plugin doesn't set an appropriate size for the language server popup box

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492062

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com
 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Waqar Ahmed  ---
Lets stick to 1 issue per bug report.

Soft wrapping is nice, I agree, but it also makes some thing not easy e.g., for
softwrapping to work there needs to be some width. And it makes calculating the
final size of the tooltip a bit difficult. Its not impossible though, just no
one has put in the effort yet.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492061] rust-analyzer language server hits error condition while starting, "failed to find any projects" (LSP plugin)

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492061

--- Comment #3 from Waqar Ahmed  ---
You don't have to open multiple projects in an actual sense. I mean, you are
working on your project and you jump to a definition in a crate or std library.
This will start a new server because there is a new root. This is annoying in
multiple ways and leads to excessive resource usage quickly.

Another possible way to fix this might be to specify `root` and `userWorkspace`
in the lsp settings:

```
"command": ["rust-analyzer"],
"path": ["%{ENV:CARGO_HOME}/bin", "%{ENV:HOME}/.cargo/bin",
"%{ENV:USERPROFILE}/.cargo/bin"],
"url": "https://rust-analyzer.github.io";,
"highlightingModeRegex": "^Rust$",
"root": "", // this
"useWorkspace": true, // and this
```
IIRC, this tries to use the open project's root. Project here means kate's
project in the sidebar.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492076] LSP plugin output from rust-analyzer has incorrect syntax highlighting

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492076

Waqar Ahmed  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/39d7e06
   ||a6d571426202eeaec80ddfd085b
   ||784f39
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #3 from Waqar Ahmed  ---
Git commit 39d7e06a6d571426202eeaec80ddfd085b784f39 by Waqar Ahmed.
Committed on 23/08/2024 at 13:35.
Pushed by waqar into branch 'master'.

Tooltip: Only highlight blocks that are marked BlockCodeLanguage

M  +28   -4apps/lib/texthint/tooltip.cpp

https://invent.kde.org/utilities/kate/-/commit/39d7e06a6d571426202eeaec80ddfd085b784f39

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492081] Sometimes the LSP plugin box doesn't close and any new token you hover over has its language server response appended to the box

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492081

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492081] Sometimes the LSP plugin box doesn't close and any new token you hover over has its language server response appended to the box

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492081

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
Yup, also known. A fix is in the works.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492076] LSP plugin output from rust-analyzer has incorrect syntax highlighting

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492076

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
yup, this is a known issue.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 492063] garbage text sometimes gets spammed into the LSP plugin popup box after it's been opened

2024-08-23 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=492063

Waqar Ahmed  changed:

   What|Removed |Added

 CC||waqar@gmail.com

--- Comment #1 from Waqar Ahmed  ---
Wasn't able to reproduce with

rust-analyzer 1.79.0 (129f3b9 2024-06-10)

>From the screenshot it seems like you are probably using a different version
and maybe even have some custom settings for the lsp?

Seems like something is trying to escape the [ bracket repeatedly.

-- 
You are receiving this mail because:
You are watching all bug changes.

  1   2   3   4   5   6   7   8   9   10   >