Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-10

Which IDE versions allow you to select a file by right-clicking on the tab?

10 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Frank Church

When I right-click on a tab in the source editor in Linux, I get a menu which allows me to jump to the file I want.

It doesn't work that way in the Windows version. I believe Windows has or had an equivalent version I have forgotten about.

The version I am using on both is 0.9.30

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111002/d08bff1e/attachment.html>

Reply by email

Mattias Gaertner
to Frank Church
When I right-click on a tab in the source editor in Linux, I get a menu which allows me to jump to the file I want.

This is a gtk feature, not a LCL feature. All gtk pagecontrols have this menu by default.
For example the Linux/QT IDE does not have it.

It doesn't work that way in the Windows version. I believe Windows has or had an equivalent version I have forgotten about.

AFAIK: no

The version I am using on both is 0.9.30

Mattias

Reply by email

Frank Church
to Mattias Gaertner: On Sun, 2 Oct 2011 13:35:48 +0100 This is a gtk feature, not a LCL feature. All gtk…
Mattias Gaertner wrote 20 lines
On Sun, 2 Oct 2011 13:35:48 +0100 Frank Church wrote: > When I right-click on a tab in the source editor in Linux, I get a menu > which allows me to jump to the file I want. This is a gtk feature, not a LCL feature. All gtk pagecontrols have this menu by default. For example the Linux/QT IDE does not have it. > It doesn't work that way in the Windows version. I believe Windows has or > had an equivalent version I have forgotten about. AFAIK: no > The version I am using on both is 0.9.30

Does that mean that if the Lazarus IDE in Windows is built as a GTK executable it will work?

Show quoted text 10 lines
Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111002/58a30bf6/attachment.html>

Reply by email

Mattias Gaertner
to Hans-Peter Diettrich: It's a gtk option, the menu still has to be populated by the LCL. I see no special…
Show quoted text 12 lines
Mattias Gaertner schrieb: > On Sun, 2 Oct 2011 13:35:48 +0100 > Frank Church wrote: > >> When I right-click on a tab in the source editor in Linux, I get a menu >> which allows me to jump to the file I want. > > This is a gtk feature, not a LCL feature. It's a gtk option, the menu still has to be populated by the LCL. I see no special problem in making the control catch right clicks on the tab area, before they trigger the normal context popup.

Do you mean the gtk feature should be emulated on all platforms? By whom, the LCL or the IDE?

Mattias

Reply by email

Hans-Peter Diettrich
to Mattias Gaertner: On Sun, 2 Oct 2011 13:35:48 +0100 This is a gtk feature, not a LCL feature. All gtk…
Show quoted text 7 lines
On Sun, 2 Oct 2011 13:35:48 +0100 Frank Church wrote: > When I right-click on a tab in the source editor in Linux, I get a menu > which allows me to jump to the file I want. This is a gtk feature, not a LCL feature.

It's a gtk option, the menu still has to be populated by the LCL. I see no special problem in making the control catch right clicks on the tab area, before they trigger the normal context popup.

DoDi

Reply by email

Hans-Peter Diettrich
to Mattias Gaertner: On Mon, 03 Oct 2011 00:40:48 +0200 Do you mean the gtk feature should be emulated on all…
Show quoted text 8 lines
>>> When I right-click on a tab in the source editor in Linux, I get a menu >>> which allows me to jump to the file I want. >> This is a gtk feature, not a LCL feature. > It's a gtk option, the menu still has to be populated by the LCL. I see > no special problem in making the control catch right clicks on the tab > area, before they trigger the normal context popup. Do you mean the gtk feature should be emulated on all platforms?

In all widgetsets, yes.

I just saw the Tab menus in FireFox, and think that it is a very useful feature.

By whom, the LCL or the IDE?

IMO it should be implemented in the LCL, as the PopUp property of the control. The tab switching menu can become the default, when the user supplies no other menu.

DoDi

Reply by email

zeljko
to Hans-Peter Diettrich: Right :-( I guess that the Windows widgetset lacks proper hit test. DoDi
Hans-Peter Diettrich wrote 9 lines
Frank Church schrieb: > When I right-click on a tab in the source editor in Linux, I get a menu > which allows me to jump to the file I want. > > It doesn't work that way in the Windows version. Right :-( I guess that the Windows widgetset lacks proper hit test.

No, only gtk & gtk2 widgetsets have popup menu with tab names in it, others not. We already discussed about this: or disable this gtk menu, or provide tabs popup menu for ide, hit test is ok.

zeljko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111003/f92f2265/attachment.html>

Reply by email

zeljko
to Mattias Gaertner: On Mon, 03 Oct 2011 00:40:48 +0200 Do you mean the gtk feature should be emulated on all…
Mattias Gaertner wrote 18 lines
On Mon, 03 Oct 2011 00:40:48 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > On Sun, 2 Oct 2011 13:35:48 +0100 > > > > Frank Church wrote: > >> When I right-click on a tab in the source editor in Linux, I get a > >> menu which allows me to jump to the file I want. > > > > This is a gtk feature, not a LCL feature. > > It's a gtk option, the menu still has to be populated by the LCL. I see > no special problem in making the control catch right clicks on the tab > area, before they trigger the normal context popup. Do you mean the gtk feature should be emulated on all platforms? By whom, the LCL or the IDE?

Already discussed, I think that only IDE should emulate this, or we can disable popup menu of gtk tab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111003/39cb8501/attachment-0001.html>

Reply by email

Unknown author
to zeljko
zeljko wrote 22 lines
On Monday 03 of October 2011 00:24:50 Mattias Gaertner wrote: > On Mon, 03 Oct 2011 00:40:48 +0200 > > Hans-Peter Diettrich wrote: >> Mattias Gaertner schrieb: >>> On Sun, 2 Oct 2011 13:35:48 +0100 >>> >>> Frank Church wrote: >>>> When I right-click on a tab in the source editor in Linux, I get a >>>> menu which allows me to jump to the file I want. >>> >>> This is a gtk feature, not a LCL feature. >> >> It's a gtk option, the menu still has to be populated by the LCL. I see >> no special problem in making the control catch right clicks on the tab >> area, before they trigger the normal context popup. > > Do you mean the gtk feature should be emulated on all platforms? > By whom, the LCL or the IDE? Already discussed, I think that only IDE should emulate this, or we can disable popup menu of gtk tab don't !

I use this feature extensively, and I sorely miss it in Win32 :/

Michael.

Reply by email