View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002776 | ardour | bugs | public | 2009-07-12 00:31 | 2020-04-19 20:14 |
| Reporter | nedko | Assigned To | paul | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.8.1 | ||||
| Summary | 0002776: splash problem with ion3 | ||||
| Description | Splash screen misbehaves with ion3 full screen workspace | ||||
| Additional Information | The attached patch fixes the problem for me. It adds environment variable that can tweak the behaviour because override redirect seems to confuse metacity. | ||||
| Tags | No tags attached. | ||||
|
2009-07-12 00:31
|
ardour-2.8.1-splash-redirect.patch (1,042 bytes)
diff --git a/gtk2_ardour/splash.cc b/gtk2_ardour/splash.cc
index dc30ed4..f79ebdc 100644
--- a/gtk2_ardour/splash.cc
+++ b/gtk2_ardour/splash.cc
@@ -66,8 +66,20 @@ void
Splash::on_realize ()
{
Window::on_realize ();
- get_window()->set_decorations (Gdk::WMDecoration (0));
- /* get_window()->set_override_redirect(true);*/
+
+ // Without override redirect, splash screen has redraw problems with ion3.
+ // With override redirect, it is not properly on top with some other
+ // popular (metacity for example) window managers.
+ // Maybe setting override redirect and something else (like the splash wm hint)
+ // will make the splash to work for everybody
+ // Override redirect only does not work on OS X too.
+ // Until we find solution that works for everybody this env var kludge is used
+ if (getenv ("ARDOUR_USE_OVERRIDE_REDIRECT_SPLASH") != 0) {
+ get_window()->set_override_redirect (true);
+ } else {
+ get_window()->set_decorations (Gdk::WMDecoration (0));
+ }
+
layout->set_font_description (get_style()->get_font());
}
|
|
|
committed |
|
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-07-12 00:31 | nedko | New Issue | |
| 2009-07-12 00:31 | nedko | File Added: ardour-2.8.1-splash-redirect.patch | |
| 2009-07-20 15:42 | paul | Status | new => assigned |
| 2009-07-20 15:42 | paul | Assigned To | => paul |
| 2009-10-01 17:53 | paul | cost | => 0.00 |
| 2009-10-01 17:53 | paul | Note Added: 0006673 | |
| 2009-10-01 17:53 | paul | Status | assigned => resolved |
| 2009-10-01 17:53 | paul | Resolution | open => fixed |
| 2020-04-19 20:14 | system | Note Added: 0021952 | |
| 2020-04-19 20:14 | system | Status | resolved => closed |