Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6360

  • Carlo Marona
  • Carlo Marona's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi,
I installed CodeTyphon 5.1 on an Ubuntu 14.10. Installation completed without errors and all seems to work fine. I docked all the windows recreating a Delphi XE or similar environment. All docked windows works fine but the visual editor doesn't work at all. I can add a component double clicking in the component palette. The component is placed in the form but I can't move or resize it.
The designer window doesn't respond to mouse actions also scrollbars doesn't works. Enlarging the layout, as the size grows, at the bottom, docked panels are cutted, for example in the editor panel, the status bar with line number etc. is not visible also for the object inspector panel.
If I do a double click on a component or directly on the form in designer, a source file is opened like if there is an error of missing something. I can't read the error in error messages because the message window disappeared at the bottom of layout.

I not tried a non docked layout, I'll try it also.

Please Log in or Create an account to join the conversation.

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6361

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Sir
try to close and reopen Typhon IDE
We know this problem on GTK2 platform and we try to solve it

Multi-OS "Embedded Form Designer" + "Docking Windows" it's NOT simple task.

My Question:
Did you know any other application on Linux, FreeBSD etc with "Embedded Form Designer" + "Docking Windows" abilities?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6365

  • Carlo Marona
  • Carlo Marona's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi sternas,

sternas wrote: Sir
try to close and reopen Typhon IDE
We know this problem on GTK2 platform and we try to solve it

Multi-OS "Embedded Form Designer" + "Docking Windows" it's NOT simple task.

My Question:
Did you know any other application on Linux, FreeBSD etc with "Embedded Form Designer" + "Docking Windows" abilities?


Why this question? It does not seem to have made criticisms, I just highlighted a problem that could also be related only to my system.

Any way, I tried also the undocked layout and the problem remains.

I noticed that when the mouse is over the designer the cursor icon is the text edit cursor, like if it is over the text editor window. I do a switch to the text editor and switched again to the designer and the cursor behavior is the correct one with the arrow icon and now I can move the control. If I double click the control or the form the LCLClasses unit will open in the editor. I still can not bring up the message window and I don't know the error. There is a screenshot attached.
Even trying to create the click event handler from the object inspector an error is returned, as you can see in the attached screenshot.

To install the CT environment I followed the guide in this forum for the installation on the 14.04 version of ubuntu.

Last, the project with the control added, builds and run without errors.

Thanks.

Please Log in or Create an account to join the conversation.

Last edit: by Carlo Marona.

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6366

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Sorry Sir
Now we need more info, to help you.

Your Desktop is Ubuntu Unity ? (you must build Typhon64 for QT Platform)

Did you try to" Restore Docking Layout" ? (Typhon64->Window->Restore Default Layout)
Did you try "Rescan FPC "? (Typhon64->Tools->Rescan FPC Source Directory)
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6369

  • Carlo Marona
  • Carlo Marona's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0

sternas wrote: Sorry Sir


Nothing.

sternas wrote: Now we need more info, to help you.

Your Desktop is Ubuntu Unity ? (you must build Typhon64 for QT Platform)

Did you try to" Restore Docking Layout" ? (Typhon64->Window->Restore Default Layout)
Did you try "Rescan FPC "? (Typhon64->Tools->Rescan FPC Source Directory)


I followed the guide for 14.04 in this form, I build using QT library and the desktop is unity as supplied in ubuntu 14.10 distro.
The restore layout restore my docked layout cause I saved the layout as the default one. It's possible to restore the original undocked default layout? Is there a file can be deleted to revert the changes without manual undocking all panels?

I do a rescan FPC source directory. The docking problem of disappearence of the bottom of docked panel persists. I undocked the editor, same problem, the cursor still edit caret icon over the designer, but if I switch to the text editor and again to the designer, it seams the correct behavior is restored and now if I place a control into the form and double click it the event handler code is correctly created in the text editor. No source code unit or error was opened. The FPC source rescan may have had some positive effects.
I could try to use the ide in not docked layout and do some testing. I'm sorry for the anchored layout, it's too confortable. I also use GIMP in single window under windows and linux environments.
I hope you can resolve the docking problems as soon as possible.

Thanks.

Please Log in or Create an account to join the conversation.

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6371

  • Carlo Marona
  • Carlo Marona's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
I found another problem. The tip with code suggestion is empty.
Regards.

Please Log in or Create an account to join the conversation.

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6374

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Sir
always you can go to Typhon->Options->Desktop
and
Disable Docking System, with the selection "Use Docking System"
Disable Embedded Form Designer, with the selection "Use Embedded Form Designer"
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6376

  • Marius
  • Marius's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 24
  • Thank you received: 1
For me it is working ok on Ubuntu 14.10 Unity x64 using GTK2. The problem is that Typhoon crashes when i have an project with only Source Editor 2... I can not get rid of it ...:/

Please Log in or Create an account to join the conversation.

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6378

  • Tigr
  • Tigr's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 54
  • Thank you received: 1
xUbuntu 14.10 x64
when I add TidHttpProxyServer on the form, it hangs(

that's what we see in the terminal:

TMainIDE.OnPropHookPersistentAdded A IdHTTPProxyServer1:TIdHTTPProxyServer
TPkgManager.AddUnitDependenciesForComponentClasses Adding Project Dependency project1 -> pl_indy
TPkgManager.AddUnitDependenciesForComponentClasses Extending Uses unit1.pas IdHTTPProxyServer
[TEventsCodeTool.CompleteComponent] CurComponent=Button1:TButton
[TEventsCodeTool.CompleteComponent] CurComponent=IdHTTPProxyServer1:TIdHTTPProxyServer
TApplication.HandleException Access violation
Stack trace:
$00000000004E7EF0
$00000000018AD741
$000000000084B95E
$000000000084CCA4
$000000000083D3B7
$000000000083D948
$000000000083DC27
$0000000000657176
$000000000063EF44
$0000000000643129
$00000000006570AC
$000000000043584F
$00000000006404D4
$000000000070ECC2
$00000000006C9735
$00000000006D4F2D
$00000000006D500A

(typhon:14922): Gtk-CRITICAL **: IA__gtk_window_iconify: assertion 'GTK_IS_WINDOW (window)' failed

Please Log in or Create an account to join the conversation.

Last edit: by Tigr.

CT 5.1 on Ubuntu 14.10 10 years 1 week ago #6379

  • Carlo Marona
  • Carlo Marona's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Hi

tigr wrote: xUbuntu 14.10 x64
when I add TidHttpProxyServer on the form, it hangs(

that's what we see in the terminal:

TMainIDE.OnPropHookPersistentAdded A IdHTTPProxyServer1:TIdHTTPProxyServer
TPkgManager.AddUnitDependenciesForComponentClasses Adding Project Dependency project1 -> pl_indy
TPkgManager.AddUnitDependenciesForComponentClasses Extending Uses unit1.pas IdHTTPProxyServer
[TEventsCodeTool.CompleteComponent] CurComponent=Button1:TButton
[TEventsCodeTool.CompleteComponent] CurComponent=IdHTTPProxyServer1:TIdHTTPProxyServer
TApplication.HandleException Access violation
Stack trace:
$00000000004E7EF0
$00000000018AD741
$000000000084B95E
$000000000084CCA4
$000000000083D3B7
$000000000083D948
$000000000083DC27
$0000000000657176
$000000000063EF44
$0000000000643129
$00000000006570AC
$000000000043584F
$00000000006404D4
$000000000070ECC2
$00000000006C9735
$00000000006D4F2D
$00000000006D500A

(typhon:14922): Gtk-CRITICAL **: IA__gtk_window_iconify: assertion 'GTK_IS_WINDOW (window)' failed


I tried to add TidHttpProxyServer and I confirm an access violation is raised.
Regards.

Please Log in or Create an account to join the conversation.

CT 5.1 on Ubuntu 14.10 9 years 11 months ago #6514

  • Tigr
  • Tigr's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 54
  • Thank you received: 1
what should we do to avoid any such mistakes!????
not only is this problemma with proxyserver but tcp etc

Please Log in or Create an account to join the conversation.

  • Page:
  • 1