From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Weakness of Ada is expensive / security / etc. ? Anything else?
Date: Tue, 21 Jul 2015 21:44:49 +0200
Date: 2015-07-21T21:44:49+02:00 [thread overview]
Message-ID: <1npnbotrqohbb$.cj0by0oyo31r$.dlg@40tude.net> (raw)
In-Reply-To: 9daa54dc-338a-4a78-b553-5609623ff061@googlegroups.com
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
next prev parent reply other threads:[~2015-07-21 19:44 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-17 10:19 Weakness of Ada is expensive / security / etc. ? Anything else? Trish Cayetano
2015-07-17 10:46 ` Simon Clubley
2015-07-17 15:35 ` Trish Cayetano
2015-07-17 15:54 ` David Botton
2015-07-17 12:06 ` G.B.
2015-07-17 15:38 ` Trish Cayetano
2015-07-17 12:54 ` David Botton
2015-07-17 15:41 ` Trish Cayetano
2015-07-17 16:20 ` Patrick Noffke
2015-07-17 17:31 ` Shark8
2015-07-17 17:43 ` Simon Clubley
2015-07-17 18:39 ` Jeffrey R. Carter
2015-07-17 19:28 ` jm.tarrasa
2015-07-17 21:00 ` Pascal Obry
2015-07-17 21:53 ` Shark8
2015-07-17 22:41 ` Nasser M. Abbasi
2015-07-18 7:40 ` Trish Cayetano
2015-07-19 14:55 ` David Botton
2015-07-20 2:40 ` Norman Worth
2015-07-20 9:52 ` Serge Robyns
2015-07-20 17:35 ` Shark8
2015-07-20 19:13 ` David Botton
2015-07-20 22:12 ` NiGHTS
2015-07-21 1:37 ` Norman Worth
2015-07-21 6:54 ` Dmitry A. Kazakov
2015-07-21 13:31 ` NiGHTS
2015-07-21 16:59 ` Dmitry A. Kazakov
2015-07-21 17:50 ` NiGHTS
2015-07-21 19:44 ` Dmitry A. Kazakov [this message]
2015-07-21 20:28 ` Björn Lundin
2015-07-21 22:01 ` Georg Bauhaus
2015-07-21 23:44 ` Shark8
2015-07-22 6:19 ` Dmitry A. Kazakov
2015-07-22 6:13 ` Dmitry A. Kazakov
2015-07-22 7:04 ` Georg Bauhaus
2015-07-22 7:37 ` Dmitry A. Kazakov
2015-07-22 9:29 ` Graham Stark
2015-07-22 10:33 ` Dmitry A. Kazakov
2015-07-22 10:12 ` G.B.
2015-07-22 10:31 ` Dmitry A. Kazakov
2015-07-22 11:20 ` G.B.
2015-07-22 0:17 ` NiGHTS
2015-07-22 6:54 ` Dmitry A. Kazakov
2015-07-22 15:11 ` Shark8
2015-07-22 11:43 ` Brian Drummond
2015-07-24 7:34 ` Egil H H
2015-07-21 11:17 ` Serge Robyns
2015-07-20 17:38 ` Florian Weimer
2015-07-20 17:45 ` Paul Rubin
2015-07-20 17:53 ` Florian Weimer
2015-07-20 18:09 ` Paul Rubin
2015-07-20 18:25 ` Florian Weimer
2015-07-20 18:34 ` Paul Rubin
2015-07-20 19:33 ` Florian Weimer
2015-07-20 20:20 ` Paul Rubin
2015-07-22 18:29 ` Florian Weimer
2015-07-22 19:58 ` Paul Rubin
2015-07-26 19:41 ` Florian Weimer
2015-07-27 1:18 ` Jeremiah
2015-07-22 6:34 ` Stefan.Lucks
2015-07-26 14:51 ` EGarrulo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox