Skip to content

Exception when trying to change a linked file's path (being an URL) #11020

Description

JabRef version

Latest development branch build (please note build date below)

Operating system

Windows

Details on version and operating system

Windows 11

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Use the jabref extension to download any article (for example https://arxiv.org/abs/2304.04088 )
  2. Have the checkbox "Download linked online files" unchecked
  3. Go to the General tab for the entry
  4. Right-click one of the file entries and select Edit
  5. Click on the folder icon next to the Link entry "Browse"
  6. Notice an exception is thrown when the online url is attempted to be opened as a directory

Expected result
Clicking on the folder icon to browse for a new file when the existing text is an online URL should open the file browser in the library's default data directory.

Appendix

@TechReport{Belhe.Xu.eaImportanceSamplingBRDF2023,
author = {Belhe, Yash and Xu, Bing and Bangaru, Sai Praveen and Ramamoorthi, Ravi and Li, Tzu-Mao},
title = {Importance {Sampling} {BRDF} {Derivatives}},
year = {2023},
month = apr,
note = {arXiv:2304.04088 [cs] type: article},
abstract = {We propose a set of techniques to efficiently importance sample the derivatives of several BRDF models. In differentiable rendering, BRDFs are replaced by their differential BRDF counterparts which are real-valued and can have negative values. This leads to a new source of variance arising from their change in sign. Real-valued functions cannot be perfectly importance sampled by a positive-valued PDF and the direct application of BRDF sampling leads to high variance. Previous attempts at antithetic sampling only addressed the derivative with the roughness parameter of isotropic microfacet BRDFs. Our work generalizes BRDF derivative sampling to anisotropic microfacet models, mixture BRDFs, Oren-Nayar, Hanrahan-Krueger, among other analytic BRDFs. Our method first decomposes the real-valued differential BRDF into a sum of single-signed functions, eliminating variance from a change in sign. Next, we importance sample each of the resulting single-signed functions separately. The first decomposition, positivization, partitions the real-valued function based on its sign, and is effective at variance reduction when applicable. However, it requires analytic knowledge of the roots of the differential BRDF, and for it to be analytically integrable too. Our key insight is that the single-signed functions can have overlapping support, which significantly broadens the ways we can decompose a real-valued function. Our product and mixture decompositions exploit this property, and they allow us to support several BRDF derivatives that positivization could not handle. For a wide variety of BRDF derivatives, our method significantly reduces the variance (up to 58x in some cases) at equal computation cost and enables better recovery of spatially varying textures through gradient-descent-based inverse rendering.},
creationdate = {2024-03-13T16:54:08},
doi = {10.48550/arXiv.2304.04088},
file = {arXiv Fulltext PDF:https://arxiv.org/pdf/2304.04088.pdf:application/pdf;arXiv.org Snapshot:http://arxiv.org/abs/2304.04088:text/html},
keywords = {Computer Science - Graphics},
modificationdate = {2024-03-13T16:54:08},
owner = {Roc},
school = {arXiv},
url = {http://arxiv.org/abs/2304.04088},
urldate = {2024-03-13},
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugsexternal filesos: windows

    Projects

    • Status

      Low priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions