Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
May your rolls be merry + bright! 🎄
Create a free account

Dragging Tokens

Hello! Recently, I have come across an issue that never affected me in prior sessions I run. Due having images and text within the Bio section for NPC's, it affects my ability to Click and Drag  a token from the character sheet to the map. I understand if I change the information to GM only it fixes the issue, but, when I have over 200 NPC tokens from campaign modules and extra content, it is rather tiresome to do for every  character sheet. Not to mention, naturally, I don't plan to use all of them every time so, if a random encounter means to use a few sheets, it's further tiresome to have to edit the character sheet during game time. Even if it can be done under 10 seconds; especially  when paying for the Pro/Plus service. That being said, is there a chance to 'fix' the code or to ensure this nuisance will be over? I have been playing for months with no issue and then, all of sudden, this happens? Much appreciated. Best regards, José
1665775068

Edited 1665775412
Gauss
Forum Champion
For clarity, could you please supply a screenshot of where you are trying to drag and drop from? It sounds like you are opening the character and then trying to drag it directly from the character. I don't think that was ever intended behavior.  Edit: I tested, huh...learn a new thing every day.  Did not realize you could directly drag the avatar to the table via a little "grab button".  Found the limitation you were talking about....the page thinks you are trying to highlight text instead of grab that tool.  Found another limitation, for avatars which are not full avatar images (such as pogs) the "grab button" cannot be grabbed. 
1665796067

Edited 1665796216
So, here's my issue. Step 1: Open Character Sheet Step 2: Bio &amp; Info. Step 3: Cursor over the image and nothing. (Link with screenshot here:&nbsp; <a href="https://i.imgur.com/iW7U6ob.png" rel="nofollow">https://i.imgur.com/iW7U6ob.png</a> &nbsp;) Step 4: Edit, change the info to the GM Notes section and voilá (It appears:&nbsp; <a href="https://i.imgur.com/Ft7lweL.png" rel="nofollow">https://i.imgur.com/Ft7lweL.png</a> &nbsp;) Edit: I don't really wish to try with every &nbsp;token but, sometimes, if the Bio section has too much text (no image), also seems to not work. I swear I never had this issue before until, perhaps, June or July? Not sure if there was an update from roll20 somewhere that broke some piece of code not meant to work like that or not.
1665796907
Andrew R.
Pro
Sheet Author
Have you tried it in Firefox? Because&nbsp; I think that’s a Chrome thing, not a Roll20 thing, so it’s not really supposed to work like that. You’re supposed to drag tokens to the Map from the Journal by dragging the Name of the journal entry. You’re not supposed to drag the Avatar image to the Map unless Roll20 just added that unannounced.&nbsp;
1665806209

Edited 1665806255
Gauss
Forum Champion
Andrew R. said: Have you tried it in Firefox? Because&nbsp; I think that’s a Chrome thing, not a Roll20 thing, so it’s not really supposed to work like that. You’re supposed to drag tokens to the Map from the Journal by dragging the Name of the journal entry. You’re not supposed to drag the Avatar image to the Map unless Roll20 just added that unannounced.&nbsp; I tested it in both Chrome and Firefox...the same issue exists in both cases. If there is text it thinks you want to highlight rather than select the image.&nbsp; There is a handle specifically to grab the image, so it is there on purpose. It just isn't working when there is text in the bio or when the image is not full size (such as a pog).
1665847984
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
My testing indicates that the handle is there if the creature was created by a Compendium drag, but not if I have added my own art. Presence or absence of text or images in bio or gm notes seems immaterial.
keithcurtis said: My testing indicates that the handle is there if the creature was created by a Compendium drag, but not if I have added my own art. Presence or absence of text or images in bio or gm notes seems immaterial. I only have issues if the information is at the standard Bio section. If it appears on GM, works just fine. If I move the token to the Character Vault and add it to the game, the issue also happens unless the text is at GM notes.
1665864576

