Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Sven Barth
Am 07.10.2015 20:55 schrieb : > > On 10/07/2015 06:24 AM, Mattias Gaertner wrote: >> >> On Wed, 7 Oct 2015 12:52:53 +0300 >> Juha Manninen wrote: >> >>> [...] >>> Who would step in and implement SVG support. I believe Sandro would >>> join if

[Lazarus] Streaming my TODO list

2015-10-07 Thread Anthony Walter
I've got a few programming TODOs related to Lazarus and am testing out streaming my desktop while I complete some of these tasks. The tasks in no particular include: * Adding Unity app indicator support to TTrayIcon * Writing a fancy CPU core usage dials/graphs desktop widget * Writing a pascal

Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Luca Olivetti
El 06/10/15 a les 23:08, Michael Van Canneyt ha escrit: On Tue, 6 Oct 2015, Anthony Walter wrote: What's the status of TTrayIcon and Ubuntu/Unity? Today I tried to create an application with a TTrayIcon on Ubuntu with the latest LCL sources and the TTrayIcon doesn't show. I think it's been

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Ondrej Pokorny
On 07.10.2015 00:09, Michael Van Canneyt wrote: Hello, Out of curiosity: Are there any plans to make the LCL (and by extension the IDE itself) High-DPI aware? Working on a Macbook Pro with retina screen (running kubuntu) is OK if you only need to edit code, but as soon as you need to use

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mark Morgan Lloyd
Ondrej Pokorny wrote: On 07.10.2015 00:09, Michael Van Canneyt wrote: Hello, Out of curiosity: Are there any plans to make the LCL (and by extension the IDE itself) High-DPI aware? Working on a Macbook Pro with retina screen (running kubuntu) is OK if you only need to edit code, but as

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Michael Van Canneyt
On Wed, 7 Oct 2015, Ondrej Pokorny wrote: On 07.10.2015 00:09, Michael Van Canneyt wrote: Hello, Out of curiosity: Are there any plans to make the LCL (and by extension the IDE itself) High-DPI aware? Working on a Macbook Pro with retina screen (running kubuntu) is OK if you only need

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 7 Oct 2015 00:09:54 +0200 (CEST) Michael Van Canneyt wrote: >[...] > Are there any plans to make the LCL (and by extension the IDE itself) > High-DPI aware? > Working on a Macbook Pro with retina screen (running kubuntu) is OK if you > only need to edit code,

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Michael Van Canneyt
On Wed, 7 Oct 2015, Mattias Gaertner wrote: On Wed, 7 Oct 2015 00:09:54 +0200 (CEST) Michael Van Canneyt wrote: [...] Are there any plans to make the LCL (and by extension the IDE itself) High-DPI aware? Working on a Macbook Pro with retina screen (running kubuntu)

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 08:06, Mark Morgan Lloyd wrote: > I think Graeme's question about storing DPI in .lfm files might be relevant. That's just the tip of the iceberg - what about multi-head systems where each monitor has a different DPI value. Such system are very easy to setup (and least under Linux

Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Michael Van Canneyt
On Wed, 7 Oct 2015, Luca Olivetti wrote: El 06/10/15 a les 23:08, Michael Van Canneyt ha escrit: On Tue, 6 Oct 2015, Anthony Walter wrote: What's the status of TTrayIcon and Ubuntu/Unity? Today I tried to create an application with a TTrayIcon on Ubuntu with the latest LCL sources and

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 09:25, Michael Van Canneyt wrote: > It worked on Linux, Windows 7. Then someone ran it on Windows 8 and 10, > and those versions of Windows did something which completely messed up > the DPI awareness. Strange, because using the same method as what you, but with a fpGUI test

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 11:24, Mattias Gaertner wrote: > There are currently about 400 icons in the IDE. > We need volunteers to create them either as SVG or as higher resolution > image. Use SVG directly and let it render the correct size at runtime. That will solve the problem for any dpi value. Higher

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 7 Oct 2015 12:37:45 +0200 Ondrej Pokorny wrote: > On 07.10.2015 12:24, Mattias Gaertner wrote: > > There are currently about 400 icons in the IDE. We need volunteers to > > create them either as SVG or as higher resolution image. > > IMO the icons are the latest

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 11:37, Ondrej Pokorny wrote: > It would be absolutely sufficient that > every window and control in the IDE is properly scaled and images are > resized with quality loss. Bad quality icons totally ruin the look of any application. End-users would be pretty darn disappointed as

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 7 Oct 2015 12:40:13 +0100 Graeme Geldenhuys wrote: > On 2015-10-07 12:32, Michael Van Canneyt wrote: >[...] > I don't presume to know the details of the SVG file format, but I > wouldn't be surprised if it includes some reduced (optional) detail on > low

Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-06 22:08, Michael Van Canneyt wrote: > It's more likely that unity has been broken for years... :) +1 Exactly correct. This was a known problem from 3+ years ago (I remember reading about it years back). Canonical changed something in Unity's tray area, and it broke loads of

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Juha Manninen
On Wed, Oct 7, 2015 at 11:45 AM, Michael Van Canneyt wrote: >> How does the VCL work on High-DPI? > > All I know is: It's DPI-Aware. Normally, that should cover most cases. > I do not know if it is multi-monitor DPI aware. > > To be correct, in early versions of Delphi,

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Michael Schnell
On 10/07/2015 12:24 PM, Mattias Gaertner wrote: There are currently about 400 icons in the IDE. We need volunteers to create them either as SVG or as higher resolution image. What about using a vector format to be (rather) independent of the display resolution (as long as it's not too small).

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 12:02, Michael Van Canneyt wrote: > The document is so big because they provide a lot of background info, Indeed, I downloaded and scanned the document after I posted my previous message. [then went ahead and studied the PDF internal code generated by wPDF ;-)] Regards, - Graeme

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Michael Van Canneyt
On Wed, 7 Oct 2015, Lukasz Sokol wrote: On 07/10/15 11:44, Graeme Geldenhuys wrote: On 2015-10-07 11:24, Mattias Gaertner wrote: There are currently about 400 icons in the IDE. We need volunteers to create them either as SVG or as higher resolution image. Use SVG directly and let it

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 09:45, Michael Van Canneyt wrote: > All I know is: It's DPI-Aware. Normally, that should cover most cases. > I do not know if it is multi-monitor DPI aware. Delphi 10 Seattle (the IDE) is severely broken - everybody on Google+'s Delphi community is complaining about it. All the IDE

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 7 Oct 2015 12:52:53 +0300 Juha Manninen wrote: >[...] > Who would step in and implement SVG support. I believe Sandro would > join if there are other people involved. There are currently about 400 icons in the IDE. We need volunteers to create them either as

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Ondrej Pokorny
On 07.10.2015 10:25, Michael Van Canneyt wrote: Would you mind elaborating on this ? I wrote an app which is DPI aware (as per the instructions on the Lazarus wiki). It worked on Linux, Windows 7. Then someone ran it on Windows 8 and 10, and those versions of Windows did something which

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Ondrej Pokorny
On 07.10.2015 11:52, Juha Manninen wrote: When I worked with Delphi, VCL's DPI support was broken and a the retailer's support was frustrated when people kept asking about it. I don't know about the latest situation. Maybe FireMonkey has solved it better. Anyway, I think we should solve it

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Lukasz Sokol
On 07/10/15 11:44, Graeme Geldenhuys wrote: > On 2015-10-07 11:24, Mattias Gaertner wrote: >> There are currently about 400 icons in the IDE. >> We need volunteers to create them either as SVG or as higher resolution >> image. > > Use SVG directly and let it render the correct size at runtime.

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Mattias Gaertner
On Wed, 07 Oct 2015 12:27:43 +0200 Michael Schnell wrote: > On 10/07/2015 12:24 PM, Mattias Gaertner wrote: > > There are currently about 400 icons in the IDE. We need volunteers to > > create them either as SVG or as higher resolution image. > What about using a vector

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 10:52, Juha Manninen wrote: > One important part of HighDPI would be scalable icons. Sandro > Cumerlato had an idea of SVG support for LCL +1 I fully agree with that. I'm actually busy doing exactly that in fpGUI too. I want the default icon set to be SVG only. AggPas (the new

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Ondrej Pokorny
On 07.10.2015 12:24, Mattias Gaertner wrote: There are currently about 400 icons in the IDE. We need volunteers to create them either as SVG or as higher resolution image. IMO the icons are the latest problem. Personally I don't care if the icons are blurry at higher DPI. It would be

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 11:42, Ondrej Pokorny wrote: > it is possible with manual approach: > https://community.embarcadero.com/blogs/blog-menu/entry/how-to-guide-upgrading-your-delphi-vcl-applications-to-support-4k-displays > (Works pretty well.) OMG - a 38 page guide! Are they joking. I used about 20

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 12:09, Lukasz Sokol wrote: > What do you think about > http://www.pushing-pixels.org/2011/11/04/about-those-vector-icons.html ? I'm well aware of the fact [issue] that large icons normally use large detail and small icons should use less. But that comes down to the fact of how the

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Graeme Geldenhuys
On 2015-10-07 12:32, Michael Van Canneyt wrote: > Basically, the only excuse for using SVG for icons, is lack of time. They way displays are improving, 16px, 32px graphics will soon go by the way of the DoDo. The smallest resolution images on a 300+dpi (4K plus) display will probably end up being

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Aradeonas
> Bottom line - the SVG solution is a lot better that shipping > say Lazarus with its 400 icons in 15 different icon resulutions. That ends up with 6000 image files, which is crazy. I disagree with you. First we dont need 15 different icon set, just few for every DPI something like Android that

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Michael Schnell
On 10/07/2015 12:36 PM, Mattias Gaertner wrote: Maybe the V in SVG stands for vector, maybe not. Right you are:https://en.wikipedia.org/wiki/Scalable_Vector_Graphics But what I meant was not how the graphics is created but the format stored in the resource to be drawn at run time. -Michael

Re: [Lazarus] Lazarus Release 1.4.4

2015-10-07 Thread Martin Frb
On 06/10/2015 12:56, Mattias Gaertner wrote: The Lazarus team is glad to announce the release of Lazarus 1.4.4. This release was built with FPC 2.6.4, same as the previous release Lazarus 1.4.2. Forgot to mention, checksums of the original files are on our website:

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Sven Barth
Am 07.10.2015 13:30 schrieb "Graeme Geldenhuys" < mailingli...@geldenhuys.co.uk>: > > On 2015-10-07 12:09, Lukasz Sokol wrote: > > What do you think about http://www.pushing-pixels.org/2011/11/04/about-those-vector-icons.html ? > > I'm well aware of the fact [issue] that large icons normally use

Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Luca Olivetti
El 07/10/15 a les 10:30, Michael Van Canneyt ha escrit: It works just fine on Kubuntu. But only with the qt widgetset No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet. Really, it doesn't work here with the gtk2 widgetset, only with qt. kubuntu 15.04, x86_64, with plasma

Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Luca Olivetti
El 07/10/15 a les 17:08, Luca Olivetti ha escrit: El 07/10/15 a les 10:30, Michael Van Canneyt ha escrit: It works just fine on Kubuntu. But only with the qt widgetset No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet. Really, it doesn't work here with the gtk2 widgetset,

Re: [Lazarus] lazcontrols filters

2015-10-07 Thread Péter Gábor
What do you think about moving TextHint related things from TCustomEdit to TWinControl to make TextHint available for all TWinControl descendants, for example TComboBox. In this case developers may have unified look of controls on a single form. Anyway TextHint for ComboBoxes would be welcome.

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread wkitty42
On 10/07/2015 06:24 AM, Mattias Gaertner wrote: On Wed, 7 Oct 2015 12:52:53 +0300 Juha Manninen wrote: [...] Who would step in and implement SVG support. I believe Sandro would join if there are other people involved. There are currently about 400 icons in the

Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Patrick Chevalley
Hi, > There is your answer... > If the desktop environments start to break standards, there is little we can > do. There is an explanation here: http://blog.martin-graesslin.com/blog/2014/03/system-tray-in-plasma-next/ and

Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Anthony Walter
In the future one thing we can do, if the desktop environment is popular enough (I'd argue that Ubuntu is the most popular Linux for desktop users distribution) is: * Make a note of the problem * Provide links to resources where people could start if they want to work on a fix Regarding point

Re: [Lazarus] lazcontrols filters

2015-10-07 Thread Bart
On 10/7/15, Péter Gábor wrote: > What do you think about moving TextHint related things from TCustomEdit > to TWinControl to make TextHint available for all TWinControl > descendants, for example TComboBox. It would be Delphi incompatible. AFAIK TextHint is introduced in

Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Michael Van Canneyt
On Wed, 7 Oct 2015, Luca Olivetti wrote: El 07/10/15 a les 17:08, Luca Olivetti ha escrit: El 07/10/15 a les 10:30, Michael Van Canneyt ha escrit: It works just fine on Kubuntu. But only with the qt widgetset No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet. Really,

Re: [Lazarus] High-DPI aware LCL ?

2015-10-07 Thread Sven Barth
Am 07.10.2015 15:20 schrieb "Michael Schnell" : > > On 10/07/2015 12:36 PM, Mattias Gaertner wrote: >> >> Maybe the V in SVG stands for vector, maybe not. > > Right you are:https://en.wikipedia.org/wiki/Scalable_Vector_Graphics > > But what I meant was not how the graphics is

Re: [Lazarus] Tray icon not working on Ubunut

2015-10-07 Thread Michael Van Canneyt
On Wed, 7 Oct 2015, Luca Olivetti wrote: El 07/10/15 a les 10:30, Michael Van Canneyt ha escrit: It works just fine on Kubuntu. But only with the qt widgetset No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet. Really, it doesn't work here with the gtk2 widgetset, only