positron icon indicating copy to clipboard operation
positron copied to clipboard

Nothing displays when I hover over an item while viewing an R data frame

Open jmcphers opened this issue 1 year ago • 3 comments

Discussed in https://github.com/posit-dev/positron-beta/discussions/230

Originally posted by smach June 26, 2024 When I view a data frame in RStudio and hover over a value that doesn't completely display in the viewer panel, such as a long string, I see a larger number of characters in the tooltip than I do on screen. That didn't happen when I viewed a data frame in Positron. The robust variable viewer is one of the things I like most about RStudio and miss in VSCode.

jmcphers avatar Jun 27 '24 00:06 jmcphers

A simple repro case:

x <- data.frame(a = "an extremely long sentence -- or at least, one that's likely to exceed the boundaries of the data explorer's individual cell.")
View(x)

Positron:

image

RStudio:

image

jmcphers avatar Jun 27 '24 00:06 jmcphers

Putting this into Release candidate for now, as we do want to support long text, but avoid having to display it all at once and overwhelm the rest of columns.

jthomasmock avatar Jul 01 '24 16:07 jthomasmock

Came up in discussions at #4998

juliasilge avatar Oct 11 '24 16:10 juliasilge

Here's an example reprex for #4998 of some fake_urls.csv

Max width: Image

jthomasmock avatar Oct 16 '24 01:10 jthomasmock

Verified Fixed

Positron Version(s) : 2025.04.0-214
OS Version          : OSX

Test scenario(s)

Hover text now present with simple repro case.

Link(s) to TestRail test cases run or created:

testlabauto avatar Mar 28 '25 13:03 testlabauto