On 09.09.2015 18:18, Juha Manninen wrote:
There is an old bug report about it.
http://bugs.freepascal.org/view.php?id=8051
Then the UniqueInstance component would be moved to LCL.
Luiz Américo has given permission for it when it was discussed.
Having a single / multiple instances of the IDE
On 10/09/15 00:34, Mattias Gaertner wrote:
On Wed, 09 Sep 2015 20:36:00 +0300
patspiper wrote:
[...]
Should I create a bug report?
Just delete environmentoptions.xml. That worked for me.
Yes, that is a workaround.
and one that unfortunately requires one to adjust lost settings.
But usin
On Wed, 09 Sep 2015 20:36:00 +0300
patspiper wrote:
>[...]
> > Should I create a bug report?
> Just delete environmentoptions.xml. That worked for me.
Yes, that is a workaround.
But using file versions, a developer can easily see, what is old and
what version introduced the change.
Mattias
--
On Wed, 9 Sep 2015 20:04:23 +0300
Juha Manninen wrote:
>[...]
> Ok, then my analysis was wrong. I thought it solved the problem for me
> but I did also fiddle with the environmentoptions.xml file.
> A certain cure for the problem is to delete the "default" desktop from
> environmentoptions.xml.
On 09/09/15 19:47, Mattias Gaertner wrote:
I can remove the two bars in "IDE Coolbar" options. But after restart
they reappear.
There is no "desktops manager", but searching through the IDE code I
found a "Manage desktops" under "Tools / Desktops ...".
I deleted in the "Manage desktops" the inac
On Wed, Sep 9, 2015 at 7:47 PM, Mattias Gaertner
wrote:
> I can remove the two bars in "IDE Coolbar" options. But after restart
> they reappear.
Yes, that is another thing.
> There is no "desktops manager", but searching through the IDE code I
> found a "Manage desktops" under "Tools / Desktops
On 09.09.2015 18:47, Mattias Gaertner wrote:
I can remove the two bars in "IDE Coolbar" options. But after restart
they reappear.
There is no "desktops manager", but searching through the IDE code I
found a "Manage desktops" under "Tools / Desktops ...".
I deleted in the "Manage desktops" the in
On Wed, Sep 9, 2015 at 6:47 PM, Ondrej Pokorny wrote:
> I updated the "examples\codetools\jumptoimplementation\" example with a
> drop-down-menu. See patch.
Excellent. I applied it in r49799. Thanks.
Juha
--
___
Lazarus mailing list
Lazarus@lists.laza
On Wed, 9 Sep 2015 19:09:19 +0300
Juha Manninen wrote:
>[...]
> > Then you should check the file version and automatically
> > convert old data to the new system.
> > Should I create a bug report?
>
> The way that desktops are saved was changed. The older version was in
> trunk only for a short
On Wed, Sep 9, 2015 at 3:20 PM, Ondrej Pokorny wrote:
> Btw. if something should be improved about IDE launching - does Lazarus
> allow a "single IDE" option? E.g. when I open a .pas file in windows
> explorer or whatever, it is opened in the already active Lazarus IDE and not
> in a new one? Some
On Wed, Sep 9, 2015 at 6:40 PM, Mattias Gaertner
wrote:
> What do you mean with this? The anchordocking menu item "Save window
> layout as default"?
No, this is related to the new desktops feature, not to anchordocking.
> Then you should check the file version and automatically
> convert old da
On 09.09.2015 08:26, Juha Manninen wrote:
Now such code can be found in DesktopManager and MainBase units.
If somebody (maybe patspiper) creates an example application, we can
add it to examples directory.
Or should it be part of some already existing application?
Juha
I updated the "examples\c
On Tue, 8 Sep 2015 21:37:14 +0300
Juha Manninen wrote:
> On Tue, Sep 8, 2015 at 8:47 PM, Sandro Cumerlato
> wrote:
> > every time I start the Lazarus IDE the IDE CoolBar items reduplicate.
> > Resetting to default from options doesn't solve the issue.
> > Please take a look at the attachment.
>
On 09.09.2015 13:01, Juha Manninen wrote:
On Wed, Sep 9, 2015 at 1:30 PM, Ondrej Pokorny wrote:
IMO, the images are loaded only once in the IDEImageList or how it is
called, am I wrong?
Maybe that whole loading can be threaded. One more task to my ToDo list ...
Juha
Before you do unnecessary
On 09.09.2015 13:01, Juha Manninen wrote:
On Wed, Sep 9, 2015 at 1:30 PM, Ondrej Pokorny wrote:
IMO, the images are loaded only once in the IDEImageList or how it is
called, am I wrong?
Maybe that whole loading can be threaded. One more task to my ToDo list ...
Juha
Oh that would cause a lot
On Wed, Sep 9, 2015 at 1:30 PM, Ondrej Pokorny wrote:
> IMO, the images are loaded only once in the IDEImageList or how it is
> called, am I wrong?
Maybe that whole loading can be threaded. One more task to my ToDo list ...
Juha
--
___
Lazarus mailing
On 09.09.2015 12:27, Juha Manninen wrote:
On Wed, Sep 9, 2015 at 1:15 PM, Mattias Gaertner
wrote:
I meant: Why is the IDE CoolBar slow?
Ok, it is not particularly slow but it has buttons with images.
Loading image resources always takes some time.
When I profiled the startup, only the editor m
On Wed, Sep 9, 2015 at 1:15 PM, Mattias Gaertner
wrote:
> I meant: Why is the IDE CoolBar slow?
Ok, it is not particularly slow but it has buttons with images.
Loading image resources always takes some time.
When I profiled the startup, only the editor macro package was very
slow. Otherwise the t
On Wed, 9 Sep 2015 13:06:01 +0300
Juha Manninen wrote:
>[...]
> On Wed, Sep 9, 2015 at 10:49 AM, Mattias Gaertner
> wrote:
> > What is the problem?
I meant: Why is the IDE CoolBar slow?
Mattias
--
___
Lazarus mailing list
Lazarus@lists.lazarus.free
On 09.09.2015 08:47, Juha Manninen wrote:
On Wed, Sep 9, 2015 at 9:34 AM, Juha Manninen wrote:
Another choice in OnIdle handler.
The benefit would be that also the initial update of the IDE Coolbar
would be delayed and the IDE would be ready for editing sooner.
One more optimization is to dest
I applied the QueueAsyncCall patch in r49793. Thanks.
On Wed, Sep 9, 2015 at 10:49 AM, Mattias Gaertner
wrote:
> What is the problem?
The IDE starts slower than many advanced programmers' editors like
Geany or NotePad++.
It has a big psychological effect. People feel the IDE is "heavy" and
a res
On Wed, 9 Sep 2015 09:34:59 +0300
Juha Manninen wrote:
> On Wed, Sep 9, 2015 at 8:09 AM, patspiper wrote:
> > The patch works indeed. I haven't inspected the dektop manager code, but
> > QueueAsync call may be more suited for the task than a timer.
>
> Another choice in OnIdle handler.
> The be
On 09.09.2015 08:34, Juha Manninen wrote:
On Wed, Sep 9, 2015 at 8:09 AM, patspiper wrote:
The patch works indeed. I haven't inspected the dektop manager code, but
QueueAsync call may be more suited for the task than a timer.
Another choice in OnIdle handler.
The benefit would be that also the
On 09.09.2015 08:34, Juha Manninen wrote:
On Wed, Sep 9, 2015 at 8:09 AM, patspiper wrote:
The patch works indeed. I haven't inspected the dektop manager code, but
QueueAsync call may be more suited for the task than a timer.
Another choice in OnIdle handler.
The benefit would be that also the
On Wed, Sep 9, 2015 at 8:01 AM, Ondrej Pokorny wrote:
>> You have explicitly saved a desktop with name "default". Remove it and
>> you are fine.
>> The system for saving a default desktop was changed.
>
> I would consider this being a bug. How did it happen?
It is not a bug that needs any action.
On Wed, Sep 9, 2015 at 9:34 AM, Juha Manninen wrote:
> Another choice in OnIdle handler.
> The benefit would be that also the initial update of the IDE Coolbar
> would be delayed and the IDE would be ready for editing sooner.
One more optimization is to destroy and recreate the buttons only if
th
On 09.09.2015 08:26, Juha Manninen wrote:
Now such code can be found in DesktopManager and MainBase units. If
somebody (maybe patspiper) creates an example application, we can add
it to examples directory. Or should it be part of some already
existing application? Juha
I think we could easily e
On Wed, Sep 9, 2015 at 8:09 AM, patspiper wrote:
> The patch works indeed. I haven't inspected the dektop manager code, but
> QueueAsync call may be more suited for the task than a timer.
Another choice in OnIdle handler.
The benefit would be that also the initial update of the IDE Coolbar
would
On Wed, Sep 9, 2015 at 8:42 AM, Ondrej Pokorny wrote:
> On 09.09.2015 07:37, patspiper wrote:
>>
>> Can you then show example code on how to add a dropdown button to the
>> IDECoolbar?
>
> You have to register your own TIDEToolButton descendant with the command.
> See e.g. 'ide\desktopmanager.pas'
On 09.09.2015 07:37, patspiper wrote:
Can you then show example code on how to add a dropdown button to the
IDECoolbar?
Stephano
You have to register your own TIDEToolButton descendant with the command.
See e.g. 'ide\desktopmanager.pas'
TShowDesktopsToolButton = class(TIDEToolButton)
it is r
On 09/09/15 08:23, Ondrej Pokorny wrote:
On 09.09.2015 07:09, patspiper wrote:
I have just replied in another mail.
Btw, are there any plans to allow an IDE package to register its own
buttons in the toolbar? If my memory serves well, the main missing
part is a register method for Commands (
On 09.09.2015 07:09, patspiper wrote:
What OS do you use? Thanks for the backtrace. It looks feasible.
Ubuntu 11.04
When changing desktops from the drop-down menu of the button, the
button itself is recreated (destroyed and created again). A simple
help is to detach the action from the event. E
On 09.09.2015 07:09, patspiper wrote:
I have just replied in another mail.
Btw, are there any plans to allow an IDE package to register its own
buttons in the toolbar? If my memory serves well, the main missing
part is a register method for Commands (ec).
Stephano
AFAIK this is supporte
On 09/09/15 08:00, Ondrej Pokorny wrote:
On 09.09.2015 06:51, patspiper wrote:
On 09/09/15 00:46, Juha Manninen wrote:
Let me guess. It happens only when changing desktop from the CoolBar
button's menu. It does not happen when doing it from Tools ->
Desktops dialog.
Correct.
Stephano
What a
On 09/09/15 01:20, Ondrej Pokorny wrote:
On 08.09.2015 23:46, Juha Manninen wrote:
Let me guess. It happens only when changing desktop from the CoolBar
button's menu. It does not happen when doing it from Tools ->
Desktops dialog.
Juha
What OS do you use? Thanks for the backtrace. It looks
On 08.09.2015 20:37, Juha Manninen wrote:
On Tue, Sep 8, 2015 at 8:47 PM, Sandro Cumerlato
wrote:
every time I start the Lazarus IDE the IDE CoolBar items reduplicate.
Resetting to default from options doesn't solve the issue.
Please take a look at the attachment.
Note: I start the IDE with the
On 09.09.2015 06:51, patspiper wrote:
On 09/09/15 00:46, Juha Manninen wrote:
Let me guess. It happens only when changing desktop from the CoolBar
button's menu. It does not happen when doing it from Tools ->
Desktops dialog.
Correct.
Stephano
What about the patch I sent you. Does it help?
On 09/09/15 00:46, Juha Manninen wrote:
Let me guess. It happens only when changing desktop from the CoolBar
button's menu. It does not happen when doing it from Tools -> Desktops
dialog.
Correct.
Stephano
--
___
Lazarus mailing list
Lazarus@lists.l
On 08.09.2015 23:46, Juha Manninen wrote:
Let me guess. It happens only when changing desktop from the CoolBar
button's menu. It does not happen when doing it from Tools -> Desktops
dialog.
Juha
What OS do you use? Thanks for the backtrace. It looks feasible.
When changing desktops from the
Let me guess. It happens only when changing desktop from the CoolBar
button's menu. It does not happen when doing it from Tools -> Desktops
dialog.
Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/
On 08/09/15 23:33, Sandro Cumerlato wrote:
oops, are you talking about AV like the attached one? :(
I have/had both issues:
- Duplicate toolbars: Solved by deleting environmentoptions.xml
- AV's when switching desktops (similar to your image)
Sephano
--
On 08/09/15 23:38, Juha Manninen wrote:
On Tue, Sep 8, 2015 at 11:12 PM, patspiper wrote:
However the AV's when switching desktops remain.
Is it similar with this?
http://bugs.freepascal.org/view.php?id=28613
Alexey has copied XML files but a debugger backtrace would be more usefull.
I am
On Tue, Sep 8, 2015 at 11:12 PM, patspiper wrote:
> However the AV's when switching desktops remain.
Is it similar with this?
http://bugs.freepascal.org/view.php?id=28613
Alexey has copied XML files but a debugger backtrace would be more usefull.
Juha
--
_
oops, are you talking about AV like the attached one? :(
On 8 September 2015 at 22:27, Sandro Cumerlato
wrote:
> p.s.: I resetted the EditorToolbar settings too, from options menu. I
> don't know if it is related too. I hope that it can help you.
>
> On 8 September 2015 at 22:12, patspiper wrote
p.s.: I resetted the EditorToolbar settings too, from options menu. I
don't know if it is related too. I hope that it can help you.
On 8 September 2015 at 22:12, patspiper wrote:
> On 08/09/15 22:27, Sandro Cumerlato wrote:
>>
>> Thank you Juha for the prompt reply!
>>
>> I fixed it removing the
On 08/09/15 22:27, Sandro Cumerlato wrote:
Thank you Juha for the prompt reply!
I fixed it removing the section manually from the environmentoptions.xml file.
I had the same problem earlier today and had to delete
environmentoptions.xml altogether. Removing sections didn't work.
And I had onl
Thank you Juha for the prompt reply!
I fixed it removing the section manually from the environmentoptions.xml file.
Thank you again for the help!
Sandro
On 8 September 2015 at 20:37, Juha Manninen wrote:
> On Tue, Sep 8, 2015 at 8:47 PM, Sandro Cumerlato
> wrote:
>> every time I start the Laz
On Tue, Sep 8, 2015 at 8:47 PM, Sandro Cumerlato
wrote:
> every time I start the Lazarus IDE the IDE CoolBar items reduplicate.
> Resetting to default from options doesn't solve the issue.
> Please take a look at the attachment.
> Note: I start the IDE with the following command:
> \freepascal\laz
Hello,
every time I start the Lazarus IDE the IDE CoolBar items reduplicate.
Resetting to default from options doesn't solve the issue.
Please take a look at the attachment.
Note: I start the IDE with the following command:
\freepascal\laz\trunk\startlazarus.exe --pcp=\freepascal\pcp
under Win
49 matches
Mail list logo