[Bug 1401968] Re: GTK applications don't work anymore under unity8

2017-03-13 Thread Michał Sawicz
** Changed in: qtmir (Ubuntu)
   Importance: Undecided => Critical

** Changed in: qtmir (Ubuntu)
 Assignee: (unassigned) => Gerry Boland (gerboland)

** No longer affects: qtmir

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2016-06-17 Thread Daniel d'Andrada
** Changed in: qtmir
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2015-02-06 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/qtmir

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2015-02-06 Thread Launchpad Bug Tracker
This bug was fixed in the package qtmir - 0.4.4+15.04.20150206-0ubuntu1

---
qtmir (0.4.4+15.04.20150206-0ubuntu1) vivid; urgency=medium

  [ Gerry Boland ]
  * Explicitly setting GL-mode breaks GTK app rendering. Removing the
hack appears to just work (LP: #1401968)

  [ Michał Sawicz ]
  * Add moot autopkgtest to run the standard unit tests

  [ Albert Astals Cid ]
  * Fix demo shell import name

  [ Daniel d'Andrada ]
  * Don't suspend&resume the main stage app when switching focus from
side to main stage
 -- Ubuntu daily releaseFri, 06 Feb 2015 
10:23:19 +

** Changed in: qtmir (Ubuntu)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1401968] Re: GTK applications don't work anymore under unity8

2015-01-09 Thread Gerry Boland
Yeah, I'm puzzled. On desktop, configuring with -DUSE_OPENGLES=1 has
everything working. Qt is compiled with GL support on desktop, so this
fact confuses me. With that configure flag, Qt does notified it has a
GLES context, perhaps it is smart enough to then just use the right
shaders & commands. Or else MESA is being forgiving at switching between
GL and GLES.

Comparing the apitrace of the old qmake build versus a newer cmake
build, this is the main change:

- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0)
- glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 2048, 1024, 0, GL_BGRA, 
GL_UNSIGNED_BYTE, NULL)
+ glTexImage2D(GL_TEXTURE_2D, 0, GL_BGRA, 2048, 1024, 0, GL_BGRA, 
GL_UNSIGNED_BYTE, NULL)

Source of this line is the Scenegraph renderer:

void Atlas::bind(QSGTexture::Filtering filtering)

glTexImage2D(GL_TEXTURE_2D, 0, m_internalFormat, m_size.width(),
m_size.height(), 0, m_externalFormat, GL_UNSIGNED_BYTE, 0);

m_internalFormat is wrong after cmake change - it is GL_BGRA, which is
the default if a non-GLES context is current.

I compared the build commands between qmake and cmake: 
http://pastebin.ubuntu.com/9699667/
which shows me that the newer cmake is setting QT_USING_OPENGL and 
QTMIR_USE_OPENGL (as we'd expect), but qmake was not setting these. qmake 
worked, perhaps by accident

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2015-01-07 Thread Gerry Boland
** Changed in: qtmir
   Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2015-01-07 Thread Gerry Boland
** Branch linked: lp:~gerboland/qtmir/fix-GTK-rendering

** Changed in: qtmir
 Assignee: (unassigned) => Gerry Boland (gerboland)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2014-12-16 Thread Gerry Boland
Update with what I've got so far. qmake->cmake change did cause this,
mainly some subtlety with GL and GLES mixing has been broken.

Surprisingly If I build on desktop with -DUSE_OPENGLES=1, everything
works! So some build configuration needs changing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2014-12-15 Thread Gerry Boland
Seems the qmake->cmake transition broke this, digging into why

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2014-12-15 Thread Gerry Boland
** Changed in: qtmir
   Status: New => Triaged

** Changed in: qtmir (Ubuntu)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2014-12-12 Thread Sebastien Bacher
(gedit seems to have issues there but testing with eog works)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2014-12-12 Thread Sebastien Bacher
Downgrading qtmir to
https://launchpad.net/ubuntu/+source/qtmir/0.4.4+15.04.20141124-0ubuntu1
makes e.g eog run, that suggest that the issue is with that component
and not with mir or gtk

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1401968] Re: GTK applications don't work anymore under unity8

2014-12-12 Thread Gerry Boland
** Also affects: qtmir
   Importance: Undecided
   Status: New

** Changed in: qtmir
   Importance: Undecided => High

** Changed in: qtmir
   Importance: High => Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1401968

Title:
  GTK applications don't work anymore under unity8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtmir/+bug/1401968/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs