mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
3.4.0 alpha: Icons in Options dialog are messed up #4029
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#4029
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @naikel on GitHub (Mar 8, 2016).
I can't find a way to fix it and I played with a lot of the options in the QtCreator. But right now this is how the options dialog looks since some commits ago:
And I can't understand why they are left to right instead of top to bottom. I'm compiling master branch against Qt 5.5.1.
@Chocobo1 commented on GitHub (Mar 8, 2016):
FYR:
github.com/qBittorrent/qBittorrent@1c25603686Your desktop environment?
@naikel commented on GitHub (Mar 8, 2016):
I'm using XFCE4.
@naikel commented on GitHub (Mar 8, 2016):
Also if I open the Qt Creator without modifying anything and open the options.ui file looks like this:
So I would think this happens in every platform with Qt 5.5.1... I haven't compiled it for Windows but 85% sure it happens on Windows too.
@Chocobo1 commented on GitHub (Mar 8, 2016):
Cannot reproduce here.
This is how it looks like in archLinux w/ cinnamon:
Can you try any commit before
1c25603?@sledgehammer999
Aren't you using xfce too, can you take a look?
@Chocobo1 commented on GitHub (Mar 8, 2016):
And the relevant options in Qt creator/designer are:
QListView::flow = TopToBottom,QListView::viewMode = IconMode@naikel commented on GitHub (Mar 9, 2016):
@Chocobo1 what version of Qt do you have? Because I compiled master in another host using Qt 4.8.6 and this bug doesn't happen. It looks like it is not compatible with Qt 5.5.1
@naikel commented on GitHub (Mar 9, 2016):
Tests with Qt 5.5.1:
Compiled master branch at
aa246f0(one commit before1c25603): Dialog icons look fine.Compiled master branch at
1c25603(the commit referenced above): Dialog icons look messed up.So that's definitely the commit that doesn't work with Qt 5.5.1.
EDIT: By the way I loved your work when I saw it on Qt 4.8.6. It definitely looks nicer. I hope you could reproduce it in Qt 5.5.1
@Chocobo1 commented on GitHub (Mar 9, 2016):
Qt 5.5.1 here.
I actually tested that commit on Windows & arch linux. I incline to say the culprit is at xfce.
Qt 5.6 should be released in this month, lets see if that changes anything.
Thank you!
@sledgehammer999 commented on GitHub (Mar 9, 2016):
Nope. I just tested with xfce4 on a VM (debian sid). Latest master works.
@naikel I suppose you're doing clean builds, right?
make cleansometimes leaves leftover files. It is best to to delete the build dir yourself.@naikel commented on GitHub (Mar 9, 2016):
I'm doing clean builds all the time. I'm also on Debian sid (unstable) with Qt 5.5.1+dfsg-6. This is so weird. I'm gonna upgrade to 5.5.1+dfsg-16 to see if it makes any difference, though it shouldn't.
@sledgehammer999 commented on GitHub (Mar 9, 2016):
I am waiting for this.
Also try unsetting the "flow" property of the
tabSelectionwidget. Does it work?What happens if you set it to
LeftToRight?@naikel commented on GitHub (Mar 9, 2016):
No dice with the newest 5.5.1 Qt package of Debian sid for me.
This happens when I change it to
LeftToRight:This happens if I change to
ListMode:And, this happens if I change
selectionRectVisibletofalsebut then it doesn't look cool like it does when I compile it with Qt 4.8.6:Ideas?
@zywo commented on GitHub (Mar 10, 2016):
The issue doesn't happen on ubuntu 15.10, master branch compiled with qt4 4.8.6 and qt5 5.4.2.
But I can reproduce it on ubuntu 16.04 installed in VM, with both qt4 4.8.7 and qt5 5.5.1.
The commit
aa246f0is not affected as said by @naikelTested under Unity and Gnome DEs.
@Chocobo1 commented on GitHub (Mar 10, 2016):
Can anyone try this:
uncheck
isWrapping: pic@zywo commented on GitHub (Mar 10, 2016):
@Chocobo1
EDIT: sorry.
@naikel commented on GitHub (Mar 10, 2016):
Unchecking
isWrappingdoesn't work for me.@zywo commented on GitHub (Mar 10, 2016):
Yes, it worked for me on qtcreator. But after compilation, I get this behavior:

@sledgehammer999 commented on GitHub (Mar 10, 2016):
There's something weird with Qt. You tell it LeftToRight and it makes it vertical, while TopToBottom makes it horizontal. Plus all the other issues you report trying various other options.
In case we don't find the actual issue here, I'll revert the commit for v3.3.4. It will be a nightmare if users come complaining here for this.
@Chocobo1 commented on GitHub (Mar 10, 2016):
Looks like I'll have to try ubuntu 16.04 + unity myself.
Are you going to release 3.3.4 ?
@Chocobo1 commented on GitHub (Mar 11, 2016):
@naikel, @zywo
Please try PR #4939.
@zywo commented on GitHub (Mar 11, 2016):
@Chocobo1
Your PR solves the problem. Tested on Ubuntu 16.04 under Unity and Gnome with qt4 4.8.7 and qt5 5.5.1.
@naikel commented on GitHub (Mar 11, 2016):
PR #4939 works indeed but looks like it has always looked. That means when an icon is selected, the selection only highlights the text and not the whole rectangle.
But it works.