Fork me on GitHub
#portal
<
2022-05-20
>
pinkfrog03:05:19

under vscode, I cannot drag the portal tab. When I drag it, the whole vscode is dragged. I am on portal 0.26.0

seancorfield03:05:45

I can't repro that with the latest VS Code and latest Portal on Windows.

seancorfield03:05:04

I just dragged Portal's tab all over the place and it worked fine... Can you provide a bit more detail @UGC0NEP4Y?

pinkfrog03:05:59

When I drag the portal tab on the toolbar: The whole vscode moves.

pinkfrog03:05:55

The version shows 0.25.0, but I checked in the vscode extenion part, it is indeed 0.26.0

pinkfrog03:05:45

I see. for the version part. I’ve also update my deps.edn file dependency on portal.

pinkfrog03:05:20

Now the dragging works as normal.

pinkfrog03:05:00

How to reproduce this issue: Use the 0.26.0 portal extension on vscode but having a 0.25.0 portal java dependency.

seancorfield03:05:42

Ah, I have :portal as an alias that brings in Portal with {:mvn/version "RELEASE"} 🙂

seancorfield03:05:46

Glad you figured out the cause -- that's a weird one!

pinkfrog03:05:13

I removed the “RELEASE” part because you told me it’s not good practice. 😉. . Now I am adding it back.

seancorfield03:05:21

It isn't good practice -- and should only ever be used for non-project stuff where you really do always want the latest release, i.e., certain dev tools. But it's deprecated and a bad idea 🙂

seancorfield03:05:11

My dot-clojure file has ten such instances...

orestis04:05:10

I reported this as a bug some time ago and it was fixed https://github.com/djblue/portal/issues/125