jabref icon indicating copy to clipboard operation
jabref copied to clipboard

[Windows] Support of opening of multiple files

Open koppor opened this issue 10 months ago • 27 comments

This is more a debugging issue than an AI task. Take it if you want to dive into the code base. Do not do it if you use AI to do your job. Thank you.

  1. I select multiple shortcut files
  2. I open the context menu and select "Open"
    Image
  3. JabRef only opens one file.

It could be that there is some kind of race condition... Could be very difficult do handle. Use LOGGER.debug.

koppor avatar Feb 04 '26 19:02 koppor

/assign-me

Shreyasdone avatar Feb 05 '26 12:02 Shreyasdone

Thank you for your continued work in JabRef. At this point, you probably already know the basics and the important links. If not, our contributing guidelines is the place you should go to.

jabref-machine avatar Feb 05 '26 12:02 jabref-machine

Hey @koppor , where can i get these shortcut files from?

Shreyasdone avatar Feb 05 '26 17:02 Shreyasdone

Hey @koppor , where can i get these shortcut files from?

Do you have a bib file at hand?

Do you have Windows at hand?

Improve your Google skills. Or your ChatGPT skills.

This is basic IT knowledge. Both shortcut files and Googling. Thus, I give you pointers!

koppor avatar Feb 05 '26 20:02 koppor

⏰ Assignment Reminder

Hi @Shreyasdone, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 7 days if there's no activity.

Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef. Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft pull request with your progress within 7 days
  • Asking for the 📌 Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar Feb 12 '26 12:02 github-actions[bot]

Hey @koppor , I need more time

Shreyasdone avatar Feb 13 '26 16:02 Shreyasdone

https://github.com/user-attachments/assets/728874cf-bcd6-4e56-95d4-8c4e2d5c1184

@koppor It works fine for me. All the files are opening.

faneeshh avatar Mar 11 '26 00:03 faneeshh

@faneeshh don't comment with a solution here, comment on the pull request (if any) and link this issue from the pull request. Thank you.

koppor avatar Mar 11 '26 06:03 koppor

@faneeshh don't comment with a solution here, comment on the pull request (if any) and link this issue from the pull request. Thank you.

I meant I can't replicate the issue. There is no solution. That video is just me trying it out on the latest dev build.

faneeshh avatar Mar 11 '26 07:03 faneeshh

The hunch behind why this was difficult to debug was because of the mentioned potential race. User-facing side, it may not always be reproducible. The code paths are to be traced to see if the operation to open a single selected file and multiple files are indeed in a race, or if single highlighted open occurs in some specific overpowering conditions.

If @koppor reports this is no longer replicable, we can close this.

subhramit avatar Aug 04 '26 22:08 subhramit

2026-03-10.17-18-21.mp4 @koppor It works fine for me. All the files are opening.

The video does not show the flow mentioned in the issue description. Here, you are going to File-> open and importing the shortcuts. Can you try selecting the shortcuts first in the normal windows explorer (native, not jabref), then right click -> open? (provided bib files and their shortcuts are associated to JabRef as the program).

subhramit avatar Aug 05 '26 11:08 subhramit

2026-03-10.17-18-21.mp4 @koppor It works fine for me. All the files are opening.

The video does not show the flow mentioned in the issue description. Here, you are going to File-> open and importing the shortcuts. Can you try selecting the shortcuts first in the normal windows explorer (native, not jabref), then right click -> open? (provided bib files and their shortcuts are associated to JabRef as the program).

Or nvm, ill try it out

subhramit avatar Aug 05 '26 12:08 subhramit

I can confirm that this is reproducible on Windows 11

subhramit avatar Aug 05 '26 12:08 subhramit

I can confirm that this is reproducible on Windows 11

This is a difficult task. Changing to good fourth issue.

subhramit avatar Aug 05 '26 12:08 subhramit

/assign-me

thesauravpoddar avatar Nov 07 '26 11:11 thesauravpoddar

Thank you for your continued work in JabRef. At this point, you probably already know the basics and the important links. If not, our contributing guidelines is the place you should go to.

At this point in time, you raised 8 pull request(s) of which 75% (6/8) have been merged.

jabref-machine avatar Nov 07 '26 11:11 jabref-machine

⏰ Assignment Reminder

Hi @thesauravpoddar, this is a friendly reminder about your assignment to this issue.

[!WARNING] This issue will be automatically unassigned in 4 days if there's no activity.

Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef. Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

How to keep your assignment


If you are working on it, you can prevent automatic unassignment by:

  • Submitting a draft pull request with your progress within 4 days
  • Asking for the 📌 Pinned label if you need more time

We appreciate your contribution and are here to help if needed!

github-actions[bot] avatar Nov 10 '26 12:11 github-actions[bot]

am still working on this can i get a pinned label so that i do not get automatically unassigned

thesauravpoddar avatar Nov 16 '26 09:11 thesauravpoddar

i can also reproduce this issue on windows 11

thesauravpoddar avatar Nov 16 '26 09:11 thesauravpoddar

And one thing also i notices that when i select multiple files in file explorer than separate window i getting opened for each of bib file

https://github.com/user-attachments/assets/4703aa0a-9e0c-4fd8-a15f-5bcfd6dcab1d

thesauravpoddar avatar Nov 16 '26 09:11 thesauravpoddar