-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix searchterm reverts #1336
Fix searchterm reverts #1336
Conversation
Converting to draft while searching for a better solution. |
Will test the new solution for a while before undrafting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if it is related, but I noticed if I hit Esc
to close the search with text in the entry field, I would see this in terminal:
(io.elementary.code:3534): GLib-GObject-CRITICAL **: 12:33:30.566: g_object_notify_by_pspec: assertion 'G_IS_PARAM_SPEC (pspec)' failed
This doesn't appear to happen in the current public build. Otherwise this does indeed fix the issue.
@zeebok I cannot reproduce this at the moment. Maybe you could try running under |
I'll give this a try. I just would |
hmm it actually also happened with it loading the previous documents. The frame isn't very insightful:
|
@zeebok That's what I am doing. I have all plugins enabled except vim emulation. |
This seems to be unrelated then. I wonder if running in a VM is effecting things? |
@zeebok If you type |
Maybe. |
Aaah that's the command, thanks, been awhile since I have worked with gdb directly.
Looks like frame 2, the FormatBar? |
Odd. This code does not seem to touch the FormatBar (or tab options, syntax, etc). |
You could try turning off the editorconfig plugin. |
That made it go away, including in the circumstance that started this whole conversation. |
Could be something to do with how plugins work in a VM or some kind of race I guess. Pressing |
I notice that I have |
@zeebok Are you running the latest master in a VM as well? I am having difficulty finding a reason why this PR should behave differently to master regarding the FormatBar and editconfig plugin. |
In my source it is also line 21 so I am not sure |
Must be a quirk of gdb I guess. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since that error is from the plugin I am going to approve this
* Correct links to issues and sort * Add recent issue fixes * Update for pull #1336
* Update project version in meson.build * Release 7.1.0 update metainfo (#1350) * Correct links to issues and sort * Add recent issue fixes * Update for pull #1336 * Add another fixed issue to metainfo, update date --------- Co-authored-by: Ryan Kornheisl <[email protected]>
Fixes #1335
selection_changed
signal is now only emitted when the text actually changes (not just its position) so selecting the same text in a different position is ignored. This avoids unwanted clearance of the search term when finding the next or previous match.The next Code release is waiting for this to be merged.