Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: "(" and ")" not working in Linux/WINE Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
kkomara
Newbie
Newbie
Avatar

Joined: June 02 2017
Location: United States
Online Status: Offline
Posts: 31
Posted: December 17 2020 at 10:21 | IP Logged Quote kkomara

I have PH installed in Ubuntu using WINE. Works really well - but I have a weird issue when I am trying to create/edit macros. When I am trying to edit the formula in a macro - the "(" and the ")" do not work !!! When I am in the Formula Builder - when I type "ph_" I get the pop up box with the various options. When I choose for example "ph_insteonwithret" I get "ph_insteonwithret" on the screen. When I try to type the "(" - so that I would have "ph_insteonwithret(" which SHOULD bring up another pop up box with more options) - I cannot type the "(" - just stays blank. I cannot type the ")" either. Its like the "(" and the ")" are not defined in my Linux keyboard - but both of those keys actually work fine in say a simple Text editor. I have installed same version of PH on a real Windows 10 PC - and this works fine. In fact this worked fine on my PH 2.1b install in WINE that I was using for > 4 years.
Anyone have any ideas ??   

__________________
Kevin Komara
Back to Top View kkomara's Profile Search for other posts by kkomara
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 20 2020 at 18:20 | IP Logged Quote dhoward

Kevin,

That is indeed odd. Not sure why it wouldnt work in 2.2beta3-3. The editor controls uses the open source Scintilla control to handle
the "editor" aspects. It's possible that 2.1b used a different version of Scintilla that 2.2beta3-3 but I would have to dig through
the sourcecode to see if that is the case.

One thing I would try and see if you encounter the problem while using an onscreen keyboard (assuming such an option exists in WINE).
The other thing I would try is typing out the formula in a separate editor and copy/pasting into the PowerHome formula editor.

The popup you refer to that appears after typing the "(" can also be brought up by pressing the "F2" button. You can type the function
name, press "F2" and see if that has something to do with keeping the control from recognizing the "(" and ")" keystrokes.

Let me know,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
kkomara
Newbie
Newbie
Avatar

Joined: June 02 2017
Location: United States
Online Status: Offline
Posts: 31
Posted: December 26 2020 at 17:02 | IP Logged Quote kkomara

Dave,
So the "(" and ")" when editing a formula do not work with the Linux on-screen keyboard either. But the F2 does bring up the pop up. I can cut and paste the "(" or ")" and I have been using cut and past for entire commands for days.

I can use the "(" and ")" in a normal text editor in Linux - so I can only assume the event that happens when the ( or ) in PH is just not firing in Linux/Wine.

Bummer becuase it is pretty hard to edit macros and formulas without the ( or ) !!!

Any ideas ?


__________________
Kevin Komara
Back to Top View kkomara's Profile Search for other posts by kkomara
 
kkomara
Newbie
Newbie
Avatar

Joined: June 02 2017
Location: United States
Online Status: Offline
Posts: 31
Posted: January 01 2021 at 12:57 | IP Logged Quote kkomara

Hey Dave,
Any thoughts on how to fix my issues with no "(" or ")" when PH running under Ubuntu Linux/WINE ??? I have been getting around it using copy and paste.... but that is a pretty big pain !!
Thanks,
Kev

__________________
Kevin Komara
Back to Top View kkomara's Profile Search for other posts by kkomara
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: January 04 2021 at 18:30 | IP Logged Quote dhoward

Kevin,

One other thing to try is typing the formula in the Multi-Editor in a different "mode" than PH Formula. When you open the editor window to edit
or create a new formula, try pressing shift+f5 (SQL Mode) and see if the ( and ) characters work in there (other modes don't have special
processing for parenthesis). If that doesnt work, give each of the other modes a shot as well (shift+f1 thru shift+f6). If none of those work,
then the problem will be with Scintilla and may not be fixable. If another mode does work, then that narrows it down and I can see if there is
any options I may have to solve it from within code.

Also, in the macro formula (or any other formula field), try NOT opening the editor and see if it allows you to type the parenthesis characters
directly in the editable field. That will tell me if it's a PowerBuilder related issue or not. If you cant type the ( and ) characters just in
the editable field, then there won't be anything I can do other than wait for a new version of PowerBuilder to upgrade to and see if it's fixed
there.

Let me know,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum