On Sat, Dec 10, 2016 at 08:50:11AM +0100, racoon wrote:
> On 10.12.2016 00:08, Scott Kostyshak wrote:
> > On Fri, Dec 09, 2016 at 10:21:49AM +0100, Jean-Marc Lasgouttes wrote:
> > > Le 09/12/2016 à 02:23, Scott Kostyshak a écrit :
> > > > > > Works for me (Linux Mint, Qt 4.8.6), so long as the icon is active 
> > > > > > (not
> > > > > > grayed out).
> > > > 
> > > > I think we should enable the context menu even if the icons are greyed
> > > > out. I think we discussed this elsewhere also. Do others agree?
> > > 
> > > I agree that we should, but is it something we have control on?
> > 
> > I don't know.
> > 
> > racoon do you have any ideas on this since you've worked a bit on the
> > toolbar code?
> 
> I wondered this before as well but could not find a setting for it. Seems to
> me like a bug of qt. But maybe it is as it should be according to their
> documentation?
> 
> One way to implement it manually might be (in the constructor of toolbars
> maybe?) to
> 
> 1. disable the default context menu for the toolbars
> 
> http://www.qtcentre.org/threads/7718-How-to-disable-context-menu-of-a-toolbar-in-QMainApplication
> 
> 2. add a custom event to the toolbar
> 
> Could this help? http://stackoverflow.com/a/4781437
> 
> Maybe these two things could be added to the constructor of a toolbar?
> 
> Sorry, not much of a help I guess.
> 
> Daniel

Thanks for the response, Daniel. It indeed seems non-trivial. I'm not
interested in spending the time myself to look into a fix. If it is a
bug of Qt, then I guess just waiting to see it is ever fixed seems like
an OK idea (at least it gives me an excuse to not work on it now).

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to