C3 clipboard (Chrome Extension)

Post » Tue Apr 18, 2017 2:12 pm

Copy and paste is disabled for chrome for security reasons. As it would allow apps to mine html5 apps to mine usful data.

Here's a guide on how to get around it.
https://www.lucidchart.com/techblog/2014/12/02/definitive-guide-copying-pasting-javascript/

This is very annoying especially since C3 will be a webapp, and it's a very very useful or actually necessary feature, for working. I have seen several web-apps getting around this by having their own chrome extensions or chrome apps. I think it's something that C3 should consider to spend some time on. You can't work efficiently without proper copy/paste functionality.

Ideally a link to this extension should be provided on construct.net page, or as a link in the editor.

Any input on this @Ashley or @Tom
Will the standalone version have this functionality?

You can't work efficiently without proper copy/paste functionality, it's the only thing driving me nuts about C3 at the moment.
Follow my progress on Twitter
or in this thread Archer Devlog
B
38
S
15
G
17
Posts: 949
Reputation: 12,320

Post » Tue Apr 18, 2017 3:16 pm

We already do everything that article says. It's also quite out of date now, new features have been added since 2014. But none of that solves the problem that JS can't cause a paste. You can already paste, by the way, you just have to use the system shortcut (e.g. Ctrl+V on Windows) or the browser menu which has cut, copy and paste options - it's just we can't add a corresponding menu option for that, and the shortcut doesn't work on mobile.

The desktop build will be able to show a menu option for pasting. Otherwise I think it would be better to work around it by having a fake in-app clipboard that doesn't really paste from the clipboard, just the last thing you copied in the same instance of C3. This will have some quirks like not being able to copy-paste between two separate instances of C3, but at least you'll be able to use copy-paste from the menu.

Overall it's pretty minor I think, you can still paste, it's just about whether or not we can display a menu option for it.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,772

Post » Tue Apr 18, 2017 3:34 pm

@Ashley The problem is I'm working on a tablet (surface pro 4) most of the time, with no keyboard connected, using mostly touch and stylus to create games. This works pretty well in C2, except for a small little right click problem not triggering right click context menu, for touch or stylus... (solvable by 3rd party plugin)

I really love the fact that i don't have to sit at a desk with a keyboard and mouse to be able to create games in C2. Usually I'm on my back in the sofa, in the bed, on the bus, on the airplane... C2 works pretty nicely this way even if it might not have been intended. Sure a laptop would probably work better, but as I'm working on a Tablet form factor machine I don't want to bring along keyboard and mouse everywhere.

I would suggest you to get a Surface Pro 4 or similar type of machine to run C2/C3 on, using only touch and/or stylus. Quite a pleasure to work that way actually.

Some features that already enables this type of developing is, autocomplete, clickable input bars with options. Even when I'm doing expressions I'm doing minimal input in terms of on-screen-keyboard presses. Usually first 2 letters of every command, followed by a click/touch.

As much as I like what's going on with C3 (Right click touch and stylus finally working) ... but there's no proper cut and paste. I'm pretty sure you will solve it with the desktop version, as well as file handling (folders).

But i just wanted to point you towards a new segment of users... tablet users ;)

If C3 can accommodate tablet users with nicely functioning touch/stylus input i think you have a huge new user base to explore. It would be my pleasure to provide a promo video how I do a complete game in C3 in a hammock, drinking pinacoladas, without ever touching a mouse or keyboard. ;)
Follow my progress on Twitter
or in this thread Archer Devlog
B
38
S
15
G
17
Posts: 949
Reputation: 12,320

Post » Tue Apr 18, 2017 3:46 pm

Ashley wrote:The desktop build will be able to show a menu option for pasting.


Nice to know some features will be returning in the desktop version. Are you guys building your own wrapper for it? Will we have to wait long for it?
B
16
S
7
Posts: 190
Reputation: 1,823

Post » Tue Apr 18, 2017 3:57 pm

@tunepunk Windows has a virtual keyboard if it helps.

https://support.microsoft.com/en-us/hel ... n-keyboard

I know it kind of a pain to use (I had a Windows tablet for a while), but maybe it can help until this problem gets fixed. Hmmm... it's a shame the keyboard doesn't have a cut and paste short-cut built into the keyboard like iOS. I use those short cuts all the time. Maybe there is a way to customize it?
B
16
S
7
Posts: 190
Reputation: 1,823

Post » Tue Apr 18, 2017 5:11 pm

Alright, I added a "fake clipboard" for r20. It just remembers the last thing you copied and enables "Paste" menu options based on that. Obviously it's not a real clipboard, so you can't do things like paste between editors, nor will copying something unrelated remove the "paste" options (which will keep pasting the last thing you copied within C3). However it means within the same C3 window you can use copy-and-paste via the menus.

I'm slightly concerned this "not actually a real paste" feature could also be a gotcha for some people later down the line, but I do agree it's a basic feature and there should be some provision for it.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,772

Post » Tue Apr 18, 2017 5:45 pm

Ashley wrote:Alright, I added a "fake clipboard" for r20. It just remembers the last thing you copied and enables "Paste" menu options based on that. Obviously it's not a real clipboard, so you can't do things like paste between editors, nor will copying something unrelated remove the "paste" options (which will keep pasting the last thing you copied within C3). However it means within the same C3 window you can use copy-and-paste via the menus.

I'm slightly concerned this "not actually a real paste" feature could also be a gotcha for some people later down the line, but I do agree it's a basic feature and there should be some provision for it.


Thanks a lot. It will definitely help until we have a desktop version. I'd like you to keep in the back of your mind, tablet and other touch capable devices for C3. As I understand one of the biggest selling points is the multi platform support, and mobile version, so don't forget the in between people. using the non mobile version on tablets. ;)

I guess also there's many artists like me who despise coding but want to do games. And many artists use tablet form factor devices with drawing capabilities. ;)
Follow my progress on Twitter
or in this thread Archer Devlog
B
38
S
15
G
17
Posts: 949
Reputation: 12,320

Post » Tue Apr 18, 2017 8:52 pm

@Ashley
I get the feeling you're purposely ignoring my questions. If you are upset over the posts I made the other day, I apologize. I realize that I was a bit harsh and I shouldn't have said anything. Let bygones be bygones?
B
16
S
7
Posts: 190
Reputation: 1,823

Post » Wed Apr 19, 2017 4:41 am

Moot, I recommend you not take responses or lack thereof personally on a web forum, or you'll probably end up like he-who-shall-not-be-named eventually.

Just because Scirra actively engages with the community doesn't mean they owe everyone who asks a response (generally physically impossible due to being outnumbered, or that they would just never get any actual work done!).

As for your specific question of " Will we have to wait long for it?", I would guess that he simply doesn't have an answer for that, and it would be silly of him to need to explain why he doesn't have an answer for it. There is no way of determining what your definition of a long wait is, and most likely there is no way of knowing exactly when or how long it will take get done at the moment anyway.

Anyways TLDR I find it highly unlikely that anyone at Scirra would take your posts personally, so you shouldn't take what they say or don't say personally either.
Mistakes were made.
B
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

Post » Wed Apr 19, 2017 5:42 pm

oosyrag wrote:As for your specific question of " Will we have to wait long for it?", I would guess that he simply doesn't have an answer for that, and it would be silly of him to need to explain why he doesn't have an answer for it. There is no way of determining what your definition of a long wait is, and most likely there is no way of knowing exactly when or how long it will take get done at the moment anyway.


Sure, I get that. I was just making small talk anyway. I wasn't really expecting a specific answer to a vague question.

oosyrag wrote:Moot, I recommend you not take responses or lack thereof personally on a web forum, or you'll probably end up like he-who-shall-not-be-named eventually.


I'm nothing like Lamar, so no one has to worry about me going psycho on the forum. For example, newt still takes jabs at me every once in a while, and I've still complimented him when he says something clever. I got into a heated exchange with Bleenx not too long ago, and I don't hate him for it. I respect him more for the way he handled it. Unlike Lamar, I try to be reasonable and knowledge strong points made against my opinion. So, long story short, there's nothing to worry about. I'm open to criticism and I don't take much of anything too personally.

oosyrag wrote:Just because Scirra actively engages with the community doesn't mean they owe everyone who asks a response (generally physically impossible due to being outnumbered, or that they would just never get any actual work done!).


I don't feel I'm owed anything. I would like answers to my questions, but If he wants to ignore me, that's fine. It doesn't anger me. In fact, it just shows me he has strong character. A lesser person would have found a reason to ban me by now for my criticism, but he chose to ignore me. That takes restraint and maturity. I can respect that. It's never easy to take criticism, but I think he's dealing with it pretty nicely. Maybe I should show more restraint as well, and be patient. It's not all bad. There's far more good than bad with C3 and I'm confident things will get better.

Back on topic: I'm happy about "fake clipboard" update! That's going to be very helpful. :D
B
16
S
7
Posts: 190
Reputation: 1,823

Next

Return to General Discussion

Who is online

Users browsing this forum: rhg1968 and 1 guest