-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Editing "Custom preview style" triggers exception #7526
Comments
I took a quick look and it seems there is a listener on text change triggered and the new layout is set
|
I guess this will cause similar problems for users with "focus follows mouse/sloppy" desktop settings (like mine :), and also for "click to focus" users who start editing the template, and then decide to leave temporarily the text box to copy some text from another window for pasting. What could be done of course is that the template compiler does run in background and discretely marks the lines with (potential) syntax errors; a function that is similar to IDE GUIs. But this function is not so much necessary and often very annoying; so unless JabRef is destined to become a do-everything-in-the-world IDE, I thing one can safely skip this feature...
To me (as a user) this seems the most natural way. An indication of unsaved changes and a confirmation of "Save/Discard changes" would be also handy when the editor tab is being left ... |
Hi, is this still open? I'd like to take it. |
Hi, so i followed all the steps to recreate the bug and i had no exception window that oppens so i wanted to know if this issue is persistent on all the systems or no ? cause it may be something system related ? |
Sorry @Mehdi-Ayadi , but @yinpeiqi already is on this issue, although you are always welcome to team up on this. |
JabRef 5.3--2021-04-12--e3094ac I am seeing an exception when I merely click on a Selected preview style. I don't have to do any more than that. No editing or anything.
|
…n before it is shown to the user.
@wujastyk May I ask whether in the jabref event log. Are there any other exceptions there? If not, may I ask whether you clicked on "Customized preview style" or at another style? |
@wujastyk In any case, could you open a separate issue for that? We are working on a fix for the "Edit" functionality, mark that part as fixed, but do not want to lose your input. |
JabRef 5.3--2021-06-22--b6697fe also #7851 The error was the same; the event log was empty; no, I didn't use Customized preview style (only): |
@wujastyk I think it relates to how the
I find it easiest to trigger switching between customized preview style quickly using the arrow keys. If you haven't already done so, would you mind opening up an issue on it? I don't think it relates to any of the other exceptions I have seen. |
will do.
|
JabRef version 5.2, 5.3 and 100.0.0 (commit 0dd4de7) on Linuxmint-20.1 and LinuxMint-19.3.
Steps to reproduce the behavior:
The edit still can be completed, but the box pops up sevral times, interfering with the editing process....
The text was updated successfully, but these errors were encountered: