From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Weakness of Ada is expensive / security / etc. ? Anything else? Date: Tue, 21 Jul 2015 21:44:49 +0200 Organization: cbb software GmbH Message-ID: <1npnbotrqohbb$.cj0by0oyo31r$.dlg@40tude.net> References: <084c0dc7-ae74-4cb8-b1fe-78f42de94291@googlegroups.com> <5IidnWtEWowowjHInZ2dnUVZ5v6dnZ2d@giganews.com> <61db6272-72a4-47d7-b0e5-e870ac8a0432@googlegroups.com> <9078db18-03ef-4724-9818-e9ae37e3d7a8@googlegroups.com> <1opmyg48btl6a$.1pgzq9yrcmv6t$.dlg@40tude.net> <3922d054-290f-4a7d-8660-85eeac6072e9@googlegroups.com> <9daa54dc-338a-4a78-b553-5609623ff061@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: 5ZS5s7Q3rAN7MBP/UXLPIQ.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: number.nntp.giganews.com comp.lang.ada:194246 Date: 2015-07-21T21:44:49+02:00 List-Id: On Tue, 21 Jul 2015 10:50:27 -0700 (PDT), NiGHTS wrote: > On Tuesday, July 21, 2015 at 12:59:24 PM UTC-4, Dmitry A. Kazakov wrote: >> OK, but then GtkAda is not to blame for any differences GTK might have. >> Which mostly non-existent, and if any, then rather due to GTK-themes >> selected, or not, by the user (you). >> >> All GUI toolkits are themed in these days, which is bad in my view as well >> as from the ergonomic/automation POV. >> >> But they are hugely beloved by people dying to see green texts on magenta >> backgrounds... > > If it was theme related differences I wouldn't be complaining about it. > Here is an example for you: Word wrap simply doesn't work on labels in > Linux but it does work in Windows. Label text wrapping may depend on the widget size requisition. So you should set the label size explicitly. It could be a GTK bug as well, because it is highly unlikely that anybody would use that for text rendering, there is Gtk_Text_View for that. And because GTK 3 reworked most of widget sizing. > Same code (literally), wildly different results. GTK is full of bugs, especially GTK 3. But that has nothing to do with Ada. > Here's another: When using Tree_View.Set_Cursor with > Start_Editing => True, you can't see what you are typing in Windows (looks > like uneditable text) yet it works just fine in Linux. It is again GTK stuff, not Ada. >There are other examples I could give you but I can't remember them all on > account of that I now try to avoid the things that cause structural > inconsistencies. Mind you none of them are style / color related. Style is much more than colors. All widget style properties can be changed. > I would love to hear some workarounds There is GtkAda mail list. > to some of these problems since I am > actively working on such a project for multiple platforms on Ada with > GNATCOLL I cannot tell anything for that, I never used it. I dropped using DB-specific bindings a decade ago. ODBC does the job. There is no serious reasons to use DB-specific bindings. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de