Edited 1665864631
Gauss
Forum Champion
keithcurtis said: My testing indicates that the handle is there if the creature was created by a Compendium drag, but not if I have added my own art. Presence or absence of text or images in bio or gm notes seems immaterial. Keith, there is a handle in my games on characters I have created. Here is an example: In this screenshot I am hovering over the image with my cursor. (the cursor doesn't show up in the screenshot) There is a handle in the top left corner I can use to grab the image and drag it to the table.&nbsp; Here it is with text in the bio, the handle is no longer present when hovering over the image with the cursor. If I try to drag I highlight the text instead.&nbsp;
1665872046

Edited 1665872361
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I believe you. I just can't reproduce it. OK, did more testing. Compendium created= Doesn't seem to matter what is in the Bio field. It just works. I create something with no text in bio field = Works I create something with one line of text in bio field = Works However... I create something with more than one line of text in bio field = The move box displays, but cannot be grabbed. As I near the edge of the image area, the handle disappears. The more lines of text I ad, the more pronounced this becomes until the handle no longer appears at all.
1665872648
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Further testing (Solved): It's a Z-Order (stacking) problem in the CSS. When I input this into stylus: .characterviewer .avatar { &nbsp; &nbsp; z-index: 10; } The token remains grabbable. The problem seems to be that the text is on a Z order above the graphic. My guess is that as you add text or images, the text field displays on top of the image (though the margin keeps it from running into it). The stylus style above forces the graphic to be on top. It may be that a compendium drag has different class for that element?
1665873439
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Further thoughts: In any case, dragging from the open character journal does not produce a true default token, merely a token image that is linked to the character journal. The official documented method is to drag from the Journal Tab, not an open character journal.&nbsp; Here is an example of a token dragged from the open sheet, and one dragged from the journal tab. Only the journal tab character is correct.
1665874115
Gauss
Forum Champion
As with the other Avatar vs Token bug, people do create tokens (yes, just the image) via an Avatar. This is especially needed when the Avatar image and the Token image are different in a purchased resources where the user does not have an avatar image in their art library.&nbsp;
keithcurtis said: Further thoughts: In any case, dragging from the open character journal does not produce a true default token, merely a token image that is linked to the character journal. The official documented method is to drag from the Journal Tab, not an open character journal.&nbsp; Here is an example of a token dragged from the open sheet, and one dragged from the journal tab. Only the journal tab character is correct. May I ask how exactly you drag from the Journal Tab? I opened the Journal, left click and even right clicked the token and nothing. The only way I can get a token into the map is by opening the character sheet and dragging it from there. If I drag a token directly from the compendium, it works... but then, it gets added in to the Journal and, since the token is not displayed in the map from the Journal, what's the point? Am I missing something?
1665907786

Edited 1665908267
keithcurtis said: Further testing (Solved): It's a Z-Order (stacking) problem in the CSS. When I input this into stylus: .characterviewer .avatar { &nbsp; &nbsp; z-index: 10; } The token remains grabbable. The problem seems to be that the text is on a Z order above the graphic. My guess is that as you add text or images, the text field displays on top of the image (though the margin keeps it from running into it). The stylus style above forces the graphic to be on top. It may be that a compendium drag has different class for that element? Made a game with the Descent into Avernus material, from the Marketplace .&nbsp; The problem to grasp the tokens via the Character Sheet remains. I can drag the token from the compendium to the map without an issue but will just end up filling up the Journal. I can't drag the token from the Folder tabs of the Module Campaign directly into the map. As mentioned above, this was never an issue until one of the recent roll20 updates so, is it possible to have things go back to normal as they were before or what is the correct science to drag tokens as it is intended, with a 100% complications-free method? Edit: Underlined text.
1665913461

Edited 1665913653
Gauss
Forum Champion
Yeenster said: May I ask how exactly you drag from the Journal Tab? I opened the Journal, left click and even right clicked the token and nothing. The only way I can get a token into the map is by opening the character sheet and dragging it from there. If I drag a token directly from the compendium, it works... but then, it gets added in to the Journal and, since the token is not displayed in the map from the Journal, what's the point? Am I missing something? Yeenster &nbsp;said: Made a game with the Descent into Avernus material,&nbsp; from the Marketplace .&nbsp;The problem to grasp the tokens&nbsp; via the Character Sheet remains. I can drag the token from the compendium to the map without an issue but will just end up filling up the Journal. I can't drag the token from the Folder tabs of the Module Campaign directly into the map. As mentioned above, this was never an issue until one of the recent roll20 updates so, is it possible to have things go back to normal as they were before or what is the correct science to drag tokens as it is intended, with a 100% complications-free method? Edit:&nbsp; Underlined text. Drag the NAME from the Journal tab, not the image.&nbsp; In the image below I left clicked and held the "goblin" name...dragging it to the tabletop. When released (not shown) it will create a token.&nbsp; You don't need to keep dragging from the Compendium, just drag the name as above and it creates tokens on the board.&nbsp; Grabbing the image of the goblin (in the above example) is used to re-order the journal tab, not drag to the tabletop.
1665937194
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The procedure Gauss outlines is the correct and intended procedure. Dragging from the character journal does drag artwork to the VTT (in the above-mentioned proper circumstances), but does not produce the default token (the one with all the links and settings proper to that character), just a simple token image that has a link back to the character sheet. This does have some uses, but is not the same as dealing with default tokens. The method of placing a token is stated in several different places in the Help Center, but to be fair, the distinction is not directly addressed. It could be made more explicit.