Drawer height still broken

Bug #1301488 reported by Stefan Taferner
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Drawers
Fix Released
Undecided
Unassigned

Bug Description

In 50% of all cases drawers open with wrong heigth. Then only half of the icons are visible.

This bug exists since 13.04, if I am not mistaken, and is still (in early 14.04) not fixed. Using the PPA does not fix the problem. I wonder why I paid money for this little application when it is not even properly supported.

Revision history for this message
icb410 (ian-berke) wrote :

Please provide more debugging information. I can not reproduce this, which is why it has never been addressed. Please post the output from a faulty Drawer when you run from a terminal using the following command:

/opt/extras.ubuntu.com/drawers/bin/drawers -d -f ~/.local/share/applications/YOURDRAWER.desktop

Please also include the contents of the file in ~/.local/share/applications/YOURDRAWER.desktop, and ~/.config/drawers/YOURDRAWER.conf (if it exists)

Revision history for this message
Stefan Taferner (taferner) wrote :

Bogous run. See attached screenshot.

$ /opt/extras.ubuntu.com/drawers/bin/drawers -d -f .local/share/applications/Spiele.desktop
Debugging messages on
Read config
intializing config
Local settings False
File: .local/share/applications/Spiele.desktop
Addfiles:
Detected 1 monitors
Getting iconsize from GSettings
number of items: 8

(drawers:3756): Gtk-WARNING **: Theme parsing error: <data>:3:126: Not using units is deprecated. Assuming 'px'.

(drawers:3756): Gtk-WARNING **: Theme parsing error: <data>:9:79: Not using units is deprecated. Assuming 'px'.
Loading Teamspeak icon from file:/home/stefan/Icons/Teamspeak-3.png
Loading Birds Town icon from file:/home/stefan/.PlayOnLinux//icones/full_size/Birds Town
Loading Kerbal Space Program icon from file:/home/stefan/Icons/Games/KerbalSpaceProgram_128.png
Loading Cities XL icon from file:/home/stefan/Icons/Games/Cities XL.png
Loading Guild Wars 2 icon from file:/home/stefan/.PlayOnLinux//icones/full_size/Guild Wars 2
Loading Starbound icon from file:/home/stefan/Icons/Games/Starbound_3.png
Screen Width: 1920
Autolayout, Max Icons: 15
Calculated size: 1590
Number of columns: 8
960
128
window resizes? True
resizing 788,171
resized
Lost focus so quitting
Quitting...

Revision history for this message
Stefan Taferner (taferner) wrote :

Successful run. See attached screenshot.
Output is identical to bogous run.

$ /opt/extras.ubuntu.com/drawers/bin/drawers -d -f .local/share/applications/Spiele.desktop
Debugging messages on
Read config
intializing config
Local settings False
File: .local/share/applications/Spiele.desktop
Addfiles:
Detected 1 monitors
Getting iconsize from GSettings
number of items: 8

(drawers:3751): Gtk-WARNING **: Theme parsing error: <data>:3:126: Not using units is deprecated. Assuming 'px'.

(drawers:3751): Gtk-WARNING **: Theme parsing error: <data>:9:79: Not using units is deprecated. Assuming 'px'.
Loading Teamspeak icon from file:/home/stefan/Icons/Teamspeak-3.png
Loading Birds Town icon from file:/home/stefan/.PlayOnLinux//icones/full_size/Birds Town
Loading Kerbal Space Program icon from file:/home/stefan/Icons/Games/KerbalSpaceProgram_128.png
Loading Cities XL icon from file:/home/stefan/Icons/Games/Cities XL.png
Loading Guild Wars 2 icon from file:/home/stefan/.PlayOnLinux//icones/full_size/Guild Wars 2
Loading Starbound icon from file:/home/stefan/Icons/Games/Starbound_3.png
Screen Width: 1920
Autolayout, Max Icons: 15
Calculated size: 1590
Number of columns: 8
960
128
window resizes? True
resizing 788,171
resized
Lost focus so quitting
Quitting...

Revision history for this message
Stefan Taferner (taferner) wrote :

The .desktop file

Revision history for this message
Stefan Taferner (taferner) wrote :

Some more test observations:

- it happens randomly but at least around 50% of the time
- changing "close on focus loss" does not fix it
- changing "auto layout" does not fix it
- it happens for two different drawers
- the drawer's size is always small when the reminder dialog opens (see attached screenshot)
- setting reminder-num to 100000 with dconf-editor improves the situation, then it happens < 10% of the time

Revision history for this message
Michael Zaugg (AOI) (it-oas) wrote :

Same problem here. When starting a Drawer with two icons there is only one icon showed. Then I click on 'Settings' and without changeing someting on 'Close'. Now both icons are visible.
Them same with an other drawer containing 3 icons. When opening 2 of them are shown. The third is shown after → 'Settings' → 'Close'.

Debugging messages on
Read config
file read
intializing config
Local settings True
File: .local/share/applications/Appserver.desktop
Addfiles:
Detected 1 monitors
Checking if settings need to be migrated ...no
Checking if internal files need to be migrated ...no
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
Initializing unityshell options...done
getting
No position found in local config
Screen Width: 1600
Autolayout, Max Icons: 10
Calculated size: 1320
Number of columns: 2
number of items: 2
/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `PreferencesDialog' can't be set after construction
  Gtk.Window.__init__(self, type=type, **kwds)
using local settings
Using local settings: True
100
file read
ICONSIZE 32
Screen Width: 1600
Autolayout, Max Icons: 10
Calculated size: 1320
Number of columns: 2
Lost focus so quitting
Quitting...

Revision history for this message
icb410 (ian-berke) wrote :

This seems bizarre. Both runs are reporting the window as the correct size, but clearly they are not. I found a bug on upgrading to 13.10 that seemed to do this (it only showed the one icon like, but opening preferences and closing fixed window size like Michael is reporting), but I found a workaround and incorporated to the ppa. Guess it doesn't work on all systems. I'll investigate.

@Michael, Running the version from the ppa should at least give you more than one column.

Revision history for this message
richard wilson (rwilson57) wrote :

I have the same problem.
Just a wild guess...
I suspect that it happens with people who have upgraded from 13.10 to 14.04.
This is based on some other post that I saw people trying to copy settings.

It probably has to do with an OS configuration.
Symptoms:
Window is too short, if i click on an icon in the Applications, the next window is OK, if I click on the back window, the original window is OK. If I click on the settings inside the short window and then click reset, the window re-sizes correctly.

Bonus bug:
When I try to create a regular drawer and try to copy a Application shortcut, I get a star (similar to a browser shortcut)
Only once was I able to get an application inside a drawer, when I tried to copy a second application The first one converted to a star.

bottom line, Drawer does not work and is unusable for me. Nice idea.
BTW I have the $2.99 version.

Revision history for this message
richard wilson (rwilson57) wrote :

I installed the PPA version and the height issue went away.
Now I have a very long bar, that used to go to primary monitor, but now goes to secondary monitor.
This brings up another point, if you are trying to replicate, I have dual monitors, maybe that may be related.

I still can't add applications to a drawer, I get the star.
The application crashes well.

I gues I'll remove. the app since it's useless to me.

Revision history for this message
icb410 (ian-berke) wrote : Re: [Bug 1301488] [NEW] Drawer height still broken

Hi Richard,

Thanks for the big report. I'm not sure what's causing the resizing bug as
when I upgraded it worked fine.

Wrt the adding from dash, I hope to have a fix implemented this weekend. In
the meantime items can be added to drawer using the file manager and drag
and drop from /usr/share/applications

Ian

On Wednesday, May 21, 2014, richard wilson <email address hidden>
wrote:

> I have the same problem.
> Just a wild guess...
> I suspect that it happens with people who have upgraded from 13.10 to
> 14.04.
> This is based on some other post that I saw people trying to copy settings.
>
> It probably has to do with an OS configuration.
> Symptoms:
> Window is too short, if i click on an icon in the Applications, the next
> window is OK, if I click on the back window, the original window is OK. If
> I click on the settings inside the short window and then click reset, the
> window re-sizes correctly.
>
> Bonus bug:
> When I try to create a regular drawer and try to copy a Application
> shortcut, I get a star (similar to a browser shortcut)
> Only once was I able to get an application inside a drawer, when I tried
> to copy a second application The first one converted to a star.
>
> bottom line, Drawer does not work and is unusable for me. Nice idea.
> BTW I have the $2.99 version.
>
> --
> You received this bug notification because you are subscribed to
> Drawers.
> https://bugs.launchpad.net/bugs/1301488
>
> Title:
> Drawer height still broken
>
> Status in Drawers: Organize the Unity Launcher:
> New
>
> Bug description:
> In 50% of all cases drawers open with wrong heigth. Then only half of
> the icons are visible.
>
> This bug exists since 13.04, if I am not mistaken, and is still (in
> early 14.04) not fixed. Using the PPA does not fix the problem. I
> wonder why I paid money for this little application when it is not
> even properly supported.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/drawers/+bug/1301488/+subscriptions
>

Revision history for this message
icb410 (ian-berke) wrote : Re: [Bug 1301488] Re: Drawer height still broken

You can still add items to a drawer using the file manager and drag and
drop from /usr/share/applications
Fix should be implemented this weekend for adding from dash

On Wed, May 21, 2014 at 1:47 PM, richard wilson
<email address hidden>wrote:

> I installed the PPA version and the height issue went away.
> Now I have a very long bar, that used to go to primary monitor, but now
> goes to secondary monitor.
> This brings up another point, if you are trying to replicate, I have dual
> monitors, maybe that may be related.
>
> I still can't add applications to a drawer, I get the star.
> The application crashes well.
>
> I gues I'll remove. the app since it's useless to me.
>
> --
> You received this bug notification because you are subscribed to
> Drawers.
> https://bugs.launchpad.net/bugs/1301488
>
> Title:
> Drawer height still broken
>
> Status in Drawers: Organize the Unity Launcher:
> New
>
> Bug description:
> In 50% of all cases drawers open with wrong heigth. Then only half of
> the icons are visible.
>
> This bug exists since 13.04, if I am not mistaken, and is still (in
> early 14.04) not fixed. Using the PPA does not fix the problem. I
> wonder why I paid money for this little application when it is not
> even properly supported.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/drawers/+bug/1301488/+subscriptions
>

Revision history for this message
icb410 (ian-berke) wrote :

Fix was just released. Version 14.05. Please upgrade and test. Should fix height and adding apps from the dash.

Changed in drawers:
status: New → Fix Committed
Revision history for this message
Miguel (michael-rueegg) wrote :

I did a short test with 14.05 and the drawer is now showing correctly. Thanks Ian!

Debugging messages on
Read config
intializing config
Local settings False
File: /usr/share/applications/starter.desktop
Addfiles:
Detected 2 monitors
IndexError('list index out of range',)
('list index out of range',)
falling back to mouse position
number of items: 14

(drawers:15369): Gtk-WARNING **: Theme parsing error: <data>:3:126: Not using units is deprecated. Assuming 'px'.

(drawers:15369): Gtk-WARNING **: Theme parsing error: <data>:9:79: Not using units is deprecated. Assuming 'px'.
Number of columns: 8
840
186
window resizes? True
resizing 1286,229
resized
Quitting...

Revision history for this message
Seán Ó Séaghdha (seanos) wrote :

Is the "PPA version" mentioned here from your PPA Ian? Disappointed that this doesn’t just work after paying for it.

I'm on a fresh install of 14.04 and I get the same weird window sizes and I can't add from the dash.

Revision history for this message
icb410 (ian-berke) wrote :

Apologies Sean... Canonical has been a pain about updating the USC version, or at least it was before I gave up. It's why I updated the description line in the software center for people to just download the free version on the ppa. The ppa can be added to your sources list from command line like this:

sudo add-apt-repository ppa:ian-berke/ppa-drawers

Changed in drawers:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.