[kate] [Bug 409856] Crash on shortcut conflict when Escape key is bound to Quit

2019-07-18 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409856

--- Comment #4 from Michal Mutl  ---
Yes, I know why it works in dialogs, I just say that it's illogical in Quick
Open case.
Would it be problem to check whether Quick Open is opened and focused when Esc
is pressed and if so only close it and do not quit Kate?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409856] Crash on shortcut conflict when Escape key is bound to Quit

2019-07-18 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409856

--- Comment #2 from Michal Mutl  ---
(In reply to Christoph Cullmann from comment #1)
> Could you try the nightly installer?
> 
> https://binary-factory.kde.org/view/Windows%2064-bit/job/Kate_Nightly_win64/
> 
> I thought I have fixed such a crash (that happened on Linux, too) in the
> last weeks.

Yes, this build is ok regarding to crash. But behaviour is wrong. Esc key
should leave Quick Open but instead quits Kate. Yes Esc is assigned as Quit
shortcut, but in this case Esc should really leave Quick Open. The same when
user press Esc to leave e.g. configuration dialog. It also does not quit Kate
but only leaves dialog.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409856] New: Crash on shortcut conflict

2019-07-16 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409856

Bug ID: 409856
   Summary: Crash on shortcut conflict
   Product: kate
   Version: 19.04.2
  Platform: MS Windows
OS: MS Windows
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: application
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: michal.m...@mitec.cz
  Target Milestone: ---

SUMMARY
When Kate has assigned Esc key as shortcut for Quit then after Quick Open
activation when Esc key is pressed (to leave it) Kate crashes.

STEPS TO REPRODUCE
1. Assign Quit shortcut to Esc
2. Click on Quick Open
3. Press Esc

OBSERVED RESULT
Kate crashes with no error message

EXPECTED RESULT
Leave Quick Open

SOFTWARE/OS VERSIONS
Windows: 10 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] Main window does not remember its position.

2019-07-15 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

--- Comment #20 from Michal Mutl  ---
I called "craft kate" from craftenv and it succeeded after 30mins and took 4
GB. when I called "craft --compile kate" it failed because it did not find kate
repository. where can I set it?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] Main window does not remember its position.

2019-07-15 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

--- Comment #18 from Michal Mutl  ---
I tried to open CMakeLists.txt, compilation started but this error appeared:

CMake Error at C:\Repository\Kate\CMakeLists.txt:17 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 5.40.0) with any of the following names:

ECMConfig.cmake
ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.   

C:\Repository\Kate\CMakeLists.txt line 17

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] Main window does not remember its position.

2019-07-15 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

--- Comment #15 from Michal Mutl  ---
Well, Craft installed, Kate sources repository cloned. i'm using Visual Studio
2019 CE. How to make vs solution to set Kate project correctly?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] Main window does not remember its position.

2019-07-15 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

--- Comment #13 from Michal Mutl  ---
Well, get me some time :), I will notify you when i'm ready. Here?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] Main window does not remember its position.

2019-07-15 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

--- Comment #11 from Michal Mutl  ---
I found Kate very promising editor (being disgusted with native windows editors
on the market) so I would like to help you but C is not my native language, i'm
experienced  Delphi developer, I can read C but code writing is another
challenge. I don't know Kate architecture and also have no experience with
multi-platform coding yet (Windows native apps take my all time :))
So it would be long-term run to make me capable of writing confident code for
Kate. I can advise or point you to solutions but but direct coding is, i'm
afraid, out of my scope and capabilities now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] Main window does not remember its position.

2019-07-15 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

--- Comment #9 from Michal Mutl  ---
I'm afraid I have no experience with programming/building apps under Linux so I
must frankly say I don't dare to make any changes in Kate's sources :(

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] Main window does not remember its position.

2019-07-15 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

--- Comment #7 from Michal Mutl  ---
Windows size and position must be saved, of course, for any used resolution and
number of monitors, but it is nothing impossible.
Let us consider e.g. ini file to store this configuration.
Kate starts for the first time, user changes size and position and Kate saves
such record

[MainWindow]
Size(1366x1080x96)=500,1000
Pos(1366x1080x96)=10,10

Then user changes resolution to e.g. 1920x1080x120 (or connect another
monitor,changes only dpi etc). If Kate is running, no problem, user will
probably change size and position to reflect new screen size and dpi. Kate
simply saves new values and ini file now looks like this

[MainWindow]
Size(1366x768x96)=500,600
Pos(1366x768x96)=10,10
Size(1920x1080x120)=1000,800
Pos(1920x1080x120)=20,20

If user dos not change position manually, Kate either catches WMDPICHANGED and
WMDISPLAYCHANGE messages and saves its size and pos itself or saves these
values on its exit.

if Kate is started then it detects desktop size and dpi and looks for
appropriate record in ini file and restores its size and position. If record is
not found then Kate starts with default size and pos.

What do you think?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] Main window does not remember its position.

2019-07-14 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

--- Comment #5 from Michal Mutl  ---
Also I don't understand what is problem to remember window position in cfg file
or registry. It has nothing to do with Windows window manager. Any windows
application which needs to remember its window position does so. The you do
with size, so explain me why Windows window manager can be messed with position
restoring?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] Main window does not remember its position.

2019-07-14 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

--- Comment #4 from Michal Mutl  ---
It is critical, because if i change windows size and then position window to be
centered with new size, after new Kate start its window is positioned with new
size half-outside of the screen. 
Startup window size is too small so that resizing is needed to make working
reasonable. But user must reposition window all the time Kate is started. Very
annoying and non user friendly.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409677] New: Main window is not brought to front when file is opened from outside (e.g. via association click)

2019-07-10 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409677

Bug ID: 409677
   Summary: Main window is not brought to front when file is
opened from outside (e.g. via association click)
   Product: kate
   Version: 19.04.2
  Platform: MS Windows
OS: MS Windows
Status: REPORTED
  Severity: critical
  Priority: NOR
 Component: application
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: michal.m...@mitec.cz
  Target Milestone: ---

SUMMARY

Main window is not brought to front when file is opened from outside (e.g. via
association click). 

STEPS TO REPRODUCE
1. Associate Kate with txt files
2. Open Kate
3. Go to explorer, find any txt file and double-click

OBSERVED RESULT
File is opened in Kate but Kate is not brought to front (only its icon in
taskbat blinks)

EXPECTED RESULT
Kate should get focus and become front window

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 409675] New: Main window does not remember its position.

2019-07-10 Thread Michal Mutl
https://bugs.kde.org/show_bug.cgi?id=409675

Bug ID: 409675
   Summary: Main window does not remember its position.
   Product: kate
   Version: 19.04.2
  Platform: MS Windows
OS: MS Windows
Status: REPORTED
  Severity: critical
  Priority: NOR
 Component: application
  Assignee: kwrite-bugs-n...@kde.org
  Reporter: michal.m...@mitec.cz
  Target Milestone: ---

SUMMARY
Main window does not remember its position. 

STEPS TO REPRODUCE
1. Change windows size and position
2. Close app
3. Run app 

OBSERVED RESULT

Size is restored but window position not. It seems that top-left corner is set
to the same position regardless of position set by user.

EXPECTED RESULT

Window position should be restored to last set.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.