[Deluge] #3419: UI Does Not Retain Positioning

14 views
Skip to first unread message

Deluge

unread,
Aug 2, 2020, 3:21:35 PM8/2/20
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
----------------------------+--------------------
Reporter: davidhart | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: GTK UI
Version: 2.0.3 | Keywords:
----------------------------+--------------------
This is '''not''' a critical issue.

When opening deluge the bottom panel is extremely short; displaying only
the first two lines of Status.

The expectation is that, if I raise the panel to show every item in the
menu, from Status to Stats, the positioning will be retained.

On a new session Deluge reverts back to the very short panel.

Distro=Fedora 32

Desktop=KDE plasma

Package via RPM

Packages installed:
deluge-2.0.3-7.fc32.noarch

deluge-console-2.0.3-7.fc32.noarch

deluge-images-2.0.3-7.fc32.noarch

deluge-daemon-2.0.3-7.fc32.noarch

deluge-gtk-2.0.3-7.fc32.noarch

deluge-common-2.0.3-7.fc32.noarch

deluge-web-2.0.3-7.fc32.noarch

Command line=deluge-gtk (same result with simply deluge)

Toy=Intel i7 based Dell laptop

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Aug 2, 2020, 3:22:01 PM8/2/20
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+----------------------------
Reporter: davidhart | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------
Changes (by davidhart):

* Attachment "Screenshot_20200802_152027.jpg" added.

Deluge

unread,
Feb 27, 2021, 3:31:40 PM2/27/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+----------------------------
Reporter: davidhart | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------

Comment (by MotoFckr9k):

Same issue here on Linux mint 19.3 with Cinnamon
This is fairly new and hasn't been happening in the latest 1.x.x version.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:1>

Deluge

unread,
Feb 28, 2021, 11:09:22 AM2/28/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+----------------------------
Reporter: davidhart | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------

Comment (by Cas):

I am not seeing any issue on Ubuntu but I can see your system is KDE
based.

What is the config value for `tabsbar_position`? Check with:

