Search found 214 matches

by harkon
Wed Dec 14, 2022 4:20 pm
Forum: Applications - Feedback and Discussion
Topic: Scan to PDF tool for Linux (only Linux)
Replies: 22
Views: 17794

Re: Scan to PDF tool for Linux (only Linux)

Thanks for this @Kukulkan.

I will update my copy.
by harkon
Wed Apr 29, 2020 10:20 pm
Forum: Coding Questions
Topic: ListIconGadget speed
Replies: 10
Views: 3787

Re: ListIconGadget speed

Thanks Barry. I really appreciate it.
by harkon
Wed Apr 29, 2020 8:50 pm
Forum: Coding Questions
Topic: ListIconGadget speed
Replies: 10
Views: 3787

Re: ListIconGadget speed

Thanks Netmeastro, that worked 100%. The project is cross platform and Linux has no issues with loading that many items into a listview. Windows was limited to the max number of items in the listview so I needed to use listicon. Rolled your code into my project and boom, starts right up.

With ...
by harkon
Wed Apr 29, 2020 5:55 pm
Forum: Coding Questions
Topic: ListIconGadget speed
Replies: 10
Views: 3787

ListIconGadget speed

Hey guys. I've got a ListIconGadget I need to populate with 70,000 (give or take) items. I was using Listview for this, but it runs out of space and can't handle that many items.

In populating the items, it takes a really long time. It was faster in XP and Windows 7, but under Windows 10 it takes a ...
by harkon
Tue Nov 06, 2018 5:22 pm
Forum: Applications - Feedback and Discussion
Topic: Scan to PDF tool for Linux (only Linux)
Replies: 22
Views: 17794

Re: Scan to PDF tool for Linux (only Linux)

Thanks, probably the scanner driver. Either way, I just thought I'd relay the debug errors I was seeing.
by harkon
Tue Nov 06, 2018 4:33 pm
Forum: Applications - Feedback and Discussion
Topic: Scan to PDF tool for Linux (only Linux)
Replies: 22
Views: 17794

Re: Scan to PDF tool for Linux (only Linux)

Thanks Kukulkin.

When I execute the debug window throws me some errors;

[08:26:24] Waiting for executable to start...
[08:26:23] Executable type: Linux - x64 (64bit, Unicode)
[08:26:24] Executable started.
[08:26:39] [Debug] scanimage --device-name=hp3500:libusb:001:005 --batch --batch-start=1 ...
by harkon
Mon Dec 04, 2017 4:36 pm
Forum: Applications - Feedback and Discussion
Topic: Scan to PDF tool for Linux (only Linux)
Replies: 22
Views: 17794

Re: Scan to PDF tool for Linux (only Linux)

Thanks again. You are correct, the internet has many posts on the ScanJet3500C and sane. It's still a great too and points me in the right direction.

This scanner was free to me, so I can't complain. I do mostly run Windows in a VB VM along side my Mint host machine so it's not a problem, or at ...
by harkon
Fri Dec 01, 2017 9:22 pm
Forum: Applications - Feedback and Discussion
Topic: Scan to PDF tool for Linux (only Linux)
Replies: 22
Views: 17794

Re: Scan to PDF tool for Linux (only Linux)

Thanks for doing this. I've been looking for examples to get this done in Linux. Unfortunately it doesn't work for me. HP ScanJet 3500. I think this is common to sane and not anything with your code, but it's like after I am finished with a scan it seems like the scanner is left in an unusable state ...
by harkon
Thu Sep 07, 2017 11:39 pm
Forum: Linux
Topic: New window location
Replies: 13
Views: 5088

Re: New window location

*** Update ***
I've gotten nowhere on the screen centered issue or why programs compiled using GTK3 look different than those compiled using GTK2. This makes the forms editor good only as a guideline. That's still better than nothing, but not as dummy proof as under Windows. C'est la vie, no huge ...
by harkon
Fri Sep 01, 2017 2:53 pm
Forum: Linux
Topic: New window location
Replies: 13
Views: 5088

Re: New window location

Hi harkon,
I can confirm this behaviour, but with restriction.
Only certain (or one?) window manager are concerned.
On my Mint KDE with PB > 5.4 the Windows with #PB_Window_ScreenCentered are (in Linux terms) 'Screen'-centered. 'Screen' means the sum of both monitor-sizes.
On earlier PB-Versions ...
by harkon
Thu Aug 31, 2017 11:24 pm
Forum: Linux
Topic: New window location
Replies: 13
Views: 5088

Re: New window location

Drawing on WindowOutput don´t work at some functions with gtk3. Please use subsystem gtk2.

Or drawing on CanvasGadget...

Thanks. I am using gtk2 as a subsystem. That doesn't seem to make a difference for that problem specifically.

An additional note on this. When the PB IDE opens the splash ...
by harkon
Thu Aug 31, 2017 8:52 pm
Forum: Linux
Topic: New window location
Replies: 13
Views: 5088

Re: New window location

Any thoughts as to why it still wants to open centered on both screens, and how to get it not to do that?
This is a linux-setting and have nothing to do with pb!

Thanks again for your help.
The exact same code, compiled within minutes of each other, one with v5.31 and the other with v5.45LTS ...
by harkon
Thu Aug 31, 2017 7:50 pm
Forum: Linux
Topic: New window location
Replies: 13
Views: 5088

Re: New window location

Thanks for your help TS. I'm not sure how to use GTK2 vs. GTK3. When opening the window I am using only native PB code, so how do I make that native PB code use GTK2? I have noticed that in the compiler options there is the ability to specify the subsystem library. Simply putting "gtk2" (no quotes ...
by harkon
Thu Aug 31, 2017 6:28 pm
Forum: Linux
Topic: New window location
Replies: 13
Views: 5088

Re: New window location

This behavior is new to PB versions after 5.31.
You are using GTK3 per Default, the Default for PB5.31 is GTK2!

Change the subsystem to GTK2.

To be clear, everything works really well when compiled with PB5.31.

My understanding of the subsystems and system architecture is somewhat limited ...
by harkon
Thu Aug 31, 2017 5:32 pm
Forum: Linux
Topic: New window location
Replies: 13
Views: 5088

Re: New window location

I think I may have created a misunderstanding. The problem is not with the editor.

The problem is when I run the program I have created. It opens centered to both screens combined, not to the center of the primary screen.

The open window code looks like this;
OpenWindow(#Window_Loading, 537, 459 ...