Bug 1368632 - Geany is compiled with GTK2 rather than GTK3 causing small icons on 4K screens
Summary: Geany is compiled with GTK2 rather than GTK3 causing small icons on 4K screens
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: geany
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-20 08:16 UTC by Matt Copperwaite
Modified: 2017-12-01 11:19 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-01 11:19:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Geany with correct icon sizing (100.76 KB, image/png)
2016-08-20 08:16 UTC, Matt Copperwaite
no flags Details
Geany with tiny icons (80.39 KB, image/png)
2016-08-20 08:20 UTC, Matt Copperwaite
no flags Details

Description Matt Copperwaite 2016-08-20 08:16:32 UTC
Created attachment 1192438 [details]
Geany with correct icon sizing

Description of problem:
On Hi-DPI (near 4K screens) Geany has tiny icons.

Version-Release number of selected component (if applicable):
Geant 1.27

How reproducible:
Open Geany

Steps to Reproduce:
1. Open Geany on a Hi-DPI screen such as on a MacBook

Actual results:
https://imgur.com/KAl46iC

Expected results:
http://imgur.com/xk7FeRO

Additional info:
I queried this with Geany https://github.com/geany/geany/issues/1097 and the response was that because the Geany package is compiled with GTK2 rather than GTK3. When I recompiled Geany with GTK3 the icons became the correct size.

Comment 1 Matt Copperwaite 2016-08-20 08:20:08 UTC
Created attachment 1192439 [details]
Geany with tiny icons

Comment 2 Dominic Hopf 2016-08-20 11:51:49 UTC
Thanks very much for reporting this, Matt. This is a quite known topic to us and we are aware of that Geany is still GTK2 for now. The reason for this is, that GTK3 isn't officially supported by all Geany Plugins at the time of writing this.

Of course, we could build a Geany with GTK3 for now, but that would bring the regressions, that we would have to disable some plugins which don't support GTK3 currently.

Our plan by now was to wait until GTK3 is there for the whole Geany universe, including any Plugins, and then update the stuff to GTK3 in a whole. Any patience until this happens is appreciated.

Comment 3 Matt Copperwaite 2016-08-21 07:56:27 UTC
Thanks for the update. I did just discover that some of my plugins didn't appear. Is there a bug open for this with the Geany people?

Comment 4 Dominic Hopf 2016-08-21 17:59:22 UTC
Could you go into more detail which plugins you are missing and where? You didn't find them via `dnf search <plugin>`?

Comment 5 Matt Copperwaite 2016-08-21 20:41:03 UTC
So they are installed via dnf, specifically I noticed the Add-ons plugin doesn't show up at the Plugin Manager screen, but there are normally a lot in there and now there are much fewer. But remember my setup is a little funny as I installed my GTK3 compiled version of 1.27 on top of the packaged GTK2 compiled version.

Comment 6 Dominic Hopf 2016-08-23 18:19:50 UTC
Most likely this is because of incompatibility issue between your newer Geany and the old Geany Plugins. Geany should state in the messages window that it has disabled the plugin because of that. You can try to rebuilt the current Geany Plugins 1.28 with GTK3 as well and it should get better. Or just be patient and wait for the update. :-)

Comment 7 Phil Baker 2017-03-09 18:59:24 UTC
This is also a problem affecting Fedora 25. 

I use a Copr repo that builds Geany with GTK3 support. It works great on my ThinkPad T560 with 3K screen and looks like a proper GNOME app.

https://copr.fedorainfracloud.org/coprs/rok/geany-gtk3/

However, the Copr version of Geany (GTK3) on my laptop gets overwritten every time a new update to Geany (GTK2) arrives in the official Fedora updates repo. If I don't catch it at dnf update time (which often happens), I end up with a busted GTK2 version of Geany. 

Short of allowing users to specify dnf package/repo overrides, it would be great if we could get the official version of Geany up to GTK3, even if it meant deprecating some plugins that are lagging behind. As is currently, Geany is a poor experience on hi-dpi screens.

Comment 8 Phil Baker 2017-03-09 19:12:38 UTC
It appears that the latest version of geany-plugins (1.30) includes GTK3 fixes. So it is possible that geany-plugins have improved GTK3 support than they did when this bug was initially filed in August 2016.

https://github.com/geany/geany-plugins/releases/tag/1.30.0

Comment 9 Dominic Hopf 2017-03-13 10:40:48 UTC
Greetings,

If I'd build current Geany Plugins 1.30 with GTK3 today at least the following plugins will not work (which means will not exist anymore in Fedora):

* debugger
* devhelp
* geanypy (This one will never be GTK3 compatible anyway!)
* multiterm
* scope

What I'd appreciate is more feedback if users would be able to really abdicate on these plugins. If I can be sure users can live with the abstinence of these plugins I'd just go ahead and build the GTK3 version of Geany and Geany Plugins.

What do you think how we could proceed here?

Comment 10 Matt Copperwaite 2017-03-13 13:23:43 UTC
Far be-it for me to represent all Geany users on Fedora but for me the only plugins that I find useful in particular is the Addon plugin.

I have previously used multiterm.

My feeling is to get the plugins working that currently work, with the intention to add the others when/if they are patched -- if possible.

Comment 11 Fedora End Of Life 2017-07-25 22:31:56 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 12 Dominic Hopf 2017-07-27 21:10:26 UTC
Thanks to the work of Rok in the above mentioned Copr repository I've now managed to start another try to build some GTK3 Geany stuff for Fedora (and the fact that I'm having some vacations currently is helping as well, actually).

So, currently there is a GTK3 build of Geany and Geany-Plugins available in Fedora Rawhide. But please note that there was need to disable the following plugins in favor of that: Debugger, GeanyPy, Multiterm and Scope.

With Markdown and Webhelper I've had some issues to actually find the proper webkitgtk package to depend on, thus, those two plugins are currently disabled as well. If anyone has an idea how to properly fix this, I'll be glad!

I think it's a good idea to leave the GTK3 version in the Rawhide branch for some time to receive users feedback for this how well this is going. If it looks good for some time I maybe will apply the changes for F26 as well.

Comment 13 Dominic Hopf 2017-12-01 11:19:43 UTC
Geany is GTK3 from Fedora 27 onwards.


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