Open indicozy opened 3 years ago
I'm trying to execute "com.github.libredeb.lightpad', but it sends this message:
(com.github.libredeb.lightpad:43404): Gdk-CRITICAL **: 18:25:23.757: gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed ** Message: 18:25:23.757: Application.vala:61: The monitor dimensions are: 0x0 ** Message: 18:25:23.757: Application.vala:77: The apps icon size is: 24 ** (com.github.libredeb.lightpad:43404): ERROR **: 18:25:23.757: DesktopEntries.vala:32: Initialization of the GMenu.Tree failed: Failed to look up menu_file for "applications.menu" zsh: trace trap (core dumped) com.github.libredeb.lightpad
I tried to change the code as you have suggested in the Issue #18, however it didn't work out:
Gdk.Monitor monitor = get_display ().get_primary_monitor () ?? get_display ().get_monitor (0); //Gdk.Rectangle pixel_geo = monitor.get_geometry (); // get_geometry() returns "device pixels", but we need "application pixels". monitor_dimensions.width = 1366 / monitor.get_scale_factor (); monitor_dimensions.height = 768 / monitor.get_scale_factor ();
My config:
Hi, yes... this issue is related to the last merge of code. The Issue #18 is very similar.
Let me try to reproduce this scenario to debug this behavior. Thanks to you for contributing!
I'm trying to execute "com.github.libredeb.lightpad', but it sends this message:
I tried to change the code as you have suggested in the Issue #18, however it didn't work out:
My config: