Hello Brett,
concerning:
> progress = new
> ProgressDialog(tr("Saving file..."),
>
>
> (QWidget*)parent());
>
> }
We typically, pass the parent in so the dialog inherit properties and center
itself inside the geometry of the window.
Without out getting too involved, we could in this case, either choose to
squash this particular dialog, or we could not send it a parent (send "0"
instead).
A more elaborate option would involve some investigation into how QT make the
decision to raise a window.
I'll look into this more tomorrow. I'm out of time today.
Sincerely,
Julie S.
--- On Tue, 2/1/11, Brett McCoy <[email protected]> wrote:
> From: Brett McCoy <[email protected]>
> Subject: Re: [Rosegarden-user] One small annoyance with RG 10.10
> To: "Julie S" <[email protected]>
> Cc: "rosegarden-devel" <[email protected]>
> Date: Tuesday, February 1, 2011, 4:23 PM
> These are the offending line in
> RosegardenDocument::saveDocumentActual()
>
> if (!autosave) {
>
> progress = new
> ProgressDialog(tr("Saving file..."),
>
>
> (QWidget*)parent());
>
> }
>
> Commenting them out makes the problem go away. I'll live
> with that
> until you find a less hackish way of doing it :-)
>
> On Tue, Feb 1, 2011 at 3:27 PM, Julie S <[email protected]>
> wrote:
> > Hello Brett,
> >
> > I think you guessed correctly. I believe this has to
> do with the progress bars.
> >
> > I can see where that might be annoying...hmmm
> >
> > I believe that progress dialog has the main window as
> its parent. So, that behavior makes sense....but I haven't
> investigated.
> >
> > I'll look into this tomorrow. IF this is so, maybe
> we can find a way to not raise the window the dialog is tied
> to. Again, hadn't investigated this though...so I don't
> really know the reason for the behavior.
> >
> > Sincerely,
> > Julie S.
> >
> >
> > --- On Tue, 2/1/11, Brett McCoy <[email protected]>
> wrote:
> >
> >> From: Brett McCoy <[email protected]>
> >> Subject: [Rosegarden-user] One small annoyance
> with RG 10.10
> >> To: "rosegarden-user" <[email protected]>
> >> Date: Tuesday, February 1, 2011, 3:01 PM
> >> If I am in the matrix editor or the
> >> notation editor and I save
> >> (Control-S or via the mouse), the main screen
> always pops
> >> to the top
> >> (or unminimizes), and then I have to manually
> switch back
> >> to my
> >> editing window. I don't see this behavior in
> previous
> >> versions of
> >> Rosegarden, just the latest (v. 10.10). Is this a
> result of
> >> the new
> >> progress dialogs or my window manager (Gnome +
> Metacity)? I
> >> can't
> >> remember... is there an option to turn off the
> progress
> >> dialogs?
> >>
> >> --
> >> Brett W. McCoy -- http://www.electricminstrel.com
> >>
> ------------------------------------------------------------------------
> >> "In the rhythm of music a secret is hidden; If I
> were to
> >> divulge it,
> >> it would overturn the world."
> >> -- Jelaleddin Rumi
> >>
> >>
> ------------------------------------------------------------------------------
> >> Special Offer-- Download ArcSight Logger for FREE
> (a $49
> >> USD value)!
> >> Finally, a world-class log management solution at
> an even
> >> better price-free!
> >> Download using promo code Free_Logger_4_Dev2Dev.
> Offer
> >> expires
> >> February 28th, so secure your free ArcSight Logger
> TODAY!
> >> http://p.sf.net/sfu/arcsight-sfd2d
> >> _______________________________________________
> >> Rosegarden-user mailing list
> >> [email protected]
> >> - use the link below to unsubscribe
> >> https://lists.sourceforge.net/lists/listinfo/rosegarden-user
> >>
> >
> >
> >
> >
>
>
>
> --
> Brett W. McCoy -- http://www.electricminstrel.com
> ------------------------------------------------------------------------
> "In the rhythm of music a secret is hidden; If I were to
> divulge it,
> it would overturn the world."
> -- Jelaleddin Rumi
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel