After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 707939 - The falling blocks do not pack nicely
The falling blocks do not pack nicely
Status: RESOLVED FIXED
Product: quadrapassel
Classification: Applications
Component: general
git master
Other Linux
: Normal critical
: ---
Assigned To: quadrapassel-maint
quadrapassel-maint
: 728683 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-09-11 21:12 UTC by Paul Smith
Modified: 2014-04-22 07:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ScreenshotProblem1 (68.74 KB, image/png)
2013-09-11 21:12 UTC, Paul Smith
Details
ScreenshotProblem2 (181.28 KB, image/png)
2013-09-11 21:13 UTC, Paul Smith
Details
DPI settings (41.98 KB, image/png)
2013-09-11 21:50 UTC, Paul Smith
Details
Screenshot of described Bug sent in from the mailing list (36.45 KB, image/png)
2013-09-14 11:21 UTC, Mario Wenzel
Details
Video showing the problem (part 1 of the split file) (1.00 MB, application/octet-stream)
2013-09-15 13:34 UTC, Paul Smith
Details
Video showing the problem (part 2 of the split file) (1.00 MB, application/octet-stream)
2013-09-15 13:36 UTC, Paul Smith
Details
Video showing the problem (part 3 of the split file) (634.79 KB, application/octet-stream)
2013-09-15 13:37 UTC, Paul Smith
Details

Description Paul Smith 2013-09-11 21:12:46 UTC
Created attachment 254739 [details]
ScreenshotProblem1

Problem1: The falling blocks do not pack nicely. A screen-shot is attached. 

Problem2: Moreover, when I maximize the Quadrapassel window, I get a black rectangle (where the falling blocks appear), which is larger than the game rectangle, and therefore one cannot see properly when a falling block hits the walls.

I am running Quadrapassel on Fedora 19.
Comment 1 Paul Smith 2013-09-11 21:13:35 UTC
Created attachment 254740 [details]
ScreenshotProblem2
Comment 2 Mario Wenzel 2013-09-11 21:25:49 UTC
The first issue looks interesting. I am using Fedora 19 as well and I do not have this problem. Could you give any more description about your setup? Anything that may have impact on the rendering?

Any DPI-Settings or GTK-Theme-settings you may have changed? Are you using proprietary graphics drivers?



The second issue is known and bugs me a lot and I am still thinking about a solution that works and somehow still looks presentable :)
Comment 3 Paul Smith 2013-09-11 21:50:13 UTC
Created attachment 254744 [details]
DPI settings
Comment 4 Paul Smith 2013-09-11 21:51:38 UTC
Thanks, Mario. I am using Quadrapassel on XFCE (theme: XFCE kolors) and, as far as I am aware, I am not using proprietary graphics drivers. I am including an attachment with my DPI settings and the like.
Comment 5 Mario Wenzel 2013-09-12 19:55:44 UTC
Thank you. I have yet to try Quadrapassel with XFCE.

There would be some more question I forgot to ask: If you execute quadrapassel via the terminal, there shouldn't be any output onto the console. Is this true for you executing quadrapassel or are there errors or warnings that could be helpful in determining the cause of the issue?

Does it occur only if the window is not maximized (because it is not visible on the maximized image but this is also a new game)? What happens if you resize the window?
Comment 6 Paul Smith 2013-09-14 09:32:45 UTC
Thanks, Mario. When I execute quadrapassel via the terminal, I get the following messages:

-------------------------
$ quadrapassel

(quadrapassel:3070): Gtk-WARNING **: Theme parsing error: gtk.css:67:18: Not using units is deprecated. Assuming 'px'.

(quadrapassel:3070): Gtk-WARNING **: Theme parsing error: gtk.css:67:20: Not using units is deprecated. Assuming 'px'.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
-------------------------

The issue occurs after resizing the window. I cannot tell you whether the problem shows up with the default window size, as I only noticed it after the windows was resized -- I cannot now restore the window original size.
Comment 7 Mario Wenzel 2013-09-14 11:21:54 UTC
Created attachment 254907 [details]
Screenshot of described Bug sent in from the mailing list

I didn't manage to reproduce this issue but someone on the mailing list did and my girfriend did, even if not reliably.

Both are using Fedora 19 with the default theme.

We checked and on my gf's machine no console output was shown, therefore I'd hazard the guess, that it has nothing to do with the console output shown above so there's nothing wrong with the window manager or theme you're using.

-----------------------------
This is what I seem to know so far:
* It happens when lines are removed
* it may repair itself if the next line is removed
* No console output regarding this bug is shown
* Theme settings don't have anything to do with it

I think I know where to look and I try to get a fix into 3.10.

The single thing I would think would now help me would be a video of a full game where this happens because I believe that the configuration of the blocks that are removed have something to do with it.
Comment 8 Michael Catanzaro 2013-09-14 13:35:04 UTC
(In reply to comment #6)
> (quadrapassel:3070): Gtk-WARNING **: Theme parsing error: gtk.css:67:18: Not
> using units is deprecated. Assuming 'px'.
> 
> (quadrapassel:3070): Gtk-WARNING **: Theme parsing error: gtk.css:67:20: Not
> using units is deprecated. Assuming 'px'.

The XFCE Kolors team might appreciate a bug report, but that's indeed unrelated.
Comment 9 Paul Smith 2013-09-14 14:48:31 UTC
Thanks again, Mario. I could provide the required video, but I do not know how to make that. Could you please tell me what program should I use to record the game into a video?

Michael: I will file a bug report for the XFCE Kolors team.
Comment 10 Mario Wenzel 2013-09-15 09:42:46 UTC
You can use "recordMyDesktop" for that, which should be in your repository, that should be fine.
Comment 11 Paul Smith 2013-09-15 13:34:02 UTC
Created attachment 254970 [details]
Video showing the problem (part 1 of the split file)
Comment 12 Paul Smith 2013-09-15 13:36:33 UTC
Created attachment 254973 [details]
Video showing the problem (part 2 of the split file)
Comment 13 Paul Smith 2013-09-15 13:37:13 UTC
Created attachment 254974 [details]
Video showing the problem (part 3 of the split file)
Comment 14 Paul Smith 2013-09-15 13:44:48 UTC
Thanks, Mario. The required video is attached. Please, notice that I had to split the file into 3 smaller files due to the file size limit of Bugzilla. Instructions to combine the files into a single one can be found at

https://fedoraproject.org/wiki/User:Jmbabich/Split?rd=JohnBabich/Split

I suspect that the problem is caused when the horizontal and the vertical borders between the black rectangle and the inner game rectangle have different thickness, that is, when one resizes the Quadrapassel window without keeping the aspect ratio unchangeable.
Comment 15 Mario Wenzel 2013-09-15 14:23:28 UTC
Thank you very much. I think I have identified the issue and I am very confident that it was caused by the "earthquake-effect" which shakes the game-view when lines are removed. If this animation were to be, for whatever reason (that I did not find), stopped midway, the blocks did not "snap" back.

I removed the earthquake-effect and instead made the blocks drop slower and somewhat realistically. This should look nice and presentable.

This issue has now (probably) been resolved in master and therefore in gnome-3.10. That is why I will mark this issue as fixed. Should you encounter this issue again in quadrapassel 3.10 or later (and I hope you won't), please open another issue or post in here again, so that it can be reopened.

Thank you very much, your help is greatly appreciated :)
Comment 16 Paul Smith 2013-09-16 16:35:05 UTC
Thanks, Mario. As soon as Quadrapassel lands on the Fedora repositories, I will post here whether the reported problems persists or not.
Comment 17 Mario Wenzel 2014-04-22 07:45:04 UTC
*** Bug 728683 has been marked as a duplicate of this bug. ***