IGUIEditBox - Copy & Paste

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Pan
Posts: 24
Joined: Tue Jan 20, 2009 9:36 am
Location: Bavaria, Germany

IGUIEditBox - Copy & Paste

Post by Pan »

Just a quick question about the IGUIEditBox class:

When using some/most of the now-standard text shortcuts in the Edit Boxes, they work just fine. However strg-c & strg-v for copy and paste don't seem to work. I find this a little bit weird, since strg-x works for me and the marked text is cut, but I can't insert it anywhere.

Is this the normal behaviour for edit boxes or should strg-c / strg-v (or some other combination?) work in order to copy & paste the text of an Edit Box..?
Wanted: Schrödingers Cat. Dead or alive.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Should work, but isn't supported yet on all platforms. I think right now Windows and OSX will work and Linux unfortunately won't.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Pan
Posts: 24
Joined: Tue Jan 20, 2009 9:36 am
Location: Bavaria, Germany

Post by Pan »

Ah okay, thanks!

Do you know whether this is currently considered a "bug" or rather a "missing feature"?
In other words: might this be fixed/changed soon, or shouldn't I hold my breath for this one?
Wanted: Schrödingers Cat. Dead or alive.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

If you want to add it to a tracker - I would be fine with both categories :-) I only noticed myself that this is missing a short while ago and haven't looked yet how much work it would be to support that on Linux. Right now I don't even know exactly how clipboard buffers for X and the desktop systems (like kde, gnome) work together. I know there is more than one buffer (as I get different texts right now in iceweasel depending whether I use middle-mouse or ctrl+v), but I don't know yet if there is one per desktop environment or if they have manage to at least agree on some common stuff there in X.

Anyway - I hope I'll get around finding a solution for that at some time, but we're talking rather weeks/months than days if you wait there for me. If someone sends a good patch it might go faster.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Pan
Posts: 24
Joined: Tue Jan 20, 2009 9:36 am
Location: Bavaria, Germany

Post by Pan »

Alright, thanks for the info. I added the problem to the bug tracker.
Wanted: Schrödingers Cat. Dead or alive.
Post Reply