[Gambas-user] Issue 597 in gambas: Copying a not supported form control from another project gives unlogical result
gambas at ...2524...
gambas at ...2524...
Sat Jan 17 16:46:09 CET 2015
Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 597 by r... at ...1740...: Copying a not supported form control
from another project gives unlogical result
https://code.google.com/p/gambas/issues/detail?id=597
1) Describe the problem.
If you copy a GUI object from another project and you haven't enabled the
needed component, you get strange results.
2) Give information about your system. Use the 'System information' menu in
the Gambas IDE, and paste the result there.
[System]
Gambas=3.6.90
OperatingSystem=Linux
Kernel=3.13.0-44-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.1 LTS
Desktop=GNOME
Theme=QGtk
Language=en_US.UTF-8
Memory=7953M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4
3) Indicate the Gambas version in the issue labels, and if it is a bug, a
crash, or an enhancement request.
4) Provide a little project that reproduces the bug or the crash.
NA
5) If your project needs a database, try to provide it, or part of it.
NA
6) Explain clearly how to reproduce the bug or the crash.
Create a new project with gb.gui enabled.
Open FMain.form from opened Gambas IDE project (project Gambas3) in another
window.
Select and copy the toolbar to you newly created project.
You get a message 'Component missing for control 'Toolbar', which is
correct, but it still copies the toolbar to your project but it gets the
type Drawing Area!
And even after enabling gb.form.mdi it stays that way and you cannot change
it into toolbar.
So prevent the copy of such object, and tell which component is not enabled.
Or even better ask the user if it's ok to enable this component, and copy
it!
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
More information about the User
mailing list