Bug 11988 - M4rc installer diskdrake GUI window redraw problems
Summary: M4rc installer diskdrake GUI window redraw problems
Status: RESOLVED DUPLICATE of bug 13679
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: release_blocker major
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard: 5beta2
Keywords: NEEDINFO
: 12036 12053 12139 12143 (view as bug list)
Depends on:
Blocks: 11778
  Show dependency treegraph
 
Reported: 2013-12-14 20:26 CET by Martin Whitaker
Modified: 2015-03-17 16:04 CET (History)
9 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
screenshot showing second issue (267.40 KB, image/jpeg)
2013-12-15 10:37 CET, Martin Whitaker
Details
Screen shot of Mageia 4 beta 2 installer display issue. (24.57 KB, image/png)
2013-12-15 12:29 CET, PC LX
Details

Description Martin Whitaker 2013-12-14 20:26:13 CET
Description of problem:

Two problems:

1) After selecting custom partitioning, the partition bar is not drawn, so it is not possible to select a partition. Clicking on one of the filesystem type buttons causes the partition bar to be drawn, allowing further progress.

2) Selecting mount points for the partitions causes the GUI window to grow wider, but nothing is drawn outside the original size of the window. Eventually the buttons on the right hand side completely disappear, preventing further progress.

Note that the second problem prevents further progress with installation, so should be considered a release blocker.

Steps to Reproduce:
1. Start classic install on a machine with a large number of partitions
2. At partition stage, select custom install
3. Set mount points on existing partitions


Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2013-12-15 00:32:24 CET
you have specific hardware ? several harddrive ?

Assignee: bugsquad => thierry.vignaud

Comment 2 Martin Whitaker 2013-12-15 10:37:23 CET
Created attachment 4615 [details]
screenshot showing second issue

No special hardware, just a single hard disk. Attached is a screenshot showing the second problem. However, in getting this screenshot, I found the bug is not consistently reproducible; sometimes the window will be redrawn correctly, sometimes it will get redrawn later, sometimes it will just stay as shown.

P.S. The pink/green colour banding is real, not an artefact of the picture. Is this a known issue? I think it first appeared in Mageia 2.
Comment 3 PC LX 2013-12-15 12:29:38 CET
Created attachment 4617 [details]
Screen shot of Mageia 4 beta 2 installer display issue.

I've encounter a display issue in the installer that seems to be this another example of this bug.

The installer "window" stays anchored to the lower left corner for the entire installation.

CC: (none) => mageia

Comment 4 Thierry Vignaud 2013-12-20 17:46:42 CET
*** Bug 12053 has been marked as a duplicate of this bug. ***

CC: (none) => daniel_jackson

Comment 5 Thierry Vignaud 2013-12-20 18:00:47 CET
*** Bug 12036 has been marked as a duplicate of this bug. ***

CC: (none) => fri

Comment 6 Thierry Vignaud 2013-12-20 18:04:30 CET
This is bug #11790 striking again (dialog moving, sometimes partition buttons not showed)

Blocks: (none) => 11778

Comment 7 Thierry Vignaud 2013-12-28 22:11:02 CET
*** Bug 12139 has been marked as a duplicate of this bug. ***

CC: (none) => dvgevers

Dick Gevers 2013-12-28 23:49:07 CET

CC: dvgevers => (none)
Summary: M4B2 installer diskdrake GUI window redraw problems => M4rc installer diskdrake GUI window redraw problems
Whiteboard: (none) => 4RC

Comment 8 Thierry Vignaud 2013-12-29 11:33:56 CET
*** Bug 12143 has been marked as a duplicate of this bug. ***

CC: (none) => nelg

Comment 9 Frank Griffin 2014-01-15 14:34:09 CET
Possible dup of bug#9977 ?

CC: (none) => ftg

Comment 10 Frank Griffin 2014-01-15 19:21:46 CET
I'm seeing this in current cauldron, but only during install.

If you choose "Custom" disk configuration, when diskdrake opens the /dev/sda disk appears empty.  In my case, I have an /dev/sdb as well.  If you tab to that, it is populated normally, and if you tab back to /dev/sda then it is also populated normally.

Running diskdrake in a running system shows /dev/sda normally upon entry.
Comment 11 Barry Jackson 2014-01-16 21:40:30 CET
(In reply to Frank Griffin from comment #10)
> I'm seeing this in current cauldron, but only during install.
> 
> If you choose "Custom" disk configuration, when diskdrake opens the /dev/sda
> disk appears empty.  In my case, I have an /dev/sdb as well.  If you tab to
> that, it is populated normally, and if you tab back to /dev/sda then it is
> also populated normally.

Confirm same issue here using latest (13/1/2013) full DVD iso install on real h/w.

Also in other windows when it is required to select from a drop down list, (for example to select the boot drive in the summary -> boot option) the list does not appear on first click of the down arrow, a second click does work.

CC: (none) => zen25000

Comment 12 Mageia Robot 2014-01-16 21:49:32 CET
commit 54dd9e586b59fdacb54bcd2f78d29870d00b1f3e
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Thu Jan 16 21:48:40 2014 +0100

    do not show labels on partition buttons (mga#11988)
    
    should prevent window to move at install time
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=54dd9e586b59fdacb54bcd2f78d29870d00b1f3e
Comment 13 Mageia Robot 2014-01-20 02:00:39 CET
commit 7ddb042efd511f14bca865e0cca684367d7d6344
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Mon Jan 20 01:34:46 2014 +0100

    fix not moving window (mga#11790, mga#11988, mga#11977)
    
    regression introduced in commit fadc8b97ed98977bf264d87d62c33e779f299716
    
    sadly flickering may happen
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=7ddb042efd511f14bca865e0cca684367d7d6344

 Bug links:
   Mageia
      https://bugs.mageia.org/show_bug.cgi?id=11790
      https://bugs.mageia.org/show_bug.cgi?id=11988
      https://bugs.mageia.org/show_bug.cgi?id=11977
Comment 14 Thierry Vignaud 2014-01-20 02:34:29 CET
Please test current cauldron once it lands on your favorite mirror

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 15 Dick Gevers 2014-01-20 16:58:38 CET
IMO the diskdrake gui "problem" is fixed: it does not get detached from the main installer window, but slightly further on the desktop selection screen (choice of KDE/GNOME/Custom) can - by clicking a few times - get detached from the main installer window, so IMO effectively the same problem. But if you prefer we could write a new bug report and attach a screenshot.
Comment 16 Thierry Vignaud 2014-01-20 17:56:40 CET
That would be indeed another issue
Comment 17 Martin Whitaker 2014-01-20 23:37:44 CET
The partitioning window no longer grows in size, but it still jumps to the left hand edge of the screen.

Also, as I think I've seen in another bug report (but can't remember where), it still takes 3 attempts (mouse left button clicks) to get a drop-down list to open.
Comment 18 Barry Jackson 2014-01-21 13:19:34 CET
(In reply to Martin Whitaker from comment #17)

> Also, as I think I've seen in another bug report (but can't remember where),
> it still takes 3 attempts (mouse left button clicks) to get a drop-down list
> to open.

In my comment #11 ?
Comment 19 Martin Whitaker 2014-01-21 19:44:03 CET
(In reply to Barry Jackson from comment #18)
> In my comment #11 ?

Ah, yes. You can tell I didn't look very far ;-)
Comment 20 claire robinson 2014-01-23 16:38:56 CET
Seeing this in final isos build 2 from today. Specifically Classic DVD 32.

I noticed it when choosing existing partitions, just accidentally clicked the background and moved the mouse and the window detached. The contents were unaffected, just the window they are in detached from where it was supposed to be.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 21 Thierry Vignaud 2014-01-23 18:27:56 CET
Thas has nothing to do.
You did it "willingly"

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 22 Colin Guthrie 2014-01-27 13:37:12 CET
(In reply to claire robinson from comment #20)
> Seeing this in final isos build 2 from today. Specifically Classic DVD 32.
> 
> I noticed it when choosing existing partitions, just accidentally clicked
> the background and moved the mouse and the window detached. The contents
> were unaffected, just the window they are in detached from where it was
> supposed to be.

This is a WM setting AFAIK. I believe we're using matchbox again rather than mutter, so I thought this wouldn't happen now, but perhaps it's more fundamental than mutter vs matchbox. There should be some gtk setting somewhere to disable it IIRC.

CC: (none) => mageia

Comment 23 Thierry Vignaud 2014-01-27 21:22:07 CET
(In reply to Colin Guthrie from comment #22)
> This is a WM setting AFAIK. I believe we're using matchbox again rather than
> mutter, so I thought this wouldn't happen now, but perhaps it's more
> fundamental than mutter vs matchbox. There should be some gtk setting
> somewhere to disable it IIRC.

Olav, anu idea?

CC: (none) => olav

Comment 24 Martin Whitaker 2015-01-16 20:37:39 CET
Both problems described in my original report have reappeared in M5 beta 2.

Priority: Normal => release_blocker
Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 25 Mageia Robot 2015-02-17 23:43:43 CET
commit 32a9e3c6366361c1c6e6fce1594e2fc01da299ba
Author: unknown <ex.thierry.vignaud@...>
Date:   Thu Feb 12 15:38:30 2015 +0100

    switch to logarithm sizing of partition buttons
    
    instead of using a ratio to the total disk size in order to compute width
    share, we now  use the log of the partition size to the smallest one.
    
    this reduce the risk of having too small buttons, fixes several issues
    in the installer:
    - buttons being too big causing their box & thus the dialog to increase
      which triggers a gtk+ bug which makes the window to jump (mga#12422)
    - as well as several other related issues (mga#11988, mga#14839, mga#15272)
    
    (from Rosa but simplified)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=32a9e3c6366361c1c6e6fce1594e2fc01da299ba

 Bug links:
   Mageia
      https://bugs.mageia.org/14839
      https://bugs.mageia.org/15272
      https://bugs.mageia.org/12422
      https://bugs.mageia.org/11988
Comment 26 Mageia Robot 2015-02-19 10:31:55 CET
commit 1d57ba59bedf6fae41301720e71839eb91db3cce
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Thu Feb 19 09:41:04 2015 +0100

    use an horizontal scrolling bar when needed
    
    gtk+ sometimes doesn't respect our sizing which causes the container to
    enlarge (see previous commit)
    
    with previous commit, this reduce the risk of having too small buttons,
    and fixes several issues in the installer:
    - buttons being too big causing their box & thus the dialog to increase
      which triggers a gtk+ bug which makes the window to jump (mga#12422)
    - as well as several other related issues (mga#11988, mga#14839,
      mga#15272, mga#15264)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=1d57ba59bedf6fae41301720e71839eb91db3cce

 Bug links:
   Mageia
      https://bugs.mageia.org/14839
      https://bugs.mageia.org/15272
      https://bugs.mageia.org/12422
      https://bugs.mageia.org/15264
      https://bugs.mageia.org/11988
Comment 27 Thierry Vignaud 2015-02-19 10:37:26 CET
You can try Cauldron once your favorite mirror has this morning's installer (16.62).
Check install/stage2/VERSION
eg: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/install/stage2/VERSION
(not yet up to date)

Keywords: (none) => NEEDINFO

Comment 28 Rémi Verschelde 2015-03-07 21:46:22 CET
Last report about this were for 5beta2.
Martin, can you reproduce this issue in 5rc? The commits linked in comment 25 and 26 might have fixed this graphical issue too.

CC: (none) => remi
Whiteboard: 4RC => 5beta2

Comment 29 Martin Whitaker 2015-03-07 22:14:18 CET
(In reply to Rémi Verschelde from comment #28)
> Martin, can you reproduce this issue in 5rc? The commits linked in comment
> 25 and 26 might have fixed this graphical issue too.

I'll check when 5rc is out. But having patched 5beta3 with Thierry's various fixes, my observation is that the second problem (container growing as partition information is changed) is fixed, but the first problem (partition information not shown when window is first displayed) is still present.
Comment 30 David Walser 2015-03-17 16:04:22 CET
Multiple issues were discussed during this bug report, but the remaining issue that it appears to still be "about" is a duplicate of Bug 13679.  I'll close this one since it's more confusing at this point.

*** This bug has been marked as a duplicate of bug 13679 ***

Status: REOPENED => RESOLVED
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.