{{{
grep tabsbar_position ~/.config/deluge/*.conf
> ~/.config/deluge/gtk3ui.conf: "tabsbar_position": 367,
}}}

Is the config value changing/updating when closing?

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:2>

Deluge

unread,
Feb 28, 2021, 11:13:38 AM2/28/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+----------------------------
Reporter: davidhart | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------

Comment (by MotoFckr9k):

Replying to [comment:2 Cas]:


> I am not seeing any issue on Ubuntu but I can see your system is KDE
based.
>
> What is the config value for `tabsbar_position`? Check with:
>
> {{{
> grep tabsbar_position ~/.config/deluge/*.conf
> > ~/.config/deluge/gtk3ui.conf: "tabsbar_position": 367,
> }}}
>
> Is the config value changing/updating when closing?

On my system it is changing live and stays right when closing and even
when opening, but the bottom panel still "resets". It seems to just not
abide to that value.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:3>

Deluge

unread,
Feb 28, 2021, 12:55:05 PM2/28/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+----------------------------
Reporter: davidhart | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------

Comment (by Cas):

Will need a lot more information to determine if this is a Deluge or GTK
on KDE issue.

* What actual values are you seeing? Note the pixel values are the Torrent
view height to the Tab bar.
* How do the value compare to the window size?
* Does the sidebar retain it's position? It is configured in the same way
as the Tab bar

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:4>

Deluge

unread,
Feb 28, 2021, 1:42:01 PM2/28/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+----------------------------
Reporter: davidhart | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------
Changes (by Cas):

* Attachment "test_paned.py" added.

Deluge

unread,
Feb 28, 2021, 1:43:30 PM2/28/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+----------------------------
Reporter: davidhart | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------

Comment (by Cas):

I have attached a demo Gtk app with paned setup as per Deluge, can you
test if this works. Run it from console with `python3 test_paned.py`

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:5>

Deluge

unread,
Feb 28, 2021, 10:20:42 PM2/28/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+----------------------------
Reporter: davidhart | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------

Comment (by MotoFckr9k):

Replying to [comment:4 Cas]:


> Will need a lot more information to determine if this is a Deluge or GTK
on KDE issue.
>

Keep in mind that this is *not* on KDE. I am a different person than the
one that originally opened the issue. I am on Cinnamon which is much
closer to Gnome than KDE.


> * What actual values are you seeing? Note the pixel values are the
Torrent view height to the Tab bar.

In my case the value makes sense in relation to the window and monitor
resolution. "1086" is what would be ideal for me and I can set it to that
as well.


> * How do the value compare to the window size?

The value gets affected by the window size. Making the window very small
lowers the value accordingly.


> * Does the sidebar retain it's position? It is configured in the same
way as the Tab bar

The sidebar *does* actually retain its position and doesn't seem affected
by the same issue.

The test_paned.py demo app works fine. (Except for the side tab which
doesn't seem implemented) Reopening the app retains the new tab bar
position every time.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:6>

Deluge

unread,
Feb 28, 2021, 10:34:54 PM2/28/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+----------------------------
Reporter: davidhart | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+----------------------------

Comment (by MotoFckr9k):

Update: Apparently the issue isn't 100% reliable. Right after doing that
last test, I tried to see if it was related to the window being maximized.
It seems to be related *somehow*.

When resizing the tab bar in a non-maximized window, it retains it
position fine. If I then maximize the window again, restarting seems to
walk the tab bar down in steps that seem to depend on the difference
between the maximized and the non-maximized window.

Maybe Deluge is being started as a non-maximized window, then immediately
maximized by the window manager and then over-compensates for being
maximized? Just talking out of my ass here.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:7>

Deluge

unread,
Mar 1, 2021, 3:30:34 PM3/1/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+-------------------
Reporter: davidhart | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0.4

Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+-------------------
Changes (by Cas):

* milestone: needs verified => 2.0.4


Comment:

Thanks for the updates, I think you are right that the maximizing of the
window is having an effect here. I can replicate by maximizing the window,
adjust the tab bar height then close and reopen Deluge to find the tab bar
height at it's minimum.

I also notice that the maximized state is not stored correctly such that
unmaximizing and closing restores it maximized. Retaining the window size
and position is such a pain!

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:8>

Deluge

unread,
Mar 1, 2021, 8:25:35 PM3/1/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+-------------------
Reporter: davidhart | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0.4

Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+-------------------

Comment (by MotoFckr9k):

Replying to [comment:8 Cas]:

> I also notice that the maximized state is not stored correctly such that
unmaximizing and closing restores it maximized.

In my case it seems to only store the unmaximization if the unmaximized
window size is significantly smaller than the maximized size.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:9>

Deluge

unread,
Mar 1, 2021, 8:26:12 PM3/1/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+-------------------
Reporter: davidhart | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0.4

Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+-------------------

Comment (by MotoFckr9k):

Replying to [comment:8 Cas]:

> I also notice that the maximized state is not stored correctly such that
unmaximizing and closing restores it maximized.

In my case it seems to only store the unmaximization if the unmaximized
window size is significantly smaller than the maximized size.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3419#comment:10>

Deluge

unread,
Mar 2, 2021, 4:22:31 AM3/2/21
to delug...@googlegroups.com
#3419: UI Does Not Retain Positioning
------------------------+-------------------
Reporter: davidhart | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.0.4

Component: GTK UI | Version: 2.0.3
Resolution: | Keywords:
------------------------+-------------------

Comment (by Cas):

After narrowing down the problem, it is a Gtk bug specifically when
restoring maximized application the paned tabbar position is reset. The
related issue:

https://gitlab.gnome.org/GNOME/gtk/-/issues/1959

There might be a workaround for Deluge to implement but will need to look
into it further

Reply all
Reply to author
Forward
0 new